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