Skip to content

Revert "refactor: prevent code duplication" #1

Revert "refactor: prevent code duplication"

Revert "refactor: prevent code duplication" #1

Workflow file for this run

name: Update OFAC list
on:
workflow_dispatch
schedule:

Check failure on line 5 in .github/workflows/cron.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cron.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
# daily
- cron: '0 9 * * *'
jobs:
update-ofac-list:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- uses: actions/checkout@v4
- run: npm install
- run: npm run update-ofac-list
# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5