Skip to content

Commit d4e7758

Browse files
committed
Fix remaining Windows egress blocks: cygwin.com, sourceforge mirrors
The previous fix only covered one sourceforge mirror; CI hit a different one (phoenixnap.dl.sourceforge.net) on retry, since the mirror sourceforge redirects to varies per run. Switch to a *.dl.sourceforge.net wildcard to cover any mirror instead of listing them one by one. Also add cygwin.com and its default package mirror (mirrors.kernel.org), which cygwin-install-action needs and which was never reachable even before harden-runner enforced blocking on Windows.
1 parent 8c05460 commit d4e7758

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

.github/workflows/run.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,10 @@ jobs:
2828
community.chocolatey.org:443
2929
community.chocolatey.org:80
3030
packages.chocolatey.org:443
31-
cfhcable.dl.sourceforge.net:443
32-
cytranet-dal.dl.sourceforge.net:443
31+
cygwin.com:443
32+
mirrors.kernel.org:443
33+
*.dl.sourceforge.net:443
3334
downloads.sourceforge.net:443
34-
gigenet.dl.sourceforge.net:443
35-
netactuate.dl.sourceforge.net:443
36-
pilotfiber.dl.sourceforge.net:443
37-
psychz.dl.sourceforge.net:443
3835
sourceforge.net:443
3936
svn.code.sf.net:443
4037
svn.code.sf.net:3690
@@ -140,22 +137,17 @@ jobs:
140137
allowed-endpoints: >+
141138
_https._tcp.packages.microsoft.com:443
142139
api.github.com:443
143-
cfhcable.dl.sourceforge.net:443
140+
*.dl.sourceforge.net:443
144141
community.chocolatey.org:443
145142
community.chocolatey.org:80
146-
cytranet-dal.dl.sourceforge.net:443
147143
dc.services.visualstudio.com:443
148144
downloads.sourceforge.net:443
149145
fe2cr.update.microsoft.com:443
150146
files.pythonhosted.org:443
151-
gigenet.dl.sourceforge.net:443
152147
github.com:443
153148
mobile.events.data.microsoft.com:443
154-
netactuate.dl.sourceforge.net:443
155149
packages.chocolatey.org:443
156150
packages.microsoft.com:443
157-
pilotfiber.dl.sourceforge.net:443
158-
psychz.dl.sourceforge.net:443
159151
pypi.org:443
160152
release-assets.githubusercontent.com:443
161153
sourceforge.net:443

0 commit comments

Comments
 (0)