Skip to content

Commit a479f0b

Browse files
authored
Merge pull request #617 from instructlab/ihrachyshka-harden-runner-remove
ci: Remove harden-runner steps from jobs
2 parents e51b36d + 04e5b19 commit a479f0b

File tree

11 files changed

+1
-101
lines changed

11 files changed

+1
-101
lines changed

.github/workflows/actionlint.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ jobs:
2929
actionlint:
3030
runs-on: ubuntu-latest
3131
steps:
32-
- name: "Harden Runner"
33-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
34-
with:
35-
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
36-
3732
- name: "Checkout"
3833
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3934
with:

.github/workflows/docs.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ jobs:
3232
markdown-lint:
3333
runs-on: ubuntu-latest
3434
steps:
35-
- name: "Harden Runner"
36-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
37-
with:
38-
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
3935
- name: "Checkout"
4036
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4137
with:

.github/workflows/e2e-nvidia-l40s-x4-py312.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ jobs:
8787
pull-requests: write
8888

8989
steps:
90-
- name: "Harden Runner"
91-
# v2.10.1
92-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0
93-
with:
94-
egress-policy: audit
95-
9690
- name: Checkout instructlab/training
9791
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9892
with:
@@ -138,12 +132,6 @@ jobs:
138132
runs-on: ubuntu-latest
139133
if: ${{ always() }}
140134
steps:
141-
- name: "Harden Runner"
142-
# v2.10.1
143-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0
144-
with:
145-
egress-policy: audit
146-
147135
- name: Configure AWS credentials
148136
uses: aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1
149137
with:

.github/workflows/e2e-nvidia-l40s-x4-sdk.yml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,6 @@ jobs:
101101
pull-requests: write
102102

103103
steps:
104-
- name: "Harden Runner"
105-
# v2.10.1
106-
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf
107-
with:
108-
egress-policy: audit
109104
- name: Install Packages
110105
run: |
111106
cat /etc/os-release
@@ -207,12 +202,6 @@ jobs:
207202
runs-on: ubuntu-latest
208203
if: ${{ always() }}
209204
steps:
210-
- name: "Harden Runner"
211-
# v2.10.1
212-
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf
213-
with:
214-
egress-policy: audit
215-
216205
- name: Configure AWS credentials
217206
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0
218207
with:
@@ -234,12 +223,6 @@ jobs:
234223
runs-on: ubuntu-latest
235224
if: ${{ always() }}
236225
steps:
237-
- name: "Harden Runner"
238-
# v2.10.1
239-
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf
240-
with:
241-
egress-policy: audit
242-
243226
- name: Configure AWS credentials
244227
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0
245228
with:
@@ -324,4 +307,4 @@ jobs:
324307
if: steps.phase-2-upload-s3.outcome == 'failure'
325308
run: |
326309
echo "::warning::Failed to upload Phase 2 loss graph to S3. This won't block the workflow, but you may want to investigate."
327-
echo "Loss graph upload failed" >> "${GITHUB_STEP_SUMMARY}"
310+
echo "Loss graph upload failed" >> "${GITHUB_STEP_SUMMARY}"

.github/workflows/e2e-nvidia-l40s-x4.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ jobs:
8787
pull-requests: write
8888

8989
steps:
90-
- name: "Harden Runner"
91-
# v2.10.1
92-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0
93-
with:
94-
egress-policy: audit
95-
9690
- name: Checkout instructlab/training
9791
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9892
with:
@@ -138,12 +132,6 @@ jobs:
138132
runs-on: ubuntu-latest
139133
if: ${{ always() }}
140134
steps:
141-
- name: "Harden Runner"
142-
# v2.10.1
143-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0
144-
with:
145-
egress-policy: audit
146-
147135
- name: Configure AWS credentials
148136
uses: aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1
149137
with:

.github/workflows/lint.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ jobs:
5959
commands: |
6060
tox -e mypy
6161
steps:
62-
- name: "Harden Runner"
63-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
64-
with:
65-
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
66-
6762
- name: "Checkout"
6863
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6964
with:

.github/workflows/pypi.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ jobs:
3636
name: Build and check packages
3737
runs-on: ubuntu-latest
3838
steps:
39-
- name: "Harden Runner"
40-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
41-
with:
42-
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
43-
4439
- name: "Checkout"
4540
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4641
with:
@@ -65,11 +60,6 @@ jobs:
6560
needs: build-package
6661

6762
steps:
68-
- name: "Harden Runner"
69-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
70-
with:
71-
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
72-
7363
- name: "Download build artifacts"
7464
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
7565
with:
@@ -97,11 +87,6 @@ jobs:
9787
needs: build-package
9888

9989
steps:
100-
- name: "Harden Runner"
101-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
102-
with:
103-
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
104-
10590
- name: "Download build artifacts"
10691
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
10792
with:

.github/workflows/smoke-py312.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ jobs:
107107
# untrusted code from PRs.
108108
permissions: {}
109109
steps:
110-
- name: "Harden runner"
111-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.10.1
112-
with:
113-
egress-policy: audit
114-
115110
- name: "Checkout code"
116111
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
117112
with:
@@ -130,11 +125,6 @@ jobs:
130125
runs-on: ubuntu-latest
131126
if: ${{ always() }}
132127
steps:
133-
- name: "Harden runner"
134-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.10.1
135-
with:
136-
egress-policy: audit
137-
138128
- name: "Configure AWS credentials"
139129
uses: "aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df" # v4.2.1
140130
with:

.github/workflows/smoke.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,6 @@ jobs:
103103
# untrusted code from PRs.
104104
permissions: {}
105105
steps:
106-
- name: "Harden runner"
107-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.10.1
108-
with:
109-
egress-policy: audit
110-
111106
- name: "Checkout code"
112107
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
113108
with:
@@ -132,11 +127,6 @@ jobs:
132127
runs-on: ubuntu-latest
133128
if: ${{ always() }}
134129
steps:
135-
- name: "Harden runner"
136-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.10.1
137-
with:
138-
egress-policy: audit
139-
140130
- name: "Configure AWS credentials"
141131
uses: "aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df" # v4.2.1
142132
with:

.github/workflows/stale_bot.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ jobs:
2323
pull-requests: write
2424
runs-on: ubuntu-latest
2525
steps:
26-
- name: "Harden Runner"
27-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
28-
with:
29-
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
30-
3126
- name: "Stale Action"
3227
uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
3328
with:

0 commit comments

Comments
 (0)