From 531d96bd4c26133a33c89b6d14afb197a3c575a4 Mon Sep 17 00:00:00 2001 From: Sebastian Villena <97059974+ruisebas@users.noreply.github.com> Date: Tue, 9 Jan 2024 11:24:17 -0500 Subject: [PATCH] chore: Removing old v1 workflow --- .github/workflows/release_merge_pr.yml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/release_merge_pr.yml 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 ''"