Skip to content

Updated workflow file #2

Updated workflow file

Updated workflow file #2

name: Check if OpenAPI is outdated
on:
push:
branches-ignore:
- "main"
workflow_dispatch:
schedule:
# “At 4 am on every day.” (https://crontab.guru)
- cron: "0 4 * * *"
jobs:
check-api-outdated:
name: Check if OpenAPI generated from JSON is outdated
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: SCM Checkout
uses: actions/checkout@v3
- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: 3.10
- name: Run Nox Task to check if API is outdated
run: poetry run nox -s check-api-outdated