Skip to content

Commit c52ef2f

Browse files
authored
Merge pull request #14 from RoboFinSystems/chore/ci-dependency-posture
chore(ci): SHA-pin third-party actions, add uv Dependabot coverage
2 parents 7380916 + 20ea63c commit c52ef2f

4 files changed

Lines changed: 36 additions & 3 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,42 @@
11
version: 2
2+
23
updates:
4+
# Python — uv dependencies in pyproject.toml
5+
- package-ecosystem: 'uv'
6+
directory: '/'
7+
schedule:
8+
interval: 'monthly'
9+
labels:
10+
- 'dependencies'
11+
# uv.lock is committed, so Dependabot maintains the lock as well as
12+
# pyproject.toml. No groups: the dependency set is two packages
13+
# (robosystems-client, httpx) and they are unrelated.
14+
#
15+
# Note this repo is a template that customers copy, so whatever posture it
16+
# carries propagates outward. That is the argument for keeping its config
17+
# exemplary rather than minimal.
18+
319
# GitHub Actions — pinned action versions
420
- package-ecosystem: 'github-actions'
521
directory: '/'
622
schedule:
723
interval: 'monthly'
824
labels:
925
- 'dependencies'
26+
groups:
27+
github-actions:
28+
patterns:
29+
- '*'
30+
update-types:
31+
- 'minor'
32+
- 'patch'
33+
ignore:
34+
# Held across the fleet: the robosystems backend pins v8.3.2 and ignores
35+
# majors because v9 flipped `prune-cache` to false and would grow its uv
36+
# cache. This repo is already on v8.3.2, the same pin, so there is
37+
# nothing to reconcile — the ignore just stops the major being re-offered
38+
# every month. Drop this entry when the backend takes a setup-uv major,
39+
# and move in step with it.
40+
- dependency-name: 'astral-sh/setup-uv'
41+
update-types:
42+
- 'version-update:semver-major'

‎.github/workflows/claude.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Run Claude Code
3939
id: claude
40-
uses: anthropics/claude-code-action@v1
40+
uses: anthropics/claude-code-action@a874e9ecd7bb36efdad65429c6b35815f5a08f10 # v1
4141
with:
4242
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
4343

‎.github/workflows/run.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
python-version: '3.13'
3838

3939
- name: Install uv
40-
uses: astral-sh/setup-uv@v8.3.2
40+
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
4141

4242
- name: Install dependencies
4343
run: uv sync

‎.github/workflows/test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
python-version: "3.13"
2121

2222
- name: Install uv
23-
uses: astral-sh/setup-uv@v8.3.2
23+
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
2424

2525
- name: Install dependencies
2626
run: |

0 commit comments

Comments
 (0)