Skip to content

Release Amplify iOS #84

Release Amplify iOS

Release Amplify iOS #84

Workflow file for this run

# 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"