Skip to content

Commit 6665967

Browse files
authored
ci: scoping the permission in create_additional_release_tag.yaml (#3613)
1 parent c7d11d4 commit 6665967

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/create_additional_release_tag.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11-
permissions: write-all
11+
permissions:
12+
# Permission to create tag
13+
# https://docs.github.com/en/rest/authentication/permissions-required-for-github-apps?apiVersion=2022-11-28#repository-permissions-for-contents
14+
contents: write
1215
steps:
1316
- name: Checkout code
1417
uses: actions/checkout@v4

0 commit comments

Comments
 (0)