Skip to content

Commit f88d548

Browse files
chore(deps): bump versions (#853)
* [create-pull-request] automated change * ci: run prek in GHA for online zizmor audits Add a lint job with GH_TOKEN set so zizmor runs its online audits, which pre-commit.ci cannot do. Also apply zizmor's self-repository fixes. Assisted-by: ClaudeCode:claude-opus-5 --------- Co-authored-by: scientific-python-pr-tokenbot[bot] <181030687+scientific-python-pr-tokenbot[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <henryfs@princeton.edu>
1 parent f623f12 commit f88d548

6 files changed

Lines changed: 35 additions & 20 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,36 +14,51 @@ concurrency:
1414
permissions: {}
1515

1616
jobs:
17+
lint:
18+
name: Lint
19+
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
22+
env:
23+
GH_TOKEN: ${{ github.token }}
24+
steps:
25+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
26+
with:
27+
persist-credentials: false
28+
29+
- uses: j178/prek-action@4e14d07f9231acabce116ccfca13b13dd9755ece # v3.0.0
30+
1731
change-detection:
1832
permissions:
1933
contents: read
2034
pull-requests: read
21-
uses: ./.github/workflows/reusable-change-detection.yml
35+
uses: $/.github/workflows/reusable-change-detection.yml
2236

2337
cookie:
2438
needs: change-detection
2539
if: fromJSON(needs.change-detection.outputs.run-cookie)
2640
permissions:
2741
contents: read
28-
uses: ./.github/workflows/reusable-cookie.yml
42+
uses: $/.github/workflows/reusable-cookie.yml
2943

3044
rr-tests:
3145
needs: change-detection
3246
if: fromJSON(needs.change-detection.outputs.run-rr)
3347
permissions:
3448
contents: read
35-
uses: ./.github/workflows/reusable-rr-tests.yml
49+
uses: $/.github/workflows/reusable-rr-tests.yml
3650

3751
docs:
3852
needs: change-detection
3953
if: fromJSON(needs.change-detection.outputs.run-docs)
4054
permissions:
4155
contents: read
42-
uses: ./.github/workflows/reusable-docs.yml
56+
uses: $/.github/workflows/reusable-docs.yml
4357

4458
pass:
4559
if: always()
4660
needs:
61+
- lint
4762
- change-detection
4863
- cookie
4964
- rr-tests

‎.github/workflows/reusable-rr-tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
fetch-depth: 0
4747

4848
- name: Run sp-repo-review action
49-
uses: ./
49+
uses: $/
5050

5151
cog:
5252
name: Run cog on README

‎.pre-commit-config.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
- id: trailing-whitespace
2424

2525
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: "v0.16.4"
26+
rev: "v0.16.5"
2727
hooks:
2828
- id: ruff-check
2929
args: ["--fix"]
@@ -60,19 +60,19 @@ repos:
6060
types_or: [yaml, html, css, scss, javascript, json]
6161

6262
- repo: https://github.com/rvben/rumdl-pre-commit
63-
rev: "v0.2.60"
63+
rev: "v0.2.62"
6464
hooks:
6565
- id: rumdl
6666
args: [--no-exclude] # Disable all exclude patterns
6767

6868
- repo: https://github.com/crate-ci/typos
69-
rev: "v1.49.0"
69+
rev: "v1.50.0"
7070
hooks:
7171
- id: typos
7272
exclude: ^Gemfile\.lock$
7373

7474
- repo: https://github.com/zizmorcore/zizmor-pre-commit
75-
rev: "v1.29.0"
75+
rev: "v1.30.0"
7676
hooks:
7777
- id: zizmor
7878

‎docs/guides/security.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ it as a pre-commit hook or as a GitHub Action:
6868

6969
```yaml
7070
- repo: https://github.com/zizmorcore/zizmor-pre-commit
71-
rev: "v1.29.0"
71+
rev: "v1.30.0"
7272
hooks:
7373
- id: zizmor
7474
```

‎docs/guides/style.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Here is the snippet to add the formatter to your `.pre-commit-config.yml`
148148

149149
```yaml
150150
- repo: https://github.com/astral-sh/ruff-pre-commit
151-
rev: "v0.16.4"
151+
rev: "v0.16.5"
152152
hooks:
153153
# id: ruff-check would go here if using both
154154
- id: ruff-format
@@ -216,7 +216,7 @@ your code and your docs. Add `markdown` to the `ruff-format` hook's `types_or`:
216216

217217
```yaml
218218
- repo: https://github.com/astral-sh/ruff-pre-commit
219-
rev: "v0.16.4"
219+
rev: "v0.16.5"
220220
hooks:
221221
- id: ruff-format
222222
types_or: [python, pyi, jupyter, markdown, pyproject]
@@ -256,7 +256,7 @@ pre-commit hook.
256256

257257
```yaml
258258
- repo: https://github.com/astral-sh/ruff-pre-commit
259-
rev: "v0.16.4"
259+
rev: "v0.16.5"
260260
hooks:
261261
- id: ruff-check
262262
args: ["--fix", "--show-fixes"]
@@ -568,7 +568,7 @@ pre-commit config will work:
568568

569569
```yaml
570570
- repo: https://github.com/PyCQA/isort
571-
rev: "8.0.1"
571+
rev: "9.0.1"
572572
hooks:
573573
- id: isort
574574
```
@@ -672,7 +672,7 @@ with `additional_dependencies`, and pass extra flags via `args`.
672672
:sync: ty
673673
```yaml
674674
- repo: https://github.com/astral-sh/ty-pre-commit
675-
rev: "v0.0.74"
675+
rev: "v0.0.75"
676676
hooks:
677677
- id: ty
678678
```
@@ -909,7 +909,7 @@ integration.
909909

910910
```yaml
911911
- repo: https://github.com/crate-ci/typos
912-
rev: "v1.49.0"
912+
rev: "v1.50.0"
913913
hooks:
914914
- id: typos
915915
args: []
@@ -990,7 +990,7 @@ following pre-commit config:
990990

991991
```yaml
992992
- repo: https://github.com/pre-commit/mirrors-clang-format
993-
rev: "v22.1.8"
993+
rev: "v23.1.0"
994994
hooks:
995995
- id: clang-format
996996
types_or: [c++, c, cuda]

‎{{cookiecutter.project_name}}/.pre-commit-config.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ repos:
3737
args: [--prose-wrap=always]
3838

3939
- repo: https://github.com/astral-sh/ruff-pre-commit
40-
rev: "v0.16.4"
40+
rev: "v0.16.5"
4141
hooks:
4242
- id: ruff-check
4343
args: ["--fix"]
@@ -47,7 +47,7 @@ repos:
4747
{%- if cookiecutter.backend in ["pybind11", "skbuild", "mesonpy"] %}
4848

4949
- repo: https://github.com/pre-commit/mirrors-clang-format
50-
rev: "v22.1.8"
50+
rev: "v23.1.0"
5151
hooks:
5252
- id: clang-format
5353
types_or: [c++, c, cuda]
@@ -113,7 +113,7 @@ repos:
113113
{%- if cookiecutter.__ci == "github" %}
114114

115115
- repo: https://github.com/zizmorcore/zizmor-pre-commit
116-
rev: "v1.29.0"
116+
rev: "v1.30.0"
117117
hooks:
118118
- id: zizmor
119119
{%- endif %}

0 commit comments

Comments
 (0)