Skip to content

Commit 2b71afa

Browse files
authored
[GitHub] Add write permissions to filter_build job
Regarding some [filter_build jobs](https://github.com/sofa-framework/sofa/actions/runs/20313353699/job/58404539222) it appears that permission errors are thrown : ``` ❌ Failed to update status Status: 403 | Response: {"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/commits/statuses#create-a-commit-status","status":"403"} ❌ Failed to post comment to PR #5663 Status: 403 | Response: {"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/issues/comments#create-an-issue-comment","status":"403"} ```
1 parent 53cd4cc commit 2b71afa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/trigger-build-and-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ on:
6262
jobs:
6363
# Filter build handling : push in master, commits in PR, comments in PR and dispatch
6464
filter_build:
65+
permissions: write
6566
runs-on: ubuntu-latest
6667
if: ${{ github.repository_owner == 'sofa-framework' }}
6768
outputs:

0 commit comments

Comments
 (0)