Skip to content

Commit

Permalink
Revert "ci(release): don't sync changes back to next"
Browse files Browse the repository at this point in the history
This reverts commit 1844bb0.
  • Loading branch information
kanadgupta committed Dec 13, 2024
1 parent 9344536 commit 109dfcb
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,12 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

## 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
- 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 109dfcb

Please sign in to comment.