From 6498b0f92236ceb6374cfeeedfc230c73ac0e67f Mon Sep 17 00:00:00 2001 From: Ming Yu Wang <90855268+mwangggg@users.noreply.github.com> Date: Tue, 19 Mar 2024 18:02:06 -0400 Subject: [PATCH] add permission to publish comment when ci fails (#769) Co-authored-by: Elliott Baron --- .github/workflows/test-ci-command.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-ci-command.yml b/.github/workflows/test-ci-command.yml index 2e1ffce2..559991df 100644 --- a/.github/workflows/test-ci-command.yml +++ b/.github/workflows/test-ci-command.yml @@ -119,6 +119,8 @@ jobs: if: (always() && contains(needs.*.result, 'failure')) runs-on: ubuntu-latest needs: [run-test-jobs] + permissions: + pull-requests: write steps: - name: Leave Actions Run Comment uses: actions/github-script@v6