forked from rpcpool/yellowstone-grpc
-
Notifications
You must be signed in to change notification settings - Fork 5
33 lines (32 loc) · 919 Bytes
/
rebase.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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:
- uses: actions/checkout@v4
with:
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: 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 pull upstream master --rebase
- name: pull origin
run: git pull origin master
- name: push all
run: git push origin --all
- name: push tags
run: git push origin --tags