Skip to content

Commit c4e425a

Browse files
committed
chore: take a guess at disable-sudo and disable-sudo-and-containers
1 parent f8a846a commit c4e425a

15 files changed

+24
-0
lines changed

.github/workflows/issue-cleanup.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
steps:
1717
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
1818
with:
19+
disable-sudo-and-containers: true
1920
egress-policy: audit
2021
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
2122
with:

.github/workflows/issue-creation-tool-versions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
steps:
1818
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
1919
with:
20+
disable-sudo-and-containers: true
2021
egress-policy: audit
2122
- run: |
2223
if [[ $CLOSE_PREVIOUS == true ]]; then

.github/workflows/linting-formatting.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ name: Linting & Formatting
44
on:
55
pull_request:
66
types: [opened, synchronize, reopened]
7+
push:
8+
# Run on push to main, this is not actionable
9+
# but it gives us a baseline for PRs
10+
branches: [main]
711

812
concurrency:
913
group: ${{ github.ref }}-${{ github.workflow }}
@@ -23,6 +27,7 @@ jobs:
2327
steps:
2428
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
2529
with:
30+
disable-sudo: true
2631
egress-policy: audit
2732
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2833
with:

.github/workflows/ossf-scorecard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
steps:
2121
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
2222
with:
23+
disable-sudo: true
2324
egress-policy: audit
2425
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2526
with:

.github/workflows/pr-conventional-title.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
steps:
1919
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
2020
with:
21+
disable-sudo-and-containers: true
2122
egress-policy: audit
2223
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
2324
id: pr-title

.github/workflows/pr-image-cleanup.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
steps:
2222
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
2323
with:
24+
disable-sudo-and-containers: true
2425
egress-policy: audit
2526
- uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
2627
with:
@@ -41,6 +42,7 @@ jobs:
4142
steps:
4243
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
4344
with:
45+
disable-sudo-and-containers: true
4446
egress-policy: audit
4547
- run: |
4648
gh extension install actions/gh-actions-cache

.github/workflows/pr-report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
steps:
2020
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
2121
with:
22+
disable-sudo-and-containers: true
2223
egress-policy: audit
2324
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2425
with:

.github/workflows/release-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
steps:
3535
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
3636
with:
37+
disable-sudo-and-containers: true
3738
egress-policy: audit
3839
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3940
with:
@@ -62,6 +63,7 @@ jobs:
6263
steps:
6364
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
6465
with:
66+
disable-sudo-and-containers: true
6567
egress-policy: audit
6668
- name: Inspect manifest and extract digest
6769
id: inspect-manifest

.github/workflows/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
steps:
1919
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
2020
with:
21+
disable-sudo-and-containers: true
2122
egress-policy: audit
2223
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2324
with:

.github/workflows/release-published.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
steps:
1717
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
1818
with:
19+
disable-sudo-and-containers: true
1920
egress-policy: audit
2021
- uses: rdlf0/comment-released-prs-action@a81897eaea04a5faa8779d28607826ddb033321a # v3.1.0
2122
with:

0 commit comments

Comments
 (0)