Skip to content

Commit

Permalink
Merge pull request #79 from gurgenyegoryan/main-dev
Browse files Browse the repository at this point in the history
Make: Add rebase action
  • Loading branch information
ashvardanian authored Sep 1, 2023
2 parents fca77f3 + 3bcfdb2 commit 6dc09be
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,31 @@ jobs:
- run: cp .github/workflows/package.json . && npm install && npx semantic-release


rebase:
name: Rebase Dev. Branch
needs: versioning
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Perform rebase
run: |
git fetch origin main
git checkout main-dev
git rebase origin/main
- name: Push changes
uses: CasperWA/push-protected@v2
with:
token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
branch: main-dev
unprotect_reviews: True
force: True


build_wheels:
name: Build Wheels for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 6dc09be

Please sign in to comment.