Skip to content

Commit 274ac78

Browse files
authored
.github: Use the GitHub app token to upload release assets (#1295)
## Description Commit 75d168f did not update the upload step to use the app derived token. - [ ] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested - Verified app permissions. Will test with release post-merge. ## Integration Instructions - N/A Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
1 parent 75d168f commit 274ac78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-haf-tfa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
- name: Upload Release Assets
8686
if: github.event_name == 'release'
8787
env:
88-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
8989
run: |
9090
gh release upload "${{ github.event.release.tag_name }}" "${RUNNER_TEMP}"/*.zip
9191
gh release upload "${{ github.event.release.tag_name }}" "${RUNNER_TEMP}"/*.tar.gz

0 commit comments

Comments
 (0)