Skip to content

[Snyk] Upgrade: @babel/core, @babel/plugin-proposal-class-properties, @babel/plugin-transform-modules-amd, @babel/plugin-transform-modules-commonjs, @babel/plugin-transform-react-jsx, @babel/plugin-transform-runtime, @babel/runtime, @babel/preset-env, @babel/preset-react #3

[Snyk] Upgrade: @babel/core, @babel/plugin-proposal-class-properties, @babel/plugin-transform-modules-amd, @babel/plugin-transform-modules-commonjs, @babel/plugin-transform-react-jsx, @babel/plugin-transform-runtime, @babel/runtime, @babel/preset-env, @babel/preset-react

[Snyk] Upgrade: @babel/core, @babel/plugin-proposal-class-properties, @babel/plugin-transform-modules-amd, @babel/plugin-transform-modules-commonjs, @babel/plugin-transform-react-jsx, @babel/plugin-transform-runtime, @babel/runtime, @babel/preset-env, @babel/preset-react #3

name: OpenAPI dev mode check
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
check-schema-versions:
if: ${{ github.repository == 'github/docs-internal' }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository code
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Install dependencies
run: npm ci
# Differences between decorated and dereferenced files indicates a problem
- name: Generate decorated files to check that there are no differences
run: script/rest/update-files.js --decorate-only
- name: Check if deref/decorated schemas are dev mode and that they match
run: .github/actions-scripts/openapi-schema-branch.js