File tree 6 files changed +28
-0
lines changed
6 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 5
5
tags :
6
6
- v*
7
7
- " !v0.0.0"
8
+ permissions :
9
+ contents : read
10
+
8
11
jobs :
9
12
generate_changelog :
13
+ permissions :
14
+ contents : write # for peter-evans/create-pull-request to create branch
15
+ pull-requests : write # for peter-evans/create-pull-request to create a PR
10
16
if : github.repository == 'argoproj/argo-workflows'
11
17
runs-on : ubuntu-latest
12
18
name : Generate changelog
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ concurrency:
13
13
group : ${{ github.workflow }}-${{ github.ref }}
14
14
cancel-in-progress : true
15
15
16
+ permissions :
17
+ contents : read
18
+
16
19
jobs :
17
20
tests :
18
21
name : Unit Tests
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ concurrency:
12
12
group : ${{ github.workflow }}-${{ github.ref }}
13
13
cancel-in-progress : true
14
14
15
+ permissions :
16
+ contents : read
17
+
15
18
jobs :
16
19
docs :
17
20
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ defaults:
16
16
run :
17
17
shell : bash
18
18
19
+ permissions :
20
+ contents : read
21
+
19
22
jobs :
20
23
build-linux-amd64 :
21
24
name : Build & push linux/amd64
@@ -317,6 +320,8 @@ jobs:
317
320
done
318
321
319
322
publish-release :
323
+ permissions :
324
+ contents : write # for softprops/action-gh-release to create GitHub release
320
325
runs-on : ubuntu-latest
321
326
if : github.repository == 'argoproj/argo-workflows'
322
327
needs : [ push-images, test-images-linux-amd64, test-images-windows ]
Original file line number Diff line number Diff line change 3
3
push :
4
4
tags :
5
5
- v*
6
+
7
+ permissions :
8
+ contents : read
9
+
6
10
jobs :
7
11
sdk :
12
+ permissions :
13
+ contents : read
14
+ packages : write # for publishing packages
15
+ contents : write # for creating releases
8
16
if : github.repository == 'argoproj/argo-workflows'
9
17
runs-on : ubuntu-latest
10
18
name : Publish SDK
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Snyk
2
2
on :
3
3
schedule :
4
4
- cron : " 30 2 * * *"
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
# we do not scan images here, they're scanned here: https://app.snyk.io/org/argoproj/projects
7
10
You can’t perform that action at this time.
0 commit comments