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"