Skip to content

Commit b4f6a66

Browse files
committed
fix: add repository-projects read permission to post-dependabot workflow
Fixes "Resource not accessible by integration (organization.teams)" error when adding team reviewers to dependabot PRs with gh cli
1 parent 5cd29c3 commit b4f6a66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/post-dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
manage-pr-reviewers:
4646
permissions:
4747
pull-requests: write
48+
repository-projects: read
4849
runs-on: ubuntu-latest
4950
steps:
5051
- name: Add reviewers (obs-infraobs-integrations) if PR has Team:Obs-InfraObs label

0 commit comments

Comments
 (0)