Skip to content

Commit 92c0e4d

Browse files
committed
feat: add actions-permissions advisor to all workflows
1 parent 0296fe2 commit 92c0e4d

25 files changed

Lines changed: 170 additions & 0 deletions

.github/workflows/breaking-change-alert.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ defaults:
5454
shell: bash
5555

5656
jobs:
57+
monitor:
58+
runs-on: ubuntu-latest
59+
steps:
60+
- uses: GitHubSecurityLab/actions-permissions/monitor@bf82d13b9b10051d224345ab9184f5ede0a94289 # v1.0
61+
with:
62+
config: '{ "create_artifact": true, "enabled": true, "debug": false }'
5763
notify-breaking-changes:
5864
runs-on: ubuntu-latest
5965
steps:

.github/workflows/build-devcontainer.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ permissions:
5353
statuses: none
5454

5555
jobs:
56+
monitor:
57+
runs-on: ubuntu-latest
58+
steps:
59+
- uses: GitHubSecurityLab/actions-permissions/monitor@bf82d13b9b10051d224345ab9184f5ede0a94289 # v1.0
60+
with:
61+
config: '{ "create_artifact": true, "enabled": true, "debug": false }'
5662
build:
5763
timeout-minutes: ${{ inputs.timeout-minutes }}
5864
strategy:

.github/workflows/build-devcontainers.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ on:
2626
default: true
2727

2828
jobs:
29+
monitor:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: GitHubSecurityLab/actions-permissions/monitor@bf82d13b9b10051d224345ab9184f5ede0a94289 # v1.0
33+
with:
34+
config: '{ "create_artifact": true, "enabled": true, "debug": false }'
2935
build:
3036
uses: ./.github/workflows/build-devcontainer.yaml
3137
permissions:

.github/workflows/build-in-devcontainer.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ permissions:
8888
statuses: none
8989

9090
jobs:
91+
monitor:
92+
runs-on: ubuntu-latest
93+
steps:
94+
- uses: GitHubSecurityLab/actions-permissions/monitor@bf82d13b9b10051d224345ab9184f5ede0a94289 # v1.0
95+
with:
96+
config: '{ "create_artifact": true, "enabled": true, "debug": false }'
9197
build:
9298
timeout-minutes: ${{ inputs.timeout-minutes }}
9399
strategy:

.github/workflows/changed-files.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ permissions:
5151
statuses: none
5252

5353
jobs:
54+
monitor:
55+
runs-on: ubuntu-latest
56+
steps:
57+
- uses: GitHubSecurityLab/actions-permissions/monitor@bf82d13b9b10051d224345ab9184f5ede0a94289 # v1.0
58+
with:
59+
config: '{ "create_artifact": true, "enabled": true, "debug": false }'
5460
changed-files:
5561
runs-on: ubuntu-latest
5662
name: "Check changed files"

.github/workflows/checks.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ defaults:
4747
shell: bash
4848

4949
jobs:
50+
monitor:
51+
runs-on: ubuntu-latest
52+
steps:
53+
- uses: GitHubSecurityLab/actions-permissions/monitor@bf82d13b9b10051d224345ab9184f5ede0a94289 # v1.0
54+
with:
55+
config: '{ "create_artifact": true, "enabled": true, "debug": false }'
5056
other-checks:
5157
runs-on: ubuntu-latest
5258
container:

.github/workflows/compute-matrix.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ on:
3939
matrix:
4040
value: ${{ jobs.compute-matrix.outputs.matrix }}
4141
jobs:
42+
monitor:
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: GitHubSecurityLab/actions-permissions/monitor@bf82d13b9b10051d224345ab9184f5ede0a94289 # v1.0
46+
with:
47+
config: '{ "create_artifact": true, "enabled": true, "debug": false }'
4248
compute-matrix:
4349
runs-on: ubuntu-latest
4450
env:

.github/workflows/conda-cpp-build.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ permissions:
8181
statuses: none
8282

8383
jobs:
84+
monitor:
85+
runs-on: ubuntu-latest
86+
steps:
87+
- uses: GitHubSecurityLab/actions-permissions/monitor@bf82d13b9b10051d224345ab9184f5ede0a94289 # v1.0
88+
with:
89+
config: '{ "create_artifact": true, "enabled": true, "debug": false }'
8490
compute-matrix:
8591
uses: ./.github/workflows/compute-matrix.yaml
8692
with:

.github/workflows/conda-cpp-post-build-checks.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ permissions:
5151
statuses: none
5252

5353
jobs:
54+
monitor:
55+
runs-on: ubuntu-latest
56+
steps:
57+
- uses: GitHubSecurityLab/actions-permissions/monitor@bf82d13b9b10051d224345ab9184f5ede0a94289 # v1.0
58+
with:
59+
config: '{ "create_artifact": true, "enabled": true, "debug": false }'
5460
check-symbols:
5561
runs-on: linux-amd64-cpu4
5662
container:

.github/workflows/conda-cpp-tests.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ permissions:
118118
statuses: none
119119

120120
jobs:
121+
monitor:
122+
runs-on: ubuntu-latest
123+
steps:
124+
- uses: GitHubSecurityLab/actions-permissions/monitor@bf82d13b9b10051d224345ab9184f5ede0a94289 # v1.0
125+
with:
126+
config: '{ "create_artifact": true, "enabled": true, "debug": false }'
121127
compute-matrix:
122128
uses: ./.github/workflows/compute-matrix.yaml
123129
with:

0 commit comments

Comments
 (0)