From 22d0069bd6740944ad4c26fbf50c6cb5419f2d53 Mon Sep 17 00:00:00 2001 From: Avimitin Date: Wed, 11 Dec 2024 14:56:11 +0800 Subject: [PATCH] [ci] add enough permission for CI to comment Signed-off-by: Avimitin --- .github/workflows/pd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pd.yml b/.github/workflows/pd.yml index f310bf444..f87cde3c9 100644 --- a/.github/workflows/pd.yml +++ b/.github/workflows/pd.yml @@ -151,6 +151,9 @@ jobs: EOF - name: "Comment on PR" uses: actions/github-script@v7 + permissions: + actions: write + pull-requests: write with: script: | const fs = require('fs')