automated-create-release-branch #7
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: Create Release Branch | |
on: | |
# Manual trigger from the Github Actions tab | |
workflow_dispatch: | |
inputs: | |
adapter-version: | |
type: string | |
description: 'Adapter version (e.g. ''4.9.2.0.0'')' | |
required: true | |
partner-version: | |
type: string | |
description: 'Partner version (e.g. ''~> 9.2.0'')' | |
required: true | |
default: '~> ' | |
# Automated trigger from a job running on an external repo | |
repository_dispatch: | |
types: | |
- automated-create-release-branch | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUBSERVICETOKEN }} | |
jobs: | |
create-release-branch: | |
runs-on: macos-latest | |
steps: | |
- uses: chartboost/chartboost-mediation-ios-actions/create-adapter-release-branch@v1 | |
with: | |
adapter-version: ${{ inputs.adapter-version || github.event.client_payload.adapter-version }} | |
partner-version: ${{ inputs.partner-version || github.event.client_payload.partner-version }} |