-
Notifications
You must be signed in to change notification settings - Fork 162
44 lines (35 loc) · 1.07 KB
/
fetchCoingecko.yaml
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
34
35
36
37
38
39
40
41
42
43
44
name: Fetch CoinGecko
on:
workflow_dispatch:
schedule:
# 23:15 UTC Every Monday
# GitHub Actions might be delayed if time is at exact hour
- cron: "15 23 * * 1"
jobs:
fetchCG:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Fetch coingecko
run: bun fetch coingecko
- name: Makelist
run: bun makelist coingecko
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
author: PancakeSwap Bot <[email protected]>
delete-branch: true
commit-message: "Coingecko token list"
title: "chore: Update Coingecko token list"
body: |
- Update Coingecko token list
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
branch: update-coingecko