Skip to content

Commit c5a82a1

Browse files
committed
update gh action
1 parent 9b3deea commit c5a82a1

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ jobs:
2525
with:
2626
ref: ${{ env.AUTOGENERATE_BRANCH_NAME }}
2727

28+
- uses: peterjgrainger/[email protected]
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
with:
32+
branch: ${{ env.TEMP_AUTOGENERATE_BRANCH_NAME }}
33+
2834
- name: Clone azure-rest-api-specs
2935
uses: actions/[email protected]
3036
with:
@@ -196,8 +202,8 @@ jobs:
196202
committer: GitHub <[email protected]>
197203
author: ${{ env.AUTHOR }} <${{ env.AUTHOR_EMAIL }}>
198204
signoff: false
199-
branch: ${{ env.TEMP_AUTOGENERATE_BRANCH_NAME }}
200-
base: ${{ env.AUTOGENERATE_BRANCH_NAME }}
205+
branch: ${{ env.AUTOGENERATE_BRANCH_NAME }}_tmp
206+
branch-suffix: short-commit-hash
201207
delete-branch: true
202208
title: |
203209
Update Generated Schemas ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }}

0 commit comments

Comments
 (0)