Skip to content

Commit 396fd6b

Browse files
committed
update schemas batch gen
1 parent 7038fe4 commit 396fd6b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/generate-schemas-batch.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Generate Schemas batch
22

33
on:
4+
schedule:
5+
- cron: '0 1 * * 3'
46
workflow_dispatch:
57
inputs:
68
api_specs_ref:
@@ -202,9 +204,10 @@ jobs:
202204
committer: GitHub <[email protected]>
203205
author: ${{ env.AUTHOR }} <${{ env.AUTHOR_EMAIL }}>
204206
signoff: false
205-
branch: ${{ env.AUTOGENERATE_BRANCH_NAME }}_ltst
207+
branch: main
206208
branch-suffix: short-commit-hash
207209
delete-branch: true
210+
token: ${{ secrets.GITHUB_TOKEN }}
208211
title: |
209212
Update Generated Schemas ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }}
210213
body: |
@@ -218,5 +221,5 @@ jobs:
218221
Update Generated Schemas ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }}
219222
220223
Generate schemas for ${{ steps.get_swagger_gh_uri.outputs.gh_uri }}
221-
labels: ${{ env.AUTOGENERATE_BRANCH_NAME }}
224+
labels: automerge
222225
draft: false

0 commit comments

Comments
 (0)