Skip to content

Commit

Permalink
chore: Update the permissions for PR reporting. (#3007)
Browse files Browse the repository at this point in the history
* Update the permissions for PR reporting

Add contents:read - allows reading commits of the pr
Add checks:write - reports the status of the job on the pr
Add id-token:write permission
  • Loading branch information
musale authored Feb 2, 2024
1 parent 0317fc2 commit 744976d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr-reporting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:

permissions:
pull-requests: write
contents: read
id-token: write
checks: write

jobs:
pr_report:
Expand Down

0 comments on commit 744976d

Please sign in to comment.