Skip to content

Commit

Permalink
Make it ready for develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmita committed May 24, 2024
1 parent 819b53f commit e1764db
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,23 @@ name: Release

on:
push:

# Manual run from Github UI (e.g. for when a merged PR labels have changed)
workflow_dispatch:
inputs:
pre-release:
required: false
type: boolean
default: false
description: "This release will be labeled as non-production ready"
# Publish the current version now, useful if the automated run failed
github-release:
required: false
type: boolean
default: false
description: "Publish Github release for the current version"
# Monitor pull request events

pull_request:
types:
- closed
Expand All @@ -27,7 +36,6 @@ jobs:
# TODO: Remove after finalising
- name: Checkout
uses: actions/checkout@v4

- name: Debug
run: |
ls -la
Expand All @@ -38,9 +46,11 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
# TODO: change this value to 'main' before merging to 'main', this value should be the same as 'on->pull_request->branches'
develop-branch: ECP-9213
develop-branch: develop
version-files: composer.json
release-title: Adyen Magento-2 Plugin
pre-release: ${{ inputs.pre-release || false }}
# For a manual Github release
github-release: ${{ inputs.github-release || false }}
separator: .pre.beta

0 comments on commit e1764db

Please sign in to comment.