Skip to content
This repository was archived by the owner on May 31, 2026. It is now read-only.

Commit 17cbe5e

Browse files
committed
Socket Firewall
1 parent 573bee0 commit 17cbe5e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/Build.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # main
1616
with:
1717
egress-policy: audit
18+
- name: 准备 Socket Firewall
19+
uses: socketdev/action@ba6de6cc0565af1f42295590380973573297e31f # main
20+
with:
21+
mode: firewall
1822
- name: 签出
1923
uses: actions/checkout@900f2210b1d28bbbd0bd22d17926b9e224e8f231 # main
2024
with:
@@ -32,7 +36,7 @@ jobs:
3236
cache: pnpm
3337
check-latest: true
3438
- name: 安装 pnpm 依赖
35-
run: pnpm install
39+
run: sfw pnpm install
3640
- name: 构建
3741
run: |
3842
pnpm run build

0 commit comments

Comments
 (0)