Skip to content

Refresh data

Refresh data #284

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
# azure-identity doesn't support GitHub WIF
- uses: azure/login@a65d910e8af852a8061c627c456678983e180302 # v2.2.0
with:
tenant-id: ${{ vars.AZURE_TENANT_ID }}
client-id: ${{ vars.AZURE_CLIENT_ID }}
allow-no-subscriptions: true
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.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