Skip to content

Commit

Permalink
Add pull request write permissions for workflow approvals
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
klutchell authored Oct 29, 2024
1 parent ded533f commit 5e07998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/yocto-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ env:
permissions:
id-token: write # This is required for requesting the JWT #https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#requesting-the-access-token
actions: read # We are fetching workflow run results of a merge commit when workflow is triggered by new tag, to see if tests pass
pull-requests: read # Required to fetch the PR that merged, in order to get the test results
pull-requests: write # Read is required to fetch the PR that merged, in order to get the test results. Write is required to create PR comments for workflow approvals.

jobs:
build:
Expand Down

0 comments on commit 5e07998

Please sign in to comment.