We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e13f3d2 + 6d79778 commit c0d5109Copy full SHA for c0d5109
.github/workflows/update-openapi.yml
@@ -16,9 +16,16 @@ jobs:
16
with:
17
token: ${{ secrets.GITHUB_TOKEN }}
18
- name: Update OpenAPI Spec
19
+ id: sync-openapi
20
uses: fern-api/sync-openapi@v2
21
22
23
branch: 'update-openapi-spec'
24
update_from_source: true
- add_timestamp: true
25
+ add_timestamp: true
26
+ - name: Enable auto-merge
27
+ if: steps.sync-openapi.outputs.pr_number != ''
28
+ env:
29
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30
+ run: |
31
+ gh pr merge ${{ steps.sync-openapi.outputs.pr_number }} --auto --squash
0 commit comments