Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/update-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Update OpenAPI Spec
id: sync-openapi
uses: fern-api/sync-openapi@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: 'update-openapi-spec'
update_from_source: true
add_timestamp: true
add_timestamp: true
- name: Enable auto-merge
if: steps.sync-openapi.outputs.pr_number != ''
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr merge ${{ steps.sync-openapi.outputs.pr_number }} --auto --squash