Skip to content

Commit 7361a9f

Browse files
authored
1 parent 41ae330 commit 7361a9f

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags: ["*"]
66
pull_request:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
tests:
1013
name: ${{ matrix.name }}
@@ -19,6 +22,8 @@ jobs:
1922
- { name: "dev", python: "3.14", tox: py314-marshmallowdev }
2023
steps:
2124
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
25+
with:
26+
persist-credentials: false
2227
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
2328
with:
2429
python-version: ${{ matrix.python }}
@@ -29,6 +34,8 @@ jobs:
2934
runs-on: ubuntu-latest
3035
steps:
3136
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
37+
with:
38+
persist-credentials: false
3239
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
3340
with:
3441
python-version: "3.14"
@@ -52,6 +59,8 @@ jobs:
5259
runs-on: ubuntu-latest
5360
steps:
5461
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
62+
with:
63+
persist-credentials: false
5564
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
5665
with:
5766
python-version: "3.14"

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ repos:
99
hooks:
1010
- id: check-github-workflows
1111
- id: check-readthedocs
12+
- repo: https://github.com/zizmorcore/zizmor-pre-commit
13+
rev: v1.24.0
14+
hooks:
15+
- id: zizmor
1216
- repo: https://github.com/asottile/blacken-docs
1317
rev: 1.20.0
1418
hooks:

0 commit comments

Comments
 (0)