name: Fetch Atlanta Fed Market Probability Tracker on: schedule: - cron: '30 11 * * *' # quotidien 11h30 UTC (donnée mise à jour ~1x/jour par l'Atlanta Fed) workflow_dispatch: # déclenchement manuel permissions: contents: write jobs: fetch: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} persist-credentials: true - uses: actions/setup-node@v4 with: node-version: '20' - name: Fetch Atlanta Fed MPT (options SOFR) run: node .github/scripts/fetch-atlanta-mpt.mjs - name: Commit updated data (if changed) run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git add data/atlanta-fed-mpt.json git diff --staged --quiet || git commit -m "chore: update Atlanta Fed MPT data [skip ci]" git push