You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: harden CI with frozen installs and octo-sts token federation
## What
Add --frozen and --python flags to all CI uv sync calls, and replace
GITHUB_TOKEN with an octo-sts OIDC-federated token in the
update-uv-lock workflow so its commits trigger subsequent CI runs.
## Why
Without --frozen, uv sync silently re-resolves dependencies when
uv.lock is out of date, masking lockfile staleness in CI. Without
--python, the CI matrix may use the runner's default Python instead of
the intended version. Commits made with GITHUB_TOKEN do not trigger
subsequent workflow runs, so Dependabot PRs with uv.lock updates were
not getting CI checks on the lockfile commit.
## Notes
- python-ci.yml: uv sync --frozen --python ${{ matrix.python-version }}
- super-linter.yaml: uv sync --frozen
- copilot-setup-steps.yml: uv sync --frozen --python 3.14
- Trust policy in .github/chainguard/update-uv-lock.sts.yaml scoped to
pull_request events with job_workflow_ref matching update-uv-lock.yml
- Requires octo-sts app installed on the org
Signed-off-by: jmeridth <jmeridth@gmail.com>
0 commit comments