From fb219242563e17b4ec5969a243455b2b104dfbc1 Mon Sep 17 00:00:00 2001 From: Christopher Sunkel Date: Mon, 15 Jul 2024 11:32:14 +0100 Subject: [PATCH] Remove GH actions to update migration-deploy (#6995) --- .../update-migration-branch-from-govpaas.yml | 34 ------------------- .github/workflows/update-migration-branch.yml | 34 ------------------- 2 files changed, 68 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 027e9817dc3..00000000000 --- 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 0f9f5b4cb22..00000000000 --- a/.github/workflows/update-migration-branch.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 main - git fetch origin - git checkout migration-deploy - git pull - git merge origin/main - git push origin migration-deploy \ No newline at end of file