Commit 75d168f
authored
Fix permissions for build-haf-tfa.yml (#1293)
## Description
Fix permissions for build-haf-tfa.yml
Fixes an issue where the release assets would fail to upload.
`HTTP 403: Resource not accessible by integration
(https://uploads.github.com/repos/microsoft/mu_tiano_platforms/releases/261590859/assets?label=&name=haf-tfa-firmware-v11.0.0.zip)`
- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?
## How This Was Tested
Tested on my fork by disabling Read and Write Permissions for Workflows
on my fork. It was set to Read and Write by default. Changed to only
Read permissions then performed the following test:
Tested the workflow on a test release to make sure it fails the upload
step. Failing run:
https://github.com/eeshanl/mu_tiano_platforms/actions/runs/20293867580/job/58283434736
Then tested again with this PR's commit by adding the Generate Token
step to the yml and the test succeeded.
https://github.com/microsoft/mu_tiano_platforms/actions/runs/20312966615/job/58348972808
Real test will be in main.
## Integration Instructions
N/A1 parent dc87bca commit 75d168f
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| |||
0 commit comments