👷 fix pr reply permission error (#2599)

This commit is contained in:
Kuitos 2023-08-17 11:11:16 +08:00 committed by GitHub
parent e04fa02bb6
commit ef32d9f168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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