Skip to content

Commit

Permalink
Add automated create release branch workflow (#35)
Browse files Browse the repository at this point in the history
* Add workflow to create a release branch from an automated script

* Merge workflows
  • Loading branch information
daniel-barros authored Jan 16, 2024
1 parent 681ab58 commit 8c10223
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/create-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
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 }}
Expand All @@ -23,5 +27,5 @@ jobs:
steps:
- uses: chartboost/chartboost-mediation-ios-actions/create-adapter-release-branch@v1
with:
adapter-version: ${{ inputs.adapter-version }}
partner-version: ${{ inputs.partner-version }}
adapter-version: ${{ inputs.adapter-version || github.event.client_payload.adapter-version }}
partner-version: ${{ inputs.partner-version || github.event.client_payload.partner-version }}

0 comments on commit 8c10223

Please sign in to comment.