Skip to content

Commit 81797ed

Browse files
the-maceclaude
andcommitted
Fix Dependabot auto-merge workflow permissions
Add checks: read permission to Dependabot Auto-Merge workflow to allow it to query check runs via the GitHub API. Changes: - Added checks: read to workflow permissions - Updated lewagon/wait-on-check-action from v1.3.4 to v1.4.1 This resolves: "403 - Resource not accessible by integration" error when the auto-merge workflow tries to query check-runs API. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3073a75 commit 81797ed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/dependabot-auto-merge.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
permissions:
88
contents: write
99
pull-requests: write
10+
checks: read
1011

1112
jobs:
1213
auto-approve:
@@ -54,7 +55,7 @@ jobs:
5455
github-token: "${{ secrets.GITHUB_TOKEN }}"
5556

5657
- name: Wait for CI checks
57-
uses: lewagon/wait-on-check-action@v1.3.4
58+
uses: lewagon/wait-on-check-action@v1.4.1
5859
with:
5960
ref: ${{ github.event.pull_request.head.sha }}
6061
check-name: 'All checks passed'

0 commit comments

Comments
 (0)