Skip to content

Commit

Permalink
Use the working version of automation action, Change the target branc…
Browse files Browse the repository at this point in the history
…h to develop for testing, Remove github-release input to get rid of deprecation message
  • Loading branch information
sushmita committed May 23, 2024
1 parent 00877e1 commit c4f5e0f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit c4f5e0f

Please sign in to comment.