Skip to content

ci(flake-sources): fire on tag-triggered Desktop Release runs - #230

Merged
robcohen merged 2 commits into
mainfrom
fix/flake-sources-tag-trigger
Jul 2, 2026
Merged

robcohen merged 2 commits into
mainfrom
fix/flake-sources-tag-trigger

Conversation

@robcohen

@robcohen robcohen commented Jul 2, 2026

Copy link
Copy Markdown
Member

Found during the v1.31.0 release: the workflow_run trigger filtered to branches: [main], but a tag-triggered Desktop Release run carries the tag as head_branch (v1.31.0) — so the flake-sources automation has never fired for an actual release. The job-level if even expects head_branch to start with v, directly contradicting the trigger filter (every run it ever saw was a main-branch run, correctly skipped).

Fix: drop the branches: filter from the trigger — the job-level condition already does the real gating (success + v* head branch, or manual dispatch).

v1.31.0 itself was worked around via workflow_dispatch.

🤖 Generated with Claude Code

The workflow_run trigger filtered to branches: [main], but tag-triggered
Desktop Release runs carry the TAG as head_branch — so the flake-sources
automation never fired for an actual release (the job-level if even expects
head_branch to start with 'v', contradicting the filter). Drop the branch
filter; the job-level condition already gates correctly. Found during the
v1.31.0 release; worked around via workflow_dispatch.
@robcohen
robcohen force-pushed the fix/flake-sources-tag-trigger branch from 19cc96f to 3b4206b Compare July 2, 2026 20:55
@robcohen
robcohen enabled auto-merge (squash) July 2, 2026 20:55
- PyPI publishes without a manual environment approval
- flake-sources fires on the tag's Desktop Release completion (not
  release:published), with a manual-dispatch fallback documented
- GHCR image tags have no 'v' prefix
@robcohen
robcohen merged commit 11ec8ea into main Jul 2, 2026
28 checks passed
@robcohen
robcohen deleted the fix/flake-sources-tag-trigger branch July 2, 2026 21:02
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