Skip to content

Commit 2a1a819

Browse files
committed
Fix: Change contents permission to write for commit comments
The workflow needs 'contents: write' permission to create commit comments, not just 'contents: read'. Fixes: Resource not accessible by integration error when posting deployment status
1 parent cf8670d commit 2a1a819

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626

2727
# Required permissions for GitHub Deployments and Cloudflare Pages
2828
permissions:
29-
contents: read
29+
contents: write # Changed from read to write for commit comments
3030
deployments: write
3131
pull-requests: write
3232

0 commit comments

Comments
 (0)