Skip to content

Merge branch 'main' into bc/changelog-ISS-126620 #4

Merge branch 'main' into bc/changelog-ISS-126620

Merge branch 'main' into bc/changelog-ISS-126620 #4

Workflow file for this run

on: [pull_request]

Check failure on line 1 in .github/workflows/openapi-diff.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/openapi-diff.yml

Invalid workflow file

You have an error in your yaml syntax on line 1
paths:
- fern/apis/public/openapi-public.yaml
- fern/apis/beta/openapi-beta.yaml
name: validate-schema-changes
jobs:
detect-breaking-changes:
runs-on: ubuntu-latest
steps:
- name: Check out HEAD rev
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
path: head
- name: Check out BASE rev
uses: actions/checkout@v2
with:
ref: ${{ github.base_ref }}
path: base
- name: Run OpenAPI Diff for public (from HEAD rev)
uses: docker://openapitools/openapi-diff:latest
with:
args: --markdown beta-diff.md base/fern/apis/public/openapi-public.yaml head/fern/apis/public/openapi-public.yaml
- name: Run OpenAPI Diff for beta (from HEAD rev)
uses: docker://openapitools/openapi-diff:latest
with:
args: --markdown beta-diff.md base/fern/apis/beta/openapi-beta.yaml head/fern/apis/beta/openapi-beta.yaml