Skip to content

Commit c0d5109

Browse files
authored
Merge branch 'main' into update-openapi-spec-2025-10-18T00-24-17-388Z
2 parents e13f3d2 + 6d79778 commit c0d5109

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/update-openapi.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,16 @@ jobs:
1616
with:
1717
token: ${{ secrets.GITHUB_TOKEN }}
1818
- name: Update OpenAPI Spec
19+
id: sync-openapi
1920
uses: fern-api/sync-openapi@v2
2021
with:
2122
token: ${{ secrets.GITHUB_TOKEN }}
2223
branch: 'update-openapi-spec'
2324
update_from_source: true
24-
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

Comments
 (0)