From 8872e9b9ac6de71a0f14cbb2447a261467c31d75 Mon Sep 17 00:00:00 2001 From: Christopher Sunkel Date: Mon, 15 Jul 2024 11:23:15 +0100 Subject: [PATCH] Remove migration actions (#602) --- .../update-migration-branch-from-govpaas.yml | 34 ------------------- .github/workflows/update-migration-branch.yml | 33 ------------------ 2 files changed, 67 deletions(-) delete mode 100644 .github/workflows/update-migration-branch-from-govpaas.yml delete mode 100644 .github/workflows/update-migration-branch.yml diff --git a/.github/workflows/update-migration-branch-from-govpaas.yml b/.github/workflows/update-migration-branch-from-govpaas.yml deleted file mode 100644 index 027e9817..00000000 --- a/.github/workflows/update-migration-branch-from-govpaas.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Update Migration Branch - -on: - pull_request: - types: - - closed - -permissions: - contents: write - -jobs: - sync: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Setup Git User - run: | - git config user.name "GitHub Action" - git config user.email "" - - - - name: Update Migration Branch - run: | - git checkout govuk-paas-deploy - git fetch origin - git checkout migration-deploy - git pull - git merge origin/govuk-paas-deploy - git push origin migration-deploy \ No newline at end of file diff --git a/.github/workflows/update-migration-branch.yml b/.github/workflows/update-migration-branch.yml deleted file mode 100644 index 9fc00a40..00000000 --- a/.github/workflows/update-migration-branch.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Update Migration Branch - -on: - pull_request: - types: - - closed - -permissions: - contents: write - -jobs: - sync: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Setup Git User - run: | - git config user.name "GitHub Action" - git config user.email "" - - - name: Update Migration Branch - run: | - git checkout master - git fetch origin - git checkout migration-deploy - git pull - git merge origin/master - git push origin migration-deploy