Skip to content

CI: trigger frontend build on pushes to N.x version branches#3873

Merged
markus-moser merged 1 commit into
2026.xfrom
ci/frontend-build-push-trigger-x-branches
Jul 10, 2026
Merged

CI: trigger frontend build on pushes to N.x version branches#3873
markus-moser merged 1 commit into
2026.xfrom
ci/frontend-build-push-trigger-x-branches

Conversation

@markus-moser

@markus-moser markus-moser commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Add [0-9]+.x to push.branches in .github/workflows/frontend-build-pr.yaml so 2026.x runs the frontend build on every push — same as 2025.4 and 2026.2 already do.

The pipeline rebuilds and repackages on every push, and package-build.cjs sweeps any stray build-dist/build-*.zip as a side effect. That makes the "two archives after a bad merge" state self-heal. Today it only self-heals on [0-9]+.[0-9]+ branches; this extends it to [0-9]+.x.

The pipeline already runs on pushes to N.N version branches (2025.4,
2026.2, ...) and rebuilds/repackages the frontend, which incidentally
sweeps any stray build-dist/build-*.zip via package-build.cjs. This means
the two-zip state that can result from a bad merge self-heals on the next
push to those branches.

The 2026.x development branch is not covered by the current [0-9]+.[0-9]+
glob, so a merge that lands two archives on 2026.x is not repaired until
someone changes assets/**. Add [0-9]+.x to close that gap.

No new logic, no guard step - the existing pipeline is the guard.
@sonarqubecloud

Copy link
Copy Markdown

@markus-moser markus-moser marked this pull request as ready for review July 10, 2026 10:23
@markus-moser markus-moser merged commit 15055a7 into 2026.x Jul 10, 2026
14 checks passed
@markus-moser markus-moser deleted the ci/frontend-build-push-trigger-x-branches branch July 10, 2026 10:23
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant