Skip to content

Commit

Permalink
Revert "chore: Adding checkbox validations to the release workflow tr…
Browse files Browse the repository at this point in the history
…igger (#3376)" (#3397)

This reverts commit b9b5918.
  • Loading branch information
5d authored Dec 5, 2023
1 parent 8379491 commit 274ca6a
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/release_kickoff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,13 @@ 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:
validation:
name: Validation
runs-on: ubuntu-latest
if: inputs.clearDays == false || inputs.revertMain == false
steps:
- run: |
echo '❌ You need to acknowledge the input validations before releasing ❌'
exit 1
release:
name: Release
needs: validation
runs-on: macos-12

steps:
Expand Down

0 comments on commit 274ca6a

Please sign in to comment.