Skip to content

refactor: maturin.yml#20

Merged
qjerome merged 4 commits intomainfrom
ci-maturin-trigger
Mar 2, 2026
Merged

refactor: maturin.yml#20
qjerome merged 4 commits intomainfrom
ci-maturin-trigger

Conversation

@qjerome
Copy link
Collaborator

@qjerome qjerome commented Mar 2, 2026

Summary
Refactor CI workflow to detect tags from git repository and optimize release job execution.

Motivation
The release job previously relied on github.ref to detect tags, which doesn't work when tags are created by other workflows.

Changes

  • Add workflow_run trigger to automatically run maturin workflow after weekly PSL update
  • Remove if condition from release job that depended on github.ref
  • Create separate check-tag job to detect pyfaup-rs-v* tags using git tag --points-at HEAD
  • Make check-tag depend on all build jobs (linux, musllinux, windows, macos, sdist)
  • Add output to check-tag job indicating if matching tag exists
  • Make release job depend on check-tag instead of build jobs
  • Add conditional if to release job to only run when tag is present
  • Remove redundant conditional checks from release steps

Breaking Changes
None

@qjerome qjerome changed the title change: get tag from tree instead of github.ref refactor: maturin.yml Mar 2, 2026
@qjerome qjerome merged commit 37d816c into main Mar 2, 2026
19 checks passed
@qjerome qjerome deleted the ci-maturin-trigger branch March 3, 2026 10:01
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