From 6b4159e1969a1516c6052d26597756fce4109d70 Mon Sep 17 00:00:00 2001 From: Kuitos Date: Thu, 17 Aug 2023 11:44:01 +0800 Subject: [PATCH] fix: pr-checker permission --- .github/workflows/pr-checker.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pr-checker.yml b/.github/workflows/pr-checker.yml index 7e69423a9b6d..8723252647aa 100644 --- a/.github/workflows/pr-checker.yml +++ b/.github/workflows/pr-checker.yml @@ -37,6 +37,9 @@ jobs: check-merged: runs-on: ubuntu-latest needs: read-file + permissions: + issues: write + 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 steps: - uses: actions-cool/maintain-one-comment@v3