Skip to content

Commit 79b33a7

Browse files
authored
Make sure we look at network requests (#2380)
1 parent abbe5bc commit 79b33a7

12 files changed

Lines changed: 91 additions & 0 deletions

.github/workflows/browser-beta.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ jobs:
1010
build:
1111
runs-on: ubuntu-22.04
1212
steps:
13+
- name: Harden Runner
14+
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
15+
with:
16+
egress-policy: audit
1317
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1418
- name: Use Node.js
1519
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6

.github/workflows/browser-dev.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ jobs:
1010
build:
1111
runs-on: ubuntu-22.04
1212
steps:
13+
- name: Harden Runner
14+
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
15+
with:
16+
egress-policy: audit
1317
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1418
- name: Use Node.js
1519
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6

.github/workflows/building-docker.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ jobs:
77
docker:
88
runs-on: ubuntu-22.04
99
steps:
10+
-
11+
name: Harden Runner
12+
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
13+
with:
14+
egress-policy: audit
1015
-
1116
name: Checkout
1217
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

.github/workflows/docker.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ jobs:
1010
build:
1111
runs-on: ubuntu-22.04
1212
steps:
13+
- name: Harden Runner
14+
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
15+
with:
16+
egress-policy: audit
1317
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1418
- name: Build the container
1519
run: |

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ jobs:
1313
matrix:
1414
node-version: [24.x]
1515
steps:
16+
- name: Harden Runner
17+
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
18+
with:
19+
egress-policy: audit
1620
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1721
- name: Use Node.js ${{ matrix.node-version }}
1822
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6

.github/workflows/linux-chrome.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,35 @@ jobs:
1010
build:
1111
runs-on: ubuntu-22.04
1212
steps:
13+
- name: Harden Runner
14+
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
15+
with:
16+
egress-policy: block
17+
allowed-endpoints: >
18+
accounts.google.com:443
19+
android.clients.google.com:443
20+
api.snapcraft.io:443
21+
azure.archive.ubuntu.com:80
22+
canonical-bos01.cdn.snapcraftcontent.com:443
23+
canonical-lgw01.cdn.snapcraftcontent.com:443
24+
clients2.google.com:80
25+
dl-ssl.google.com:443
26+
dl.google.com:80
27+
esm.ubuntu.com:443
28+
files.pythonhosted.org:443
29+
github.com:443
30+
motd.ubuntu.com:443
31+
msedgedriver.microsoft.com:443
32+
mtalk.google.com:5228
33+
nodejs.org:443
34+
packages.microsoft.com:443
35+
pypi.org:443
36+
registry.npmjs.org:443
37+
release-assets.githubusercontent.com:443
38+
results-receiver.actions.githubusercontent.com:443
39+
storage.googleapis.com:443
40+
www.google.com:443
41+
www.sitespeed.io:443
1342
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1443
- name: Use Node.js
1544
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6

.github/workflows/linux-firefox.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,27 @@ jobs:
1010
build:
1111
runs-on: ubuntu-22.04
1212
steps:
13+
- name: Harden Runner
14+
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
15+
with:
16+
egress-policy: block
17+
allowed-endpoints: >
18+
api.snapcraft.io:443
19+
archive.mozilla.org:443
20+
canonical-bos01.cdn.snapcraftcontent.com:443
21+
canonical-lgw01.cdn.snapcraftcontent.com:443
22+
content-signature-2.cdn.mozilla.net:443
23+
files.pythonhosted.org:443
24+
firefox-settings-attachments.cdn.mozilla.net:443
25+
firefox.settings.services.mozilla.com:443
26+
ftp.mozilla.org:443
27+
github.com:443
28+
msedgedriver.microsoft.com:443
29+
pypi.org:443
30+
registry.npmjs.org:443
31+
release-assets.githubusercontent.com:443
32+
results-receiver.actions.githubusercontent.com:443
33+
storage.googleapis.com:443
1334
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1435
- name: Use Node.js
1536
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6

.github/workflows/mac-m1.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ jobs:
1111
runs-on: macos-latest
1212
timeout-minutes: 20
1313
steps:
14+
- name: Harden Runner
15+
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
16+
with:
17+
egress-policy: audit
1418
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1519
- name: Use Node.js
1620
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6

.github/workflows/mac.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ jobs:
1111
runs-on: macos-15-intel
1212
timeout-minutes: 30
1313
steps:
14+
- name: Harden Runner
15+
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
16+
with:
17+
egress-policy: audit
1418
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1519
- name: Use Node.js
1620
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6

.github/workflows/safari.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ jobs:
1111
runs-on: macos-latest
1212
timeout-minutes: 20
1313
steps:
14+
- name: Harden Runner
15+
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
16+
with:
17+
egress-policy: audit
1418
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1519
- name: Use Node.js
1620
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6

0 commit comments

Comments
 (0)