Skip to content

Commit

Permalink
Add pull-requests write permission to build job. (github action)
Browse files Browse the repository at this point in the history
This aims to resolve : Error: Resource not accessible by integration
  • Loading branch information
sbernard31 committed Jun 20, 2022
1 parent 577b1c8 commit fe18d83
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ on:
branches: [ "master" ]

jobs:
build:
build:
# To be able to write/remove comments on PR
permissions:
pull-requests: write

name : Code Check
runs-on: ubuntu-latest

Expand Down

0 comments on commit fe18d83

Please sign in to comment.