Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/update-iso.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Update ISO 4217 Data

on:
schedule:
- cron: "0 0 * * 1" # Runs every Monday at midnight UTC
workflow_dispatch: # Allows manual triggering of the workflow

jobs:
update-iso:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install dependencies
run: bun install

- name: Run ISO script
run: bun run iso

- name: Commit changes and create PR
uses: peter-evans/create-pull-request@v7
with:
branch: update-iso-4217-data
commit-message: "chore: update ISO 4217 data"
title: Update ISO 4217 Data
body: |
This PR updates the ISO 4217 data by running the `iso` script.

Please review and merge it if everything looks good.

**Todo:**
- [ ] Update tests
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
package-lock.json

bun.lockb
bun.lock