Sync remainder of tokens to new property standard (#34) #26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/**' |