Skip to content

[pull] dev from opf:dev #495

[pull] dev from opf:dev

[pull] dev from opf:dev #495

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