Fix permissions issue.
This commit is contained in:
parent
8e46e68630
commit
043d20cb01
2 changed files with 6 additions and 0 deletions
3
.github/workflows/pull_request.yml
vendored
3
.github/workflows/pull_request.yml
vendored
|
|
@ -54,6 +54,9 @@ jobs:
|
|||
close-if-fork-develop:
|
||||
name: Forbid develop branch fork contributions
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
# Require to comment and close the PR.
|
||||
pull-requests: write
|
||||
if: >
|
||||
github.event.action == 'opened' &&
|
||||
github.event.pull_request.head.ref == 'develop' &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue