Skip to content

bot(ci): generate token list #109

bot(ci): generate token list

bot(ci): generate token list #109

Workflow file for this run

name: Generate Token List
on:
workflow_dispatch:
push:
branches: [main]
jobs:
generate:
name: generate
runs-on: ubuntu-latest
if: |
github.event.head_commit.committer.username != 'github-actions[bot]'
&& github.repository == 'superbridgeapp/token-lists'
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
- uses: pnpm/action-setup@v3
with:
version: 8
run_install: true
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Generate token list
run: |
npx tsx ./src/generate-token-list-from-data.ts
- name: Commit token list
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "bot(ci): generate token list"
file_pattern: superchain.tokenlist.json