Skip to content

Commit 6120303

Browse files
fix(commitlint): add pull-requests:read permission so wagoid action can fetch PR commits
The wagoid/commitlint-github-action requires `pull-requests: read` to call GitHub's API for the list of commits on the PR. Without it, the action errors with `Resource not accessible by integration` and the workflow fails opaquely. Fleet-propagated by /jc-coding-fleet-driver from the failure pattern observed on www.Stella-Maris.xyz#23 + Errors.CloudIngenium.com#23. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent fafa753 commit 6120303

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
@@ -5,6 +5,7 @@ on:
55
permissions:
66
contents: read
77
pull-requests: read
8+
pull-requests: read
89
jobs:
910
commitlint:
1011
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)