Skip to content

Refresh data

Refresh data #21

Workflow file for this run

name: Refresh data
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # daily
jobs:
main:
runs-on: ubuntu-latest
permissions:
id-token: write # Graph auth
contents: write # committing
steps:
- uses: actions/[email protected]
# azure-identity doesn't support GitHub WIF
- uses: azure/login@v1
with:
tenant-id: ${{ vars.AZURE_TENANT_ID }}
client-id: ${{ vars.AZURE_CLIENT_ID }}
allow-no-subscriptions: true
- uses: actions/[email protected]
with:
python-version: 3.12
cache: pip
- run: pip install -r requirements.txt
- run: python main.py
- uses: EndBug/[email protected]
with:
default_author: github_actions
message: 'chore: refresh data'