Skip to content

Refresh data

Refresh data #101

Workflow file for this run

name: Refresh data
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # daily
jobs:
main:
runs-on: ubuntu-latest
environment: dev
permissions:
id-token: write # Graph auth
contents: write # committing
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
# azure-identity doesn't support GitHub WIF
- uses: azure/login@6b2456866fc08b011acb422a92a4aa20e2c4de32 # v2
with:
tenant-id: ${{ vars.AZURE_TENANT_ID }}
client-id: ${{ vars.AZURE_CLIENT_ID }}
allow-no-subscriptions: true
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.x
cache: pip
- run: pip install -r requirements.txt
- run: python main.py
- uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
with:
default_author: github_actions
message: Intune change detected