Skip to content

Commit fb43e8b

Browse files
committed
Fix zizmor / ignore some errors
1 parent 8e33271 commit fb43e8b

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
name: Test
43

54
on:
@@ -12,9 +11,10 @@ on:
1211
# Run at 1:00 every day
1312
- cron: 0 1 * * *
1413

14+
permissions: {}
15+
1516
jobs:
1617
build:
17-
1818
strategy:
1919
matrix:
2020
python-version: ['3.13']
@@ -24,6 +24,8 @@ jobs:
2424

2525
steps:
2626
- uses: actions/checkout@v6
27+
with:
28+
persist-credentials: false
2729

2830
- name: Install uv
2931
uses: astral-sh/setup-uv@v7

.github/workflows/dependabot-merge.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
name: Dependabot auto-merge
43
on: pull_request
54

.github/workflows/lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
name: Lint
43

54
on:
@@ -12,9 +11,10 @@ on:
1211
# Run at 1:00 every day
1312
- cron: 0 1 * * *
1413

14+
permissions: {}
15+
1516
jobs:
1617
build:
17-
1818
strategy:
1919
matrix:
2020
python-version: ['3.13']
@@ -24,6 +24,8 @@ jobs:
2424

2525
steps:
2626
- uses: actions/checkout@v6
27+
with:
28+
persist-credentials: false
2729

2830
- name: Install uv
2931
uses: astral-sh/setup-uv@v7

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
name: Release
43

54
on: workflow_dispatch
@@ -32,6 +31,7 @@ jobs:
3231
# Also, avoids
3332
# https://github.com/stefanzweifel/git-auto-commit-action/issues/99.
3433
fetch-depth: 0
34+
persist-credentials: false
3535

3636
- name: Install uv
3737
uses: astral-sh/setup-uv@v7
@@ -59,8 +59,8 @@ jobs:
5959
uses: jacobtomlinson/gha-find-replace@v3
6060
with:
6161
find: "Next\n----"
62-
replace: "Next\n----\n\n${{ steps.calver.outputs.release }}\n${{ steps.changelog_underline.outputs.underline\
63-
\ }}"
62+
replace: |
63+
"Next\n----\n\n${{ steps.calver.outputs.release }}\n${{ steps.changelog_underline.outputs.underline }}"
6464
include: CHANGELOG.rst
6565
regex: false
6666

zizmor.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@
22
rules:
33
unpinned-uses:
44
disable: true
5+
cache-poisoning:
6+
disable: true
7+
bot-conditions:
8+
disable: true
9+
dependabot-cooldown:
10+
disable: true
11+
template-injection:
12+
disable: true

0 commit comments

Comments
 (0)