From ba674fb1afc6072c7a864a0c828306a96821d9f0 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 16 Jan 2023 18:37:43 +0000 Subject: [PATCH] Update release workflow --- .github/workflows/update-release-branch.yml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.github/workflows/update-release-branch.yml b/.github/workflows/update-release-branch.yml index 0907cb3cf..7c4f1c6e4 100644 --- a/.github/workflows/update-release-branch.yml +++ b/.github/workflows/update-release-branch.yml @@ -4,11 +4,6 @@ on: # This will open a PR to update the v2 release branch. workflow_dispatch: - # When the v2 release is complete, this workflow will open a PR to update the v1 release branch. - push: - branches: - - releases/v2 - jobs: update: timeout-minutes: 45 @@ -43,20 +38,9 @@ jobs: git config --global user.email "github-actions@github.com" git config --global user.name "github-actions[bot]" - - name: Update v2 release branch - if: github.event_name == 'workflow_dispatch' + - name: Update release branch run: | python .github/update-release-branch.py \ --github-token ${{ secrets.GITHUB_TOKEN }} \ --repository-nwo ${{ github.repository }} \ - --mode v2-release \ - --conductor ${GITHUB_ACTOR} - - - name: Update v1 release branch - if: github.event_name == 'push' - run: | - python .github/update-release-branch.py \ - --github-token ${{ secrets.GITHUB_TOKEN }} \ - --repository-nwo ${{ github.repository }} \ - --mode v1-release \ --conductor ${GITHUB_ACTOR}