Skip to content

Commit

Permalink
Add content: write rights for backporting job (#7826)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
Pierre-Sassoulas and cdce8p committed Nov 24, 2022
1 parent df5ebb5 commit 06d5d1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

permissions:
pull-requests: write
contents: write

jobs:
backport:
Expand All @@ -23,6 +24,6 @@ jobs:
)
)
steps:
- uses: tibdex/backport@2e217641d82d02ba0603f46b1aeedefb258890ac
- uses: tibdex/backport@2e217641d82d02ba0603f46b1aeedefb258890ac # v2.0.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 06d5d1a

Please sign in to comment.