From 20fa7f753aa730aff5517d0c4c7d5ed7768740f9 Mon Sep 17 00:00:00 2001 From: berfinyuksel <99557970+berfinyuksel@users.noreply.github.com> Date: Tue, 6 Oct 2026 09:28:18 +0200 Subject: [PATCH] Pass SYNC_TOKEN to the studio frontend build Build commits are pushed as pimcore-deployments and only on version branches; PR runs upload the build as an artifact instead (pimcore/workflows-collection-public#168, DevOps-Tasks#65). The push run no longer cancels an in-progress run, the head-commit check in the reusable prevents a commit loop. --- .github/workflows/studio-frontend-build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/studio-frontend-build.yml b/.github/workflows/studio-frontend-build.yml index c795d77..09418fb 100644 --- a/.github/workflows/studio-frontend-build.yml +++ b/.github/workflows/studio-frontend-build.yml @@ -8,11 +8,12 @@ on: pull_request: paths: - "assets/**" + - ".github/workflows/studio-frontend-build.yml" workflow_dispatch: concurrency: group: studio-frontend-build-packaged-${{ github.head_ref || github.ref_name }} - cancel-in-progress: true + cancel-in-progress: ${{ github.event_name != 'push' }} permissions: contents: write @@ -22,3 +23,5 @@ jobs: uses: pimcore/workflows-collection-public/.github/workflows/reusable-studio-frontend-build-packaged.yaml@main with: working-directory: assets + secrets: + SYNC_TOKEN: ${{ secrets.SYNC_TOKEN }}