Skip to content

Commit

Permalink
ci(release): don't sync changes back to next
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Dec 13, 2024
1 parent 8b09e87 commit 1844bb0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,14 @@ jobs:
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
## the v9 branch is not syncing changes back to next so we can skip this step
## as for why this step keeps getting hit despite the if-statement, no idea
# - 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

# quick assertion to validate that rdme CLI can be installed and run on ubuntu
postrelease:
Expand Down

0 comments on commit 1844bb0

Please sign in to comment.