Update all services #112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prepare release | |
on: | |
workflow_dispatch: | |
inputs: | |
pre-release: | |
required: false | |
type: boolean | |
default: false | |
description: "This release will be labeled as non-production ready" | |
pull_request: | |
types: | |
- closed | |
branches: | |
- main | |
jobs: | |
candidate: | |
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged && !startsWith(github.head_ref, 'promote/')) | |
permissions: | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare the next main release | |
uses: Adyen/[email protected] | |
with: | |
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }} | |
develop-branch: main | |
version-files: Adyen/Adyen.csproj Adyen.Test/Adyen.Test.csproj Adyen/Constants/ClientConfig.cs | |
pre-release: ${{ inputs.pre-release || false }} |