Skip to content

Commit 96dd18e

Browse files
committed
ci: fix release pipeline, add permissions to GH token
1 parent a98cf31 commit 96dd18e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/prepare-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
permissions:
1515
contents: write # to create branch, tag and push the changes
16+
pull-requests: write # to create pull request
1617
strategy:
1718
matrix:
1819
python-version: [3.9]

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
deploy:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write # to push to develop, create releases and tags
1113
strategy:
1214
matrix:
1315
python-version: ["3.9"]

0 commit comments

Comments
 (0)