Skip to content

Commit 0d280fe

Browse files
committed
more secure actions, due to zizmor
1 parent 1ef2543 commit 0d280fe

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v4
24+
with:
25+
persist-credentials: false
26+
2427
- uses: chartboost/ruff-action@v1
2528
with:
2629
args: 'format --check'
@@ -29,6 +32,9 @@ jobs:
2932
runs-on: ubuntu-latest
3033
steps:
3134
- uses: actions/checkout@v4
35+
with:
36+
persist-credentials: false
37+
3238
- uses: chartboost/ruff-action@v1
3339

3440
tests:
@@ -67,6 +73,8 @@ jobs:
6773
steps:
6874
- name: "Check out the repo"
6975
uses: "actions/checkout@v4"
76+
with:
77+
persist-credentials: false
7078

7179
- name: "Set up Python"
7280
uses: "actions/setup-python@v5"
@@ -98,6 +106,7 @@ jobs:
98106
uses: "actions/checkout@v4"
99107
with:
100108
fetch-depth: "0"
109+
persist-credentials: false
101110

102111
- name: "Set up Python"
103112
uses: "actions/setup-python@v5"

0 commit comments

Comments
 (0)