Skip to content

Commit 70498ca

Browse files
committed
Add explicit permissions to CI and release workflows
1 parent b36b25e commit 70498ca

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci-build.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ on:
3535
- 'KEYS'
3636
- 'LICENSE.txt'
3737

38+
permissions:
39+
contents: read
40+
3841
concurrency:
3942
group: ${{ github.workflow }}-${{ github.ref }}
4043
cancel-in-progress: true

.github/workflows/github-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ on:
2323
tags:
2424
- '[0-9]+.[0-9]+.[0-9]+'
2525

26+
permissions:
27+
contents: write
28+
2629
jobs:
2730
release:
2831
runs-on: ubuntu-latest

.github/workflows/receive-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
branches:
1111
- main
1212

13+
permissions:
14+
contents: read
15+
1316
concurrency:
1417
group: ${{ github.workflow }}-${{ github.ref }}
1518
cancel-in-progress: true

0 commit comments

Comments
 (0)