Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: API linting

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}

- name: Set up node
uses: actions/setup-node@v6
- name: Install Redocly CLI
run: npm install -g @redocly/cli@latest
- name: Bundle OpenAPI
run: |
cd openapi
./update.sh
- name: Run linting
run: redocly lint openapi/ogcapi-processes.bundle.json --format=github-actions

- name: Commit updated OpenAPI bundle
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: Auto-update OpenAPI bundle
file_pattern: 'openapi/ogcapi-processes.bundle.json'

204 changes: 0 additions & 204 deletions openapi.yaml

This file was deleted.

Loading