Skip to content

Add scheduled workflow to auto-bump the pinned pixi version - #11

Open
mkitti wants to merge 1 commit into
mainfrom
add-pixi-version-check-workflow
Open

mkitti wants to merge 1 commit into
mainfrom
add-pixi-version-check-workflow

Conversation

@mkitti

@mkitti mkitti commented Sep 29, 2026

Copy link
Copy Markdown

Summary

  • Adds .github/workflows/check-pixi-version.yml, a scheduled workflow (weekly, plus manual workflow_dispatch) that:
    1. Looks up the latest pixi release via the GitHub API (prefix-dev/pixi).
    2. Compares it to the PIXI_VERSION pinned in src/appose/tool/pixi.py.
    3. If they differ, updates the pin and opens a pull request via peter-evans/create-pull-request (branch bump-pixi-version-auto, reused/updated on subsequent runs rather than duplicated).
  • The existing build.yml CI then runs the full test suite against the bump automatically, since it triggers on pull_request to main.
  • Related to Bump pinned pixi version from v0.58.0 to v0.81.0 #10, which bumped the pin manually after v0.58.0 was found to have a repodata-fetching bug; this workflow is meant to keep the pin from drifting that far out of date again.

Test plan

  • Validated the workflow YAML parses correctly.
  • Verified the version-extraction regex against the current pixi.py (grep -oP 'PIXI_VERSION: str = "\K[^"]+').
  • Verified the sed replacement produces the expected updated pin.
  • Verified gh api repos/prefix-dev/pixi/releases/latest --jq .tag_name returns the expected tag format (v0.81.0).
  • First live scheduled/dispatched run (can't fully dry-run peter-evans/create-pull-request locally — recommend triggering via workflow_dispatch after merge to confirm PR creation end-to-end).

Adds check-pixi-version.yml, which runs weekly (and on manual
dispatch): it compares the PIXI_VERSION pinned in
src/appose/tool/pixi.py against the latest pixi GitHub release, and
opens a pull request updating the pin when a newer version is
available. The existing build.yml CI then exercises the bump via its
normal pull_request trigger.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant