Skip to content

Commit 756dcc9

Browse files
committed
Workflow: Enable monitoring of Actions workflow permissions
I would like to understand exactly what permissions each of our GitHub workflows needs. So, enable GitHub Security Labs' Actions permissions monitor. I'll let it run once, so that the information can be gathered. I'm not instrumenting the pull workflow, since it's similar to the main workflow. Expect future commits to revert this commit (once the necessary information is gathered), and to apply reduced permissions (based on the results of this extended workflow).
1 parent 99acac0 commit 756dcc9

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
security-events: write
2121

2222
steps:
23+
- uses: GitHubSecurityLab/actions-permissions/monitor@56b81d5792a64ef3925978f6c0695ddc41685c27
24+
2325
- name: Checkout repository
2426
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
2527

@@ -37,6 +39,8 @@ jobs:
3739
security-events: write
3840

3941
steps:
42+
- uses: GitHubSecurityLab/actions-permissions/monitor@56b81d5792a64ef3925978f6c0695ddc41685c27
43+
4044
- name: Checkout repository
4145
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
4246

.github/workflows/common.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
- "3.14"
1717

1818
steps:
19+
- uses: GitHubSecurityLab/actions-permissions/monitor@56b81d5792a64ef3925978f6c0695ddc41685c27
20+
1921
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
2022

2123
- name: Set up Python ${{ matrix.python }}

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
id-token: write
1818

1919
steps:
20+
- uses: GitHubSecurityLab/actions-permissions/monitor@56b81d5792a64ef3925978f6c0695ddc41685c27
21+
2022
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
2123

2224
- name: Set up Python

0 commit comments

Comments
 (0)