Skip to content

[balanceplatform] Code generation: update services and models #145

[balanceplatform] Code generation: update services and models

[balanceplatform] Code generation: update services and models #145

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
pre-release:
required: false
type: boolean
default: false
description: "This release will be labeled as non-production ready"
github-release:
required: false
type: boolean
default: false
description: "Publish Github release for the current version"
# Monitor pull request events
pull_request:
types:
- closed
branches:
- main
jobs:
release:
# Run on workflow_dispatch OR when PR is merged from same repository
if: ${{ github.event_name != 'pull_request' || (github.event.pull_request.merged == true && github.event.pull_request.head.repo.full_name == github.repository) }}
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Prepare the next main release
uses: Adyen/release-automation-action@f5e0d6e68f1b203beb443efcabc680e087c2d334 # v1.3.1
with:
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
develop-branch: main
version-files: setup.py Adyen/settings.py
release-title: Adyen Python API Library
pre-release: ${{ inputs.pre-release || false }}
github-release: ${{ inputs.github-release || false }}
separator: .pre.beta