Skip to content

Commit 73d1d42

Browse files
authored
Merge pull request #136 from teaxyz/clean-perms
reduce GHA permissions
2 parents bbf240a + aee829c commit 73d1d42

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/cd.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
branches:
44
- main
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
smoke:
811
runs-on: ubuntu-latest
@@ -37,6 +40,9 @@ jobs:
3740
secrets: inherit
3841

3942
put:
43+
permissions:
44+
contents: write
45+
deployments: write
4046
needs: [ci1, ci2, smoke]
4147
runs-on: ubuntu-latest
4248
steps:

.github/workflows/ci-pre-reqs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ concurrency:
99
group: ${{ github.ref }}/2
1010
cancel-in-progress: true
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
pre-reqs:
1417
continue-on-error: true

.github/workflows/vx-tagger.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
concurrency:
55
group: ${{ github.ref }}
66
cancel-in-progress: true
7+
permissions:
8+
contents: write
79
jobs:
810
retag:
911
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)