Skip to content
Closed
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
3 changes: 3 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:
# Allows manual triggering of the workflow
workflow_dispatch:

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down
7 changes: 7 additions & 0 deletions UPDATE_SCRIPT_MAINTENANCE_REPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Update Script Maintenance Report

Date: 2026-03-03

- Ran `scripts/runall.sh` successfully to validate current update pipeline.
- Hardened XML downloads in `scripts/runall.sh` with `curl --fail --silent --show-error --location`.
- Added `permissions: contents: write` in `.github/workflows/actions.yml` for scheduled push reliability.
4 changes: 2 additions & 2 deletions scripts/runall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ if [ ! -d ./cache ]; then
mkdir cache
fi;
echo Downloading XML files...
curl -s -o cache/a1.xml "https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-one.xml"
curl -s -o cache/a2.xml "https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-three.xml"
curl --fail --silent --show-error --location -o cache/a1.xml "https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-one.xml"
curl --fail --silent --show-error --location -o cache/a2.xml "https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-three.xml"

# write headers
echo "Entity,Currency,AlphabeticCode,NumericCode,MinorUnit,WithdrawalDate" > ${outfile}
Expand Down