Skip to content

Commit 942e966

Browse files
authored
Merge pull request #431 from cucumber/reduce-actions-permissions
Reduce GitHub Action permissions
2 parents ca129ac + df3a039 commit 942e966

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Cucumber Scala CI
22

3+
permissions: {}
4+
35
on:
46
pull_request:
57
branches:
@@ -24,6 +26,8 @@ jobs:
2426
steps:
2527

2628
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
29+
with:
30+
persist-credentials: false
2731

2832
- name: Cache sbt
2933
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3

.github/workflows/release-github.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Release GitHub
22

3+
permissions: {}
4+
35
on:
46
push:
57
branches: [release/*]

.github/workflows/release-sbt.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Release scala package
22

3+
permissions: {}
4+
35
on:
46
push:
57
branches:

.github/workflows/version-policy-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Version policy check
22

3+
permissions: {}
4+
35
on:
46
pull_request:
57
branches:
@@ -18,6 +20,8 @@ jobs:
1820
steps:
1921

2022
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23+
with:
24+
persist-credentials: false
2125

2226
- name: Cache sbt
2327
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3

0 commit comments

Comments
 (0)