Skip to content

Commit dbb6f18

Browse files
authored
[build] Define other workflow permissions (#467)
1 parent db8655c commit dbb6f18

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/docker.yml

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

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/go.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Go
22

33
on: [push]
44

5+
permissions:
6+
contents: write
7+
58
concurrency:
69
group: ${{ github.workflow }}${{ github.ref_name != github.event.repository.default_branch && github.ref || github.run_id }}
710
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}

0 commit comments

Comments
 (0)