Skip to content

fix(ci): tag from whatever branch the repo calls its trunk - #13

Merged
Xyzcancer merged 1 commit into
masterfrom
fix/deploy-trigger-default-branch
Aug 5, 2026
Merged

fix(ci): tag from whatever branch the repo calls its trunk#13
Xyzcancer merged 1 commit into
masterfrom
fix/deploy-trigger-default-branch

Conversation

@Xyzcancer

Copy link
Copy Markdown
Contributor

deploy.yaml fired on a hardcoded master, so it never ran in the personaclick mirror, whose default branch is main — no tag was ever pushed there and publish.yaml, which triggers on tags, never got a chance to publish.

on: cannot express this: it takes literal branch names and does not evaluate ${{ }}. So the workflow now starts on any branch push and the trunk check moves into the job, where expressions do work. Pushes to other branches start the run and stop at the if, which GitHub reports as conclusion "skipped" — not "success" — so sync.yaml's workflow_run gate stays untouched.

Tag pushes are excluded by '**', which matches branches only.

deploy.yaml fired on a hardcoded `master`, so it never ran in the personaclick
mirror, whose default branch is `main` — no tag was ever pushed there and
publish.yaml, which triggers on tags, never got a chance to publish.

`on:` cannot express this: it takes literal branch names and does not evaluate
${{ }}. So the workflow now starts on any branch push and the trunk check moves
into the job, where expressions do work. Pushes to other branches start the run
and stop at the `if`, which GitHub reports as conclusion "skipped" — not
"success" — so sync.yaml's workflow_run gate stays untouched.

Tag pushes are excluded by '**', which matches branches only.
@Xyzcancer
Xyzcancer merged commit 5763ae7 into master Aug 5, 2026
2 of 3 checks passed
@Xyzcancer
Xyzcancer deleted the fix/deploy-trigger-default-branch branch August 5, 2026 09:23
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