From a8dd26a714d0682d244630a3f0548201a269b0d1 Mon Sep 17 00:00:00 2001 From: hustcer Date: Wed, 29 Jan 2025 16:39:37 +0800 Subject: [PATCH] fix: Fix add comment error --- .github/workflows/basic.yml | 4 ++++ action.yaml | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index efc11d9..5acbbde 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -11,6 +11,10 @@ on: branches: - main +# fix: GraphQL: Resource not accessible by integration (addComment) error +permissions: + pull-requests: write + jobs: setup-deepseek-review: strategy: diff --git a/action.yaml b/action.yaml index 44ec81a..9b7c426 100644 --- a/action.yaml +++ b/action.yaml @@ -57,6 +57,7 @@ runs: let repo = '${{ github.repository }}' let pr = '${{ github.event.pull_request.number }}' (deepseek-review $token + --debug --model $model --repo $repo --pr-number $pr