Skip to content

Commit 945436e

Browse files
TomeHirataclaude
andcommitted
Address review comments and add more supply chain protections
- Pin uv version to 0.7.13 instead of "latest" in all workflows - Pin pre-commit hooks to commit SHAs for ruff, pre-commit-hooks, and typos - Add github-actions ecosystem to Dependabot for automated updates 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 20edaaf commit 945436e

5 files changed

Lines changed: 12 additions & 8 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "pip" # See documentation for possible values
9-
directory: "/" # Location of package manifests
8+
- package-ecosystem: "pip"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
1014
schedule:
1115
interval: "weekly"

.github/workflows/build-doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install uv
2121
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
2222
with:
23-
version: "latest"
23+
version: "0.7.13"
2424

2525
- name: Install dependencies
2626
run: |

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install uv
2626
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
2727
with:
28-
version: "latest"
28+
version: "0.7.13"
2929

3030
- name: Install dependencies
3131
run: |

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install uv
2121
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
2222
with:
23-
version: "latest"
23+
version: "0.7.13"
2424

2525
- name: Install build dependencies
2626
run: |

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.12.7
3+
rev: 4cbc74d53fe5634e58e0e65db7d28939c9cec3f7 # v0.12.7
44
hooks:
55
- id: ruff
66
name: ruff (linter)
77
args: [--fix]
88
- id: ruff-format
99
name: ruff (formatter)
1010
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: v5.0.0
11+
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # v5.0.0
1212
hooks:
1313
- id: trailing-whitespace
1414
- id: end-of-file-fixer
1515
- id: check-merge-conflict
1616
- id: check-yaml
1717
- id: check-toml
1818
- repo: https://github.com/crate-ci/typos
19-
rev: v1.28.1
19+
rev: 7735742fe15f92eb88e4660c70ae0184c4a57502 # v1.28.1
2020
hooks:
2121
- id: typos
2222
args: [--write-changes]

0 commit comments

Comments
 (0)