Release Amplify iOS #84
Workflow file for this run
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
# Creates a PR to push main to release branch to kick-off the release workflow | |
name: Release Amplify iOS | |
on: | |
workflow_dispatch: | |
inputs: | |
clearDays: | |
description: 'I confirm that today is either a CLEAR day or we have approval for release' | |
required: true | |
default: false | |
type: boolean | |
revertMain: | |
description: 'All previous commits to main have been reverted' | |
required: true | |
default: false | |
type: boolean | |
permissions: | |
pull-requests: write | |
jobs: | |
release: | |
name: Release | |
if: inputs.clearDays && inputs.revertMain | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | |
- name: Create PR to push main to release branch | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: "gh pr create --title 'chore: kickoff release' --body 'kickoff release' --head main --base release" |