From 3185bb20f02cb385cef2cc50fb70c1c8f77828d1 Mon Sep 17 00:00:00 2001 From: Maxim Tarasov Date: Wed, 24 Jan 2024 11:13:00 -0800 Subject: [PATCH] add permission to github action for commenting on pr --- .github/workflows/python-app-pr.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-app-pr.yml b/.github/workflows/python-app-pr.yml index 1300e07..b6c9e70 100644 --- a/.github/workflows/python-app-pr.yml +++ b/.github/workflows/python-app-pr.yml @@ -9,6 +9,7 @@ on: permissions: contents: read + pull-requests: write jobs: build: @@ -56,7 +57,7 @@ jobs: path: ./test-diff.html - name: Comment PR with execution number - uses: thollander/actions-comment-pull-request@v2 + uses: thollander/actions-comment-pull-request@v2.4.3 with: message: | _(execution **${{ github.run_id }}** / attempt **${{ github.run_attempt }}**)_