Skip to content

Commit d18e3af

Browse files
committed
feat: update workflows with permissions configurations
1 parent 6a97159 commit d18e3af

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/build-release_merge.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ on:
2828
type: boolean
2929
default: false
3030

31+
permissions:
32+
actions: read
33+
contents: write
34+
3135
jobs:
3236
validate-branch:
3337
runs-on: ubuntu-22.04

.github/workflows/build-release_pull-request.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
types:
66
- closed
77

8+
permissions:
9+
actions: read
10+
contents: write
11+
812
jobs:
913
extract-tag:
1014
if: ${{ github.event.pull_request.merged == true && github.event.pull_request.base.ref == github.event.repository.default_branch }}

.idea/.idea.GitHubActions/.idea/vcs.xml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)