Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API changelog #109

Draft
wants to merge 19 commits into
base: diff-base
Choose a base branch
from
Draft
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,20 @@ jobs:
- name: Create dir
run: |
mkdir changelog
- name: Run OpenAPI Diff for public (from HEAD rev)
uses: docker://openapitools/openapi-diff:latest
- name: Running public OpenAPI Spec diff action
uses: oasdiff/oasdiff-action/diff@main
with:
args: --markdown changelog/public-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
base: 'base/fern/apis/public/openapi-public.yaml'
revision: 'head/fern/apis/public/openapi-public.yaml'
format: text
output-to-file: 'changelog/public-diff.md'
- name: Running beta OpenAPI Spec diff action
uses: oasdiff/oasdiff-action/diff@main
with:
args: --markdown changelog/beta-diff.md base/fern/apis/beta/openapi-beta.yaml head/fern/apis/beta/openapi-beta.yaml
base: 'base/fern/apis/beta/openapi-beta.yaml'
revision: 'head/fern/apis/beta/openapi-beta.yaml'
format: text
output-to-file: 'changelog/beta-diff.md'
- name: Archive changelogs
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ci
on:
pull_request:
branches:
- main
- '**'

jobs:
preview-docs:
Expand Down
Loading
Loading