Skip to content

fix: Add git flow 2

fix: Add git flow 2 #7

Workflow file for this run

name: "Sync helius from upstream rpcpool"
on:
# push:
schedule:
- cron: "00 19 * * 1-5"
workflow_dispatch:
pull_request:
jobs:
git-sync-branches:
runs-on: ubuntu-latest
steps:
- run: git config --global user.name "GitHub Actions"
- run: git config --global user.email "[email protected]"
- name: git-sync
uses: wei/git-sync@v3
with:
source_repo: "https://github.com/rpcpool/yellowstone-grpc"
destination_repo: "https://github.com/helius-labs/yellowstone-grpc"
source_branch: "refs/remotes/source/*"
destination_branch: "refs/heads/*"
git-sync-tags:
runs-on: ubuntu-latest
steps:
- run: git config --global user.name "GitHub Actions"
- run: git config --global user.email "[email protected]"
- name: git-sync
uses: wei/git-sync@v3
with:
source_repo: "https://github.com/rpcpool/yellowstone-grpc"
destination_repo: "https://github.com/helius-labs/yellowstone-grpc"
source_branch: "refs/remotes/source/*"
destination_branch: "refs/heads/*"
git-rebase:
runs-on: ubuntu-latest
steps:
- run: git config --global user.name "GitHub Actions"
- run: git config --global user.email "[email protected]"
- name: git-rebase
uses: tiacsys/[email protected]
with:
repo: "https://github.com/rpcpool/yellowstone-grpc"
source_branch: "master"
destination_branch: "master"