Skip to content

refactor(transparency): resolve method families via own algorithm_registry; drop framework hardcoding #806

refactor(transparency): resolve method families via own algorithm_registry; drop framework hardcoding

refactor(transparency): resolve method families via own algorithm_registry; drop framework hardcoding #806

name: Sync uv.lock on Release Please PRs
# Runs when the release PR branch is updated by something other than GITHUB_TOKEN (e.g. a user push), because
# pushes performed with GITHUB_TOKEN do not trigger new workflow runs. Release Please runs lock sync in release-please.yml.
on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened]
concurrency:
group: sync-lock-${{ github.head_ref }}
cancel-in-progress: true
jobs:
sync-lock:
if: startsWith(github.head_ref, 'release-please--')
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v7
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v6
with:
python-version: "3.13"
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: uv.lock
- name: Regenerate uv.lock
run: |
uv lock
# example/ is a standalone consumer project; its lock pins raitap via
# the editable path dep, so a version bump leaves it stale unless we
# relock it here too.
uv lock --directory example
- name: Commit if changed
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add uv.lock example/uv.lock
if git diff --staged --quiet; then
echo "No uv.lock changes."
else
git commit -m "chore: sync uv.lock"
git push
fi