Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
vovkman committed Nov 15, 2024
1 parent b9c6350 commit 5c46083
Showing 1 changed file with 14 additions and 33 deletions.
47 changes: 14 additions & 33 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,41 +10,22 @@ jobs:
git-sync-branches:
runs-on: ubuntu-latest
steps:
- name: Setup email
run: |
git config --global user.email "[email protected]"
git config --global user.name "Helius Infrastructure"
- name: git-sync
uses: wei/git-sync@v3
with:
source_repo: "rpcpool/yellowstone-grpc"
destination_repo: "helius-labs/yellowstone-grpc"
source_branch: "refs/remotes/source/*"
destination_branch: "refs/heads/*"
git-sync-tags:
runs-on: ubuntu-latest
steps:
- name: Setup email
run: |
git config --global user.email "[email protected]"
git config --global user.name "Helius Infrastructure"
- name: git-sync
uses: wei/git-sync@v3
- uses: actions/checkout@v4
with:
source_repo: "rpcpool/yellowstone-grpc"
destination_repo: "helius-labs/yellowstone-grpc"
source_branch: "refs/remotes/source/*"
destination_branch: "refs/heads/*"
git-rebase:
runs-on: ubuntu-latest
steps:
ref: master
submodules: recursive
fetch-depth: 0
- name: Setup email
run: |
git config --global user.email "[email protected]"
git config --global user.name "Helius Infrastructure"
- name: git-rebase
uses: tiacsys/[email protected]
with:
repo: "rpcpool/yellowstone-grpc"
source_branch: "master"
destination_branch: "master"
- name: Add upstream
run: git remote add upstream https://github.com/rpcpool/yellowstone-grpc
- name: Fetch upstream
run: git fetch --all --tags
- name: rebase master
run: git rebase upstream/master
- name: push all
run: git push origin --all
- name: push tags
run: git push origin --tags

0 comments on commit 5c46083

Please sign in to comment.