From c4f5e0f1f160ed6e9aad8be22ff6385faeb2c822 Mon Sep 17 00:00:00 2001 From: sushmita Date: Thu, 23 May 2024 16:40:18 +0200 Subject: [PATCH] Use the working version of automation action, Change the target branch to develop for testing, Remove github-release input to get rid of deprecation message --- .github/workflows/create-release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 70d77c659..de0ce79d3 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -18,8 +18,9 @@ on: pull_request: types: - closed + # 'develop' is for testing only, change this value to 'main' before merging to main branches: - - main + - develop jobs: release: @@ -32,12 +33,13 @@ jobs: uses: actions/checkout@v4 - name: Prepare the next main release - uses: Adyen/release-automation-action@v1.3.0 + uses: Adyen/release-automation-action@v1.2.0 with: token: ${{ secrets.GITHUB_TOKEN }} - develop-branch: main + # change this value to 'main' before merging to 'main', this value should be the same as 'on->pull_request->branches' + develop-branch: develop version-files: composer.json release-title: Adyen Magento-2 Plugin pre-release: ${{ inputs.pre-release || false }} - github-release: ${{ inputs.github-release || false }} +# github-release: ${{ inputs.github-release || false }} separator: .pre.beta