Skip to content

Commit ce03ccd

Browse files
Update egress rules in CI (#322)
1 parent db3a4fd commit ce03ccd

12 files changed

+37
-17
lines changed

.github/workflows/_build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
disable-sudo: true
3232
egress-policy: block
3333
allowed-endpoints: >
34+
api.github.com:443
3435
files.pythonhosted.org:443
3536
github.com:443
3637
objects.githubusercontent.com:443

.github/workflows/_codecov.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
allowed-endpoints: >
5555
api.codecov.io:443
5656
api.kraken.com:443
57+
api.github.com:443
5758
cli.codecov.io:443
5859
demo-futures.kraken.com:443
5960
files.pythonhosted.org:443

.github/workflows/_pre_commit.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
disable-sudo: true
2424
egress-policy: block
2525
allowed-endpoints: >
26+
api.github.com:443
2627
files.pythonhosted.org:443
2728
github.com:443
2829
proxy.golang.org:443

.github/workflows/_pypi_publish.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,16 @@ jobs:
3232
disable-sudo: true
3333
egress-policy: block
3434
allowed-endpoints: >
35+
api.github.com:443
36+
fulcio.sigstore.dev
3537
ghcr.io
38+
github.com:443
39+
pkg-containers.githubusercontent.com:443
3640
pypi.org
37-
upload.pypi.org
38-
tuf-repo-cdn.sigstore.dev
39-
fulcio.sigstore.dev
4041
rekor.sigstore.dev
41-
github.com:443
42+
tuf-repo-cdn.sigstore.dev
43+
upload.pypi.org
4244
uploads.github.com:443
43-
pkg-containers.githubusercontent.com:443
4445
4546
- name: Download all the distributions
4647
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8

.github/workflows/_pypi_test_publish.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@ jobs:
3232
disable-sudo: true
3333
egress-policy: block
3434
allowed-endpoints: >
35+
api.github.com:443
36+
fulcio.sigstore.dev
3537
ghcr.io
38+
github.com:443
39+
pkg-containers.githubusercontent.com:443
40+
rekor.sigstore.dev
3641
test.pypi.org
3742
tuf-repo-cdn.sigstore.dev
38-
fulcio.sigstore.dev
39-
rekor.sigstore.dev
40-
github.com:443
4143
uploads.github.com:443
42-
pkg-containers.githubusercontent.com:443
4344
4445
- name: Download all the distributions
4546
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8

.github/workflows/_test_futures_private.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
disable-sudo: true
4949
egress-policy: block
5050
allowed-endpoints: >
51+
api.github.com:443
5152
demo-futures.kraken.com:443
5253
files.pythonhosted.org:443
5354
futures.kraken.com:443

.github/workflows/_test_futures_public.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
disable-sudo: true
3636
egress-policy: block
3737
allowed-endpoints: >
38+
api.github.com:443
3839
files.pythonhosted.org:443
3940
futures.kraken.com:443
4041
github.com:443

.github/workflows/_test_nft_private.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
disable-sudo: true
4141
egress-policy: block
4242
allowed-endpoints: >
43+
api.github.com:443
4344
api.kraken.com:443
4445
files.pythonhosted.org:443
4546
github.com:443

.github/workflows/_test_nft_public.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
disable-sudo: true
3434
egress-policy: block
3535
allowed-endpoints: >
36+
api.github.com:443
3637
api.kraken.com:443
3738
files.pythonhosted.org:443
3839
github.com:443

.github/workflows/_test_spot_private.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
disable-sudo: true
4646
egress-policy: block
4747
allowed-endpoints: >
48+
api.github.com:443
4849
api.kraken.com:443
4950
files.pythonhosted.org:443
5051
github.com:443

0 commit comments

Comments
 (0)