Skip to content

Commit 01f97a5

Browse files
authored
Merge pull request #138 from robinhundt/robin/ci-restrict-token-permissions
CI: restrict GITHUB_TOKEN permissions
2 parents f269803 + b26f931 commit 01f97a5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release-plz.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
with:
3636
client-id: ${{ secrets.RELEASE_APP_CLIENT_ID }}
3737
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
38+
permission-contents: write
3839

3940
- name: Run release-plz
4041
uses: release-plz/action@064f4d1e36c843611ddf013be726beaa4ad804db # v0.5.129
@@ -69,6 +70,8 @@ jobs:
6970
with:
7071
client-id: ${{ secrets.RELEASE_APP_CLIENT_ID }}
7172
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
73+
permission-contents: write
74+
permission-pull-requests: write
7275

7376
- name: Run release-plz
7477
uses: release-plz/action@064f4d1e36c843611ddf013be726beaa4ad804db # v0.5.129

0 commit comments

Comments
 (0)