From a7b662a87df352037b1d53b2f40b7bbb64e20cbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Vachette?= <5880528+michaelva@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:01:10 +0900 Subject: [PATCH] Fix workflow commit branch --- .github/workflows/update_parent_nuxeo_version.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update_parent_nuxeo_version.yml b/.github/workflows/update_parent_nuxeo_version.yml index efa83fc..322f06c 100644 --- a/.github/workflows/update_parent_nuxeo_version.yml +++ b/.github/workflows/update_parent_nuxeo_version.yml @@ -11,10 +11,11 @@ name: Update Nuxeo Version on: workflow_dispatch: - targetVersion: - description: 'The target nuxeo version to apply' - required: true - type: string + inputs: + targetVersion: + description: 'The target nuxeo version to apply' + required: true + type: string jobs: build: @@ -43,7 +44,7 @@ jobs: ] - name: Build with Maven - run: mvn versions:update-parent -DparentVersion=${{ inputs.targetVersion }} -DskipResolution=${{ inputs.targetVersion && 'true' || 'false' }} + run: mvn versions:update-parent -DparentVersion=${{ inputs.targetVersion }} -DskipResolution=${{ inputs.targetVersion && 'true' || 'false' }} -DgenerateBackupPoms=false - name: Set up Git configuration run: | @@ -59,4 +60,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - git push origin HEAD:main + git push origin HEAD:${{ github.ref_name }}