summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-11-24 19:51:54 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-11-24 20:09:04 +0100
commit06d5d1a157ffda7207bda1b2c8410b4c63334f11 (patch)
tree7749df84be51d3130fa23a96ecb6dc4e7ed19f52 /.github
parentdf5ebb543c65e87fb471b0e6ba1a630ce19e65d7 (diff)
downloadpylint-git-06d5d1a157ffda7207bda1b2c8410b4c63334f11.tar.gz
Add ``content: write`` rights for backporting job (#7826)
* Do not run primers tests on backporting branches * Add content: write rights for backporting job We need it to push to the backporting branch after cherry-picking See https://github.com/PyCQA/pylint/pull/7810\#issuecomment-1324742960 * [github actions] Add a version comment so the tag is clearer Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/backport.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
index d2768fd25..4c2639b50 100644
--- a/.github/workflows/backport.yml
+++ b/.github/workflows/backport.yml
@@ -7,6 +7,7 @@ on:
permissions:
pull-requests: write
+ contents: write
jobs:
backport:
@@ -23,6 +24,6 @@ jobs:
)
)
steps:
- - uses: tibdex/backport@2e217641d82d02ba0603f46b1aeedefb258890ac
+ - uses: tibdex/backport@2e217641d82d02ba0603f46b1aeedefb258890ac # v2.0.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}