Skip to content

Commit 6a99c0f

Browse files
committed
[build] Define other workflow permissions
1 parent b97cb1d commit 6a99c0f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- '**'
77
workflow_call:
88

9+
permissions:
10+
contents: write
11+
912
concurrency:
1013
group: ${{ github.workflow }}${{ github.ref_name != github.event.repository.default_branch && github.ref || github.run_id }}
1114
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- 'v*'
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
check:
1013
uses: ./.github/workflows/check.yml

0 commit comments

Comments
 (0)