diff --git a/.github/workflows/release_merge_pr.yml b/.github/workflows/release_merge_pr.yml deleted file mode 100644 index c7123f64a1..0000000000 --- a/.github/workflows/release_merge_pr.yml +++ /dev/null @@ -1,25 +0,0 @@ -# Validates and merges release PRs after they have been approved. -name: Merge V1 Release PR - -on: - pull_request_review: - types: - - submitted - -permissions: - contents: write - pull-requests: write - -jobs: - check: - name: Validate and Merge PR - runs-on: ubuntu-latest - if: "${{ github.event.pull_request.base.ref == 'release-v1' && github.event.pull_request.head.ref == 'v1' && github.event.pull_request.title == 'chore: kickoff v1 release' && github.event.review.state == 'approved' }}" - - steps: - - name: Merge PR - shell: bash - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PR: ${{ github.event.pull_request.number }} - run: "gh pr merge $PR --repo aws-amplify/amplify-ios --merge --subject 'chore: kickoff release' --body ''"