From 7658a42dd8af95956754e5179b73bab7c1dbe25c Mon Sep 17 00:00:00 2001 From: Kanad Gupta Date: Mon, 11 Sep 2023 13:27:42 -0500 Subject: [PATCH] ci: sync changes back to next --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e05a7f902..8fc260ca5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,3 +71,11 @@ jobs: NPM_CONFIG_PROVENANCE: 'true' NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npx semantic-release + + - name: Sync changes back to next + if: ${{ github.ref }} == 'refs/heads/main' + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.RELEASE_GH_TOKEN }} + branch: next + # continue-on-error: true