Commit c2bc561
committed
ci: use official socketdev/action for Socket Firewall setup
Replace the hand-rolled `npm install -g sfw` in all three sfw smoke jobs with
the official setup action (socketdev/action@v1.3.2, mode: firewall-free).
Why:
- It's the documented GitHub Actions integration for Socket Firewall Free and
wires up sfw routing correctly, rather than relying on an ad-hoc global npm
install. This is the right mitigation for the class of Wrapper-Mode routing
gaps where sfw can fail to proxy fetches from files.pythonhosted.org
(tracked upstream as ENG-4871) -- exactly the "no interception" symptom that
made the python job look like a no-op.
- The Python jobs no longer need actions/setup-node at all (the action
provides sfw directly), so those steps are dropped; the npm fixture job keeps
setup-node since `npm install` needs it.
Setup mode is firewall-free (anonymous, no API token) -- unchanged, and the
reason this is safe to run on Dependabot/untrusted PRs.
Our setup is Wrapper Mode + free edition + no CodeArtifact, so the Registry
Mode + CodeArtifact `uv sync`/`uv lock` issue (CE-171) does not apply.
Signed-off-by: lelia <2418071+lelia@users.noreply.github.com>1 parent cfd5f47 commit c2bc561
1 file changed
Lines changed: 12 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
102 | 105 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
| |||
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
170 | | - | |
| 172 | + | |
| 173 | + | |
171 | 174 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments