Skip to content

Merge pull request #16686 from opf/chore/version-check-fallback #1

Merge pull request #16686 from opf/chore/version-check-fallback

Merge pull request #16686 from opf/chore/version-check-fallback #1

Workflow file for this run

name: "OpenAPI"
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests
on:
push:
branches:
- dev
- release/*
paths:
- 'docs/api/apiv3/**'
pull_request:
types: [opened, reopened, synchronize]
paths:
- 'docs/api/apiv3/**'
jobs:
api-spec:
name: APIv3 specification (OpenAPI 3.0)
if: github.repository == 'opf/openproject'
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: ./script/api/validate_spec