Skip to content

Refresh data

Refresh data #159

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# azure-identity doesn't support GitHub WIF
- uses: azure/login@6c251865b4e6290e7b78be643ea2d005bc51f69a # 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