Skip to content

Commit 9c65823

Browse files
rtibblesbotclaude
andcommitted
fix: align pre-commit hook versions and fix actionlint warning
- Update ruff-pre-commit from v0.11.4 to v0.15.7 to match project's ruff version, preventing formatting differences between generate script and prek's ruff hook - Update uv-pre-commit from 0.7.2 to 0.11.2 to fix TOML parse error on exclude-newer timestamp format - Quote shell variables in finalized_specs.yml to fix actionlint SC2086 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2ab08be commit 9c65823

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/finalized_specs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- id: changes
2020
# Set outputs using the command.
2121
run: |
22-
echo "modified=$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep spec/labels-v1.json$ | xargs)" >> "$GITHUB_OUTPUT"
22+
echo "modified=$(git diff --name-only --diff-filter=ACMRT "${{ github.event.pull_request.base.sha }}" "${{ github.sha }}" | grep spec/labels-v1.json$ | xargs)" >> "$GITHUB_OUTPUT"
2323
unit_test:
2424
name: Error if finalized spec modified
2525
needs: change_check

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ repos:
1919
- id: end-of-file-fixer
2020
exclude: '^.+?(\.json|\.po)$'
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.11.4
22+
rev: v0.15.7
2323
hooks:
2424
- id: ruff
2525
args: [--fix]
2626
- id: ruff-format
2727
- repo: https://github.com/astral-sh/uv-pre-commit
28-
rev: 0.7.2
28+
rev: 0.11.2
2929
hooks:
3030
- id: uv-lock
3131
- repo: https://github.com/google/yamlfmt

0 commit comments

Comments
 (0)