Skip to content

Commit

Permalink
Merge pull request #2108 from Azure/jcotillo/added_branch_suffix
Browse files Browse the repository at this point in the history
Peter-Evans action - Added branch suffix name and base to GH action
  • Loading branch information
jorgecotillo authored Dec 17, 2021
2 parents 075012a + 5e1efea commit 2b7a6de
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/generate-schemas-batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
SUMMARY_LOG_PATH: /tmp/summary/summary.log
SUMMARY_LOG_ARTIFACT_NAME: summary-log
AUTOGENERATE_BRANCH_NAME: autogenerate
MAIN_BRANCH_NAME: main
jobs:
batch-0:
name: Update Schemas Batch 0
Expand Down Expand Up @@ -184,12 +183,14 @@ jobs:
working-directory: workflow-temp/azure-rest-api-specs

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.10.1
uses: peter-evans/create-pull-request@v3.12.0
with:
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: ${{ env.MAIN_BRANCH_NAME }}
branch: ${{ env.AUTOGENERATE_BRANCH_NAME }}
branch-suffix: short-commit-hash
delete-branch: true
title: |
Update Generated Schemas ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }}
body: |
Expand Down

0 comments on commit 2b7a6de

Please sign in to comment.