Skip to content

Commit a8a1ebd

Browse files
committed
Revert "fix(ci): keep repository CI private-free"
This reverts commit f30b529.
1 parent f30b529 commit a8a1ebd

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ jobs:
2121
permissions:
2222
contents: read
2323
steps:
24+
- name: Harden runner
25+
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
26+
with:
27+
egress-policy: block
28+
allowed-endpoints: >
29+
agent.api.stepsecurity.io:443
30+
github.com:443
31+
api.github.com:443
32+
pypi.org:443
33+
files.pythonhosted.org:443
2434
- name: Checkout
2535
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2636
with:
@@ -38,15 +48,12 @@ jobs:
3848
permissions:
3949
contents: read
4050
uses: ./.github/workflows/actionlint.yml
41-
with:
42-
enable_harden_runner: false
4351

4452
zizmor:
4553
permissions:
4654
contents: read
47-
uses: ./.github/workflows/zizmor-no-sarif.yml
48-
with:
49-
enable_harden_runner: false
55+
security-events: write
56+
uses: ./.github/workflows/zizmor-sarif.yml
5057

5158
ci-gate:
5259
name: ci-gate

0 commit comments

Comments
 (0)