Skip to content

OpenAPI Spec Drift Check #66

OpenAPI Spec Drift Check

OpenAPI Spec Drift Check #66

Workflow file for this run

name: OpenAPI Spec Drift Check
on:
schedule:
# Run daily at 08:00 UTC
- cron: "0 8 * * *"
workflow_dispatch:
permissions:
contents: read
issues: write
jobs:
check-drift:
name: Check for OpenAPI spec drift
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Check for drift and create issue
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python3 scripts/check-openapi-drift.py