Skip to content

Commit 36757d9

Browse files
fix(ci): grant commitlint workflow pull-requests:read permission
wagoid/commitlint-github-action calls the GitHub API to list a PR's commits. Without pull-requests:read it fails with: error trying to get list of pull request's commits / Resource not accessible by integration. Adding the permission unblocks dependabot PRs that hit this on the recreate. Mirrors the working config in Infra.BauxTP.com. Surfaced by /jc-coding-fleet-driver Phase D follow-up 2026-04-28.
1 parent c057272 commit 36757d9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/commitlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches: [main, master]
55
permissions:
66
contents: read
7+
pull-requests: read
78
jobs:
89
commitlint:
910
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)