From b57423377d3a41f7199f2fbefd1d31a902d49410 Mon Sep 17 00:00:00 2001 From: Justin Obara Date: Tue, 12 Dec 2023 11:29:50 -0500 Subject: [PATCH] ci: remove sync release actions (resolves #2047) (#2072) --- .github/workflows/sync-to-production.yml | 24 ------------------------ .github/workflows/sync-to-staging.yml | 24 ------------------------ 2 files changed, 48 deletions(-) delete mode 100644 .github/workflows/sync-to-production.yml delete mode 100644 .github/workflows/sync-to-staging.yml diff --git a/.github/workflows/sync-to-production.yml b/.github/workflows/sync-to-production.yml deleted file mode 100644 index 111683754..000000000 --- a/.github/workflows/sync-to-production.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Sync release to production - -on: - workflow_dispatch: - inputs: - version: - description: 'Version' - required: true - type: string - release: - types: [released] - -jobs: - sync-release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Open pull request to production - uses: tretuna/sync-branches@v1 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - FROM_BRANCH: ${{ inputs.version || github.event.release.tag_name }} - TO_BRANCH: "production" - PULL_REQUEST_TITLE: "chore(release): sync ${{ inputs.version || github.event.release.tag_name }} to production" diff --git a/.github/workflows/sync-to-staging.yml b/.github/workflows/sync-to-staging.yml deleted file mode 100644 index a6d216390..000000000 --- a/.github/workflows/sync-to-staging.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Sync release to staging - -on: - workflow_dispatch: - inputs: - version: - description: 'Version' - required: true - type: string - release: - types: [published] - -jobs: - sync-release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Open pull request to staging - uses: tretuna/sync-branches@v1 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - FROM_BRANCH: ${{ inputs.version || github.event.release.tag_name }} - TO_BRANCH: "staging" - PULL_REQUEST_TITLE: "chore(release): sync ${{ inputs.version || github.event.release.tag_name }} to staging"