Skip to content

Sync remainder of tokens to new property standard (#34) #26

Sync remainder of tokens to new property standard (#34)

Sync remainder of tokens to new property standard (#34) #26

Workflow file for this run

name: Generate Token List
on:
push:
branches: [main]
paths:
- 'data/**'
jobs:
generate:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.TOKENLIST_SECRET }}
- uses: actions/setup-node@v4
with:
token: ${{ secrets.TOKENLIST_SECRET }}
node-version: '20'
- name: Install dependencies
run: npm install
- name: Format files
run: npm run format
- name: Generate token list
run: npm run generate
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
token: ${{ secrets.TOKENLIST_SECRET }}
commit_message: 'bot(ci): regenerate token list'
file_pattern: '*.json data/**'