Injective list - Fetch OFAC wallets #678
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: Injective list - Fetch OFAC wallets | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "40 2 * * *" # Every day at 02:40 UTC | |
| jobs: | |
| generate: | |
| name: "Refetch OFAC wallets" | |
| runs-on: blacksmith-8vcpu-ubuntu-2204 | |
| timeout-minutes: 15 | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| ref: master | |
| token: "${{ secrets.LIST_GH_TOKEN }}" | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.18.1 | |
| - name: Setup Node.js with cache | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "pnpm" | |
| cache-dependency-path: src/pnpm-lock.yaml | |
| - name: Install dependencies | |
| run: cd src && pnpm i | |
| - name: Refetch OFAC lists | |
| run: cd src && pnpm run fetch:wallets:ofac | |
| - name: Commit changes | |
| uses: EndBug/add-and-commit@v9 | |
| with: | |
| message: "chore: fetch ofac addresses" |