Skip to content

ci(ui): run the UI workflow once per PR branch - #768

Merged
zaebee merged 1 commit into
mainfrom
ci/ui-single-run
Oct 31, 2026
Merged

zaebee merged 1 commit into
mainfrom
ci/ui-single-run

Conversation

@zaebee

@zaebee zaebee commented Oct 31, 2026

Copy link
Copy Markdown
Owner

ui.yml listed feat/**, fix/** and docs/** in its push trigger next to the pull_request trigger, so every push to a PR branch started the workflow twice on one SHA.

Seen on #766: two identical UI Verification checks, 18s (push) and 22s (pull_request).

ci.yml lost the same patterns in #756 for exactly this reason; ui.yml was missed then because #756 only touched ci.yml.

Change

  • on.push.branches: [main, dev, "feat/**", "fix/**", "docs/**"] → [main, dev]
  • Comment explains the rule and points at ci.yml's version of it
  • dev stays: a pull_request event only covers PRs into main
  • Path filter unchanged, so a UI change still runs the job exactly once per PR

Verification

This PR itself is the check: it edits ui.yml, so the path filter matches. After the change there should be exactly one UI Verification run on it, from pull_request.

ui.yml listed feat/**, fix/** and docs/** in its push trigger next to the
pull_request trigger, so every push to a PR branch started it twice on one
SHA. #766 showed both: UI Verification passed at 18s (push) and 22s
(pull_request).

ci.yml lost the same patterns in #756 for the same reason; ui.yml was
missed then. Keep main and dev — a pull_request event only covers PRs
into main — and let the path filter do the rest.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@sonarqubecloud

Copy link
Copy Markdown

@zaebee
zaebee merged commit 1c7a771 into main Oct 31, 2026
5 checks passed
@zaebee
zaebee deleted the ci/ui-single-run branch October 31, 2026 11:41
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