From b205b1145c37c904db341d0a7ce5f3ad1cf8d6f1 Mon Sep 17 00:00:00 2001 From: Dominik Pfaffenbauer Date: Thu, 3 Sep 2026 20:13:03 +0200 Subject: [PATCH] Drop the push trigger on release/** from the Studio build caller A release pull request started a push run and a pull_request run for the same commit; the newer one cancelled the older in the shared concurrency group and the cancelled run counted as a failed check. Pull requests from this repository already build and commit the archives (workflow-collection#32). --- .github/workflows/frontend-build.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/frontend-build.yaml b/.github/workflows/frontend-build.yaml index b371e4f151..94ee157ac1 100644 --- a/.github/workflows/frontend-build.yaml +++ b/.github/workflows/frontend-build.yaml @@ -26,12 +26,15 @@ on: - 'rsbuild.template.config.ts' - 'studio-build.ts' - '.github/workflows/frontend-build.yaml' - # Pushes to the version branches and to release branches commit the packaged - # builds. The release branch build makes sure a release pull request already - # carries the final archives, so the tag created right after the merge is - # complete. + # Pushes to the version branches commit the packaged builds. Release branches + # are covered by their pull request: a pull request from this repository + # builds and commits the archives too, so the release pull request already + # carries the final archives and the tag created right after the merge is + # complete. A `push` trigger on `release/**` would start a second run for the + # same commit that cancels the first one in the concurrency group below, and + # the cancelled run counts as a failed check. push: - branches: [ '5.1', 'release/**' ] + branches: [ '5.1' ] paths: - 'src/CoreShop/Bundle/*/Resources/assets/pimcore-studio/**' - 'package.json'