fix: Add git flow 2 #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |