Skip to content

Commit 0a9ac6b

Browse files
committed
Fix zizmor findings
1 parent dbb9a9e commit 0a9ac6b

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

.github/workflows/deploy.yml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0
30+
persist-credentials: false
3031

3132
- uses: hynek/build-and-inspect-python-package@v2
3233

.github/workflows/labels.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Sync labels
22

3-
permissions:
4-
pull-requests: write
5-
63
on:
74
push:
85
branches:
@@ -13,9 +10,13 @@ on:
1310

1411
jobs:
1512
sync:
13+
permissions:
14+
pull-requests: write
1615
runs-on: ubuntu-latest
1716
steps:
1817
- uses: actions/checkout@v4
18+
with:
19+
persist-credentials: false
1920
- uses: micnncim/action-label-syncer@v1
2021
with:
2122
prune: false

.github/workflows/lint.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,9 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v4
17-
- uses: hugovk/[email protected]
17+
with:
18+
persist-credentials: false
19+
- uses: actions/setup-python@v5
20+
with:
21+
python-version: "3.x"
22+
- uses: tox-dev/action-pre-commit-uv@v1

.github/workflows/test.yml

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v4
22+
with:
23+
persist-credentials: false
2224

2325
- name: Set up Python ${{ matrix.python-version }}
2426
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)