Skip to content

Studio Frontend Build: scope push trigger to version branches - #1130

Closed
berfinyuksel wants to merge 1 commit into
2026.xfrom
fix/sfb-push-trigger-scope-2026.x
Closed

Studio Frontend Build: scope push trigger to version branches#1130
berfinyuksel wants to merge 1 commit into
2026.xfrom
fix/sfb-push-trigger-scope-2026.x

Conversation

@berfinyuksel

Copy link
Copy Markdown
Contributor

Part of the fleet-wide fix tracked in pimcore/DevOps-Tasks#2.

Problem

On PRs, Studio Frontend Build shows cancelled (push) checks and a red "Some checks were not successful", because the workflow triggers on both push and pull_request for the same commit, landing in the same concurrency group (cancel-in-progress then cancels one).

Fix

Scope push to version branches (which have no PR); keep pull_request for all PRs. Each PR then triggers exactly one run — same-repo and fork PRs both build via pull_request (so external contributors still see if their change breaks the build), version branches build+commit via push, nothing collides.

Paths are unchanged. Verify post-merge with an assets/studio/** PR: one clean run, no cancelled (push).

Copilot AI review requested due to automatic review settings July 24, 2026 08:58
@berfinyuksel
berfinyuksel requested a review from bluvulture as a code owner July 24, 2026 08:58
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Verdict: LGTM. The workflow now prevents duplicate PR builds by restricting push runs to version branches.

Changes:

  • Adds version-branch filters to the push trigger (.github/workflows/studio-frontend-build.yaml:5-7).
  • Keeps pull-request and path triggers unchanged.

The change addresses the root cause at the workflow boundary, covers the sole trigger, and introduces no API or compatibility changes. No documentation update is needed. Automated trigger regression testing has no practical local seam; post-merge verification remains advisable.

@berfinyuksel berfinyuksel added this to the 2026.3.0 milestone Jul 24, 2026
@berfinyuksel
berfinyuksel marked this pull request as draft July 24, 2026 09:40
@berfinyuksel

Copy link
Copy Markdown
Contributor Author

Closing: superseded by #1131 on the lowest applicable branch (2026.2). The change reaches 2026.x via upstream forward-merge.

@github-actions github-actions Bot locked and limited conversation to collaborators Aug 21, 2026
@berfinyuksel berfinyuksel removed this from the 2026.3.0 milestone Sep 3, 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.

3 participants