Skip to content

Commit b6c4d57

Browse files
committed
chore: start locking down network traffic
1 parent ad4bdba commit b6c4d57

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
2020
with:
2121
disable-sudo-and-containers: true
22-
egress-policy: audit
22+
egress-policy: block
23+
allowed-endpoints: >
24+
api.github.com:443
2325
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
2426
id: pr-title
2527
with:

.github/workflows/social-interaction.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
- uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
2121
with:
2222
disable-sudo-and-containers: true
23-
egress-policy: audit
23+
egress-policy: block
24+
allowed-endpoints: >
25+
api.github.com:443
2426
- uses: actions/first-interaction@34f15e814fe48ac9312ccf29db4e74fa767cbab7 # v1.3.0
2527
continue-on-error: true
2628
with:

0 commit comments

Comments
 (0)