|
96 | 96 | export GIT_CONFIG_VALUE_0="AUTHORIZATION: basic ${AUTH_B64}" |
97 | 97 | git fetch --no-tags --prune --depth 1 origin "${TRIGGER_REF}" |
98 | 98 | git checkout -q --detach FETCH_HEAD |
| 99 | + # Artifact composites are untracked fleet payload. Hydrate them here |
| 100 | + # so upload-artifact resolves; checkout:false keeps this revision. |
| 101 | + - name: 'Hydrate fleet Actions' |
| 102 | + uses: ./.github/actions/fleet/checkout |
| 103 | + with: |
| 104 | + checkout: 'false' |
| 105 | + payload-token-client-id: ${{ secrets.SOCKET_RELEASE_CLIENT_ID || vars.SOCKET_RELEASE_CLIENT_ID }} |
| 106 | + payload-token-private-key: ${{ secrets.SOCKET_RELEASE_APP_PRIVATE_KEY }} |
99 | 107 | # The baseline is a second copy of the action at the requested ref, in |
100 | 108 | # its own directory so `./` stays the candidate. |
101 | 109 | - name: 'Fetch the baseline action' |
@@ -211,6 +219,14 @@ jobs: |
211 | 219 | export GIT_CONFIG_VALUE_0="AUTHORIZATION: basic ${AUTH_B64}" |
212 | 220 | git fetch --no-tags --prune --depth 1 origin "${TRIGGER_REF}" |
213 | 221 | git checkout -q --detach FETCH_HEAD |
| 222 | + # Artifact composites are untracked fleet payload. Hydrate them here |
| 223 | + # so download-artifact resolves; checkout:false keeps this revision. |
| 224 | + - name: 'Hydrate fleet Actions' |
| 225 | + uses: ./.github/actions/fleet/checkout |
| 226 | + with: |
| 227 | + checkout: 'false' |
| 228 | + payload-token-client-id: ${{ secrets.SOCKET_RELEASE_CLIENT_ID || vars.SOCKET_RELEASE_CLIENT_ID }} |
| 229 | + payload-token-private-key: ${{ secrets.SOCKET_RELEASE_APP_PRIVATE_KEY }} |
214 | 230 | - name: 'Download the results' |
215 | 231 | uses: ./.github/actions/fleet/download-artifact |
216 | 232 | with: |
|
0 commit comments