Skip to content

Commit 12710c1

Browse files
[StepSecurity] ci: Harden GitHub Actions (#266)
Signed-off-by: StepSecurity Bot <[email protected]>
1 parent ae6311f commit 12710c1

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ concurrency:
1717
group: ${{ github.ref_name }}-codeql
1818
cancel-in-progress: true
1919

20+
permissions: # added using https://github.com/step-security/secure-workflows
21+
contents: read
22+
2023
jobs:
2124
analyze:
2225
name: Analyze

.github/workflows/fossa.yml

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

12+
permissions: # added using https://github.com/step-security/secure-workflows
13+
contents: read
14+
1215
jobs:
1316
scan:
1417
name: Fossa

.github/workflows/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: "Pull Request Labeler"
22
on:
33
- pull_request_target
44

5+
permissions: # added using https://github.com/step-security/secure-workflows
6+
contents: read
7+
58
jobs:
69
triage:
710
permissions:

0 commit comments

Comments
 (0)