forked from solana-labs/token-list
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (22 loc) · 909 Bytes
/
automerge_new.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
name: AutomergeCron
on:
workflow_dispatch:
schedule:
- cron: "10 * * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.17.3'
# Required for automerge to clone from the local working copy
- run: git checkout -b work
- run: cd automerge && go build -o ~/automerge github.com/solana-labs/token-list/automerge
- run: ~/automerge -v=1 -setRemoteForCI
env:
GITHUB_APP_PEM: "${{ secrets.TL_APP_PEM }}"
- run: git config user.name "token-list-automerger[bot]" && git config user.email "94544671+token-list-automerger[bot]@users.noreply.github.com"
- run: git fetch --unshallow origin main:main && git checkout main && git merge --no-ff automerge-pending
- run: git -c "http.https://github.com/.extraheader=" push app main:main