Skip to content

Commit

Permalink
👷 [maykinmedia/open-api-framework#115] Always run OAS check
Browse files Browse the repository at this point in the history
to verify that the schema is up to date
  • Loading branch information
stevenbal committed Mar 6, 2025
1 parent a8ab69a commit ab68959
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/oas-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@ name: check-oas

on:
push:
paths:
- "src/openapi.yaml"
- .github/workflows/oas-check.yml
branches:
- '**'
workflow_dispatch:

jobs:
open-api-workflow-check-oas:
uses: maykinmedia/open-api-workflows/.github/workflows/oas-check.yml@v1
uses: maykinmedia/open-api-workflows/.github/workflows/oas-check.yml@issue/oas-check-show-diff
with:
schema-path: 'src/openapi.yaml'
python-version: '3.11'
django-settings-module: 'nrc.conf.ci'
schema-command: bin/generate_schema.sh

0 comments on commit ab68959

Please sign in to comment.