From 4566371e75f5e3546c63ce0bb291f86391245ff1 Mon Sep 17 00:00:00 2001 From: Micha Date: Thu, 25 Jun 2026 17:07:52 +0200 Subject: [PATCH] add/changes --- .github/workflows/plugin_commercial_schema.yml | 7 +++++-- .github/workflows/plugin_customproducts_schema.yml | 7 +++++-- .github/workflows/plugin_digitalsalesroom_schema.yml | 7 +++++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/plugin_commercial_schema.yml b/.github/workflows/plugin_commercial_schema.yml index b142101..387f49a 100644 --- a/.github/workflows/plugin_commercial_schema.yml +++ b/.github/workflows/plugin_commercial_schema.yml @@ -48,6 +48,8 @@ jobs: name: "Open a pull request" runs-on: ubuntu-latest needs: [ generate-schema,vars ] + env: + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} steps: - name: Checkout uses: actions/checkout@v4 @@ -80,6 +82,7 @@ jobs: author: shopwareBot committer: shopwareBot assignees: Isengo1989, sushmangupta, bojanrajh - branch: ${{ needs.vars.outputs.PLUGIN_NAME }}-schema-update + base: ${{ env.BRANCH_NAME }} + branch: ${{ needs.vars.outputs.PLUGIN_NAME }}-schema-update-${{ env.BRANCH_NAME }} delete-branch: true - title: 'Update ${{ needs.vars.outputs.PLUGIN_NAME }} store API schema' + title: 'Update ${{ needs.vars.outputs.PLUGIN_NAME }} (${{ env.BRANCH_NAME }}) store API schema' diff --git a/.github/workflows/plugin_customproducts_schema.yml b/.github/workflows/plugin_customproducts_schema.yml index d141f0e..4607515 100644 --- a/.github/workflows/plugin_customproducts_schema.yml +++ b/.github/workflows/plugin_customproducts_schema.yml @@ -44,6 +44,8 @@ jobs: name: "Open a pull request" runs-on: ubuntu-latest needs: [ generate-schema,vars ] + env: + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} steps: - name: Checkout uses: actions/checkout@v4 @@ -76,6 +78,7 @@ jobs: author: shopwareBot committer: shopwareBot assignees: Isengo1989, sushmangupta, bojanrajh - branch: ${{ needs.vars.outputs.PLUGIN_NAME }}-schema-update + base: ${{ env.BRANCH_NAME }} + branch: ${{ needs.vars.outputs.PLUGIN_NAME }}-schema-update-${{ env.BRANCH_NAME }} delete-branch: true - title: 'Update ${{ needs.vars.outputs.PLUGIN_NAME }} store API schema' + title: 'Update ${{ needs.vars.outputs.PLUGIN_NAME }} (${{ env.BRANCH_NAME }}) store API schema' diff --git a/.github/workflows/plugin_digitalsalesroom_schema.yml b/.github/workflows/plugin_digitalsalesroom_schema.yml index 3942773..c5cc52d 100644 --- a/.github/workflows/plugin_digitalsalesroom_schema.yml +++ b/.github/workflows/plugin_digitalsalesroom_schema.yml @@ -50,6 +50,8 @@ jobs: name: "Open a pull request" runs-on: ubuntu-latest needs: [ generate-schema,vars ] + env: + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} steps: - name: Checkout uses: actions/checkout@v4 @@ -82,6 +84,7 @@ jobs: author: shopwareBot committer: shopwareBot assignees: Isengo1989, sushmangupta, bojanrajh - branch: ${{ needs.vars.outputs.PLUGIN_NAME }}-schema-update + base: ${{ env.BRANCH_NAME }} + branch: ${{ needs.vars.outputs.PLUGIN_NAME }}-schema-update-${{ env.BRANCH_NAME }} delete-branch: true - title: 'Update ${{ needs.vars.outputs.PLUGIN_NAME }} store API schema' \ No newline at end of file + title: 'Update ${{ needs.vars.outputs.PLUGIN_NAME }} (${{ env.BRANCH_NAME }}) store API schema' \ No newline at end of file