-
Notifications
You must be signed in to change notification settings - Fork 224
37 lines (34 loc) · 1.04 KB
/
generate.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
34
35
36
37
name: Generate tokenlists
on:
workflow_call:
push:
branches:
- main
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: npm ci
- name: Generate Tokenlists
run: npm run generate
env:
INFURA_KEY: ${{ secrets.INFURA_KEY }}
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }}
COINGECKO_API_KEY: ${{ secrets.COINGECKO_API_KEY }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore: Update generated tokenlists'
committer: GitHub <[email protected]>
author:
${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: update-tokenlists
delete-branch: true
title: 'Update generated tokenlists'
body: |
This PR was autogenerated because of changes to tokenlists.
draft: false