👷 fix pr reply permission error (#2599)
This commit is contained in:
parent
e04fa02bb6
commit
ef32d9f168
2
.github/workflows/pr-checker.yml
vendored
2
.github/workflows/pr-checker.yml
vendored
|
|
@ -37,6 +37,8 @@ jobs:
|
||||||
check-merged:
|
check-merged:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: read-file
|
needs: read-file
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
if: contains(fromJSON(needs.read-file.outputs.require-result), github.event.pull_request.user.login) == false && github.event.pull_request.merged == true
|
if: contains(fromJSON(needs.read-file.outputs.require-result), github.event.pull_request.user.login) == false && github.event.pull_request.merged == true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions-cool/maintain-one-comment@v3
|
- uses: actions-cool/maintain-one-comment@v3
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user