File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1414 SUMMARY_LOG_ARTIFACT_NAME : summary-log
1515 AUTOGENERATE_BRANCH_NAME : autogenerate
1616 AUTHOR : ${{ github.actor }}
17- AUTHOR_EMAIL : ${{ github.actor }}@microsoft. com
17+ AUTHOR_EMAIL : < ${{ github.actor }}@users.noreply.github. com>
1818jobs :
1919 batch-0 :
2020 name : Update Schemas Batch 0
@@ -185,12 +185,12 @@ jobs:
185185 working-directory : workflow-temp/azure-rest-api-specs
186186
187187 - name : Create Pull Request
188- uses : peter-evans/create-pull-request@v3.12.0
188+ uses : peter-evans/create-pull-request@v3.12.1
189189 with :
190190 committer : GitHub <noreply@github.com>
191191 author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
192192 signoff : false
193- branch : ${{ env.AUTOGENERATE_BRANCH_NAME }}
193+ branch : ${{ env.AUTOGENERATE_BRANCH_NAME }}_tmp
194194 branch-suffix : short-commit-hash
195195 delete-branch : true
196196 title : |
Original file line number Diff line number Diff line change @@ -94,6 +94,11 @@ executeSynchronous(async () => {
9494 const newConfigs = await generateSchemas ( readme , autoGenConfig ) ;
9595 schemaConfigs . push ( ...newConfigs ) ;
9696 pkg . result = 'succeeded' ;
97+ logOut ( summaryLogger ,
98+ `<details>
99+ <summary>Successfully generated types for base path '${ basePath } '.</summary>
100+ </details>
101+ ` ) ;
97102 } catch ( error ) {
98103 pkg . packageName = autoGenConfig . basePath ;
99104 pkg . result = 'failed' ;
@@ -103,7 +108,7 @@ executeSynchronous(async () => {
103108 // Use markdown formatting as this summary will be included in the PR description
104109 logOut ( summaryLogger ,
105110 `<details>
106- <summary>Failed to generate types for path '${ autoGenConfig . basePath } ' and namespace '${ autoGenConfig . namespace } '</summary>
111+ <summary>Failed to generate types for base path '${ autoGenConfig . basePath } ' and namespace '${ autoGenConfig . namespace } '</summary>
107112 \`\`\`
108113 ${ error }
109114 \`\`\`
@@ -117,7 +122,7 @@ executeSynchronous(async () => {
117122 // This error usually indicates that a file has not been found (readme)
118123 logOut ( summaryLogger ,
119124 `<details>
120- <summary>Failed to generate types for path '${ basePath } ' probably due to readme not found or due to any other file not found exception.</summary>
125+ <summary>Failed to generate types for base path '${ basePath } ' probably due to readme not found or due to any other file not found exception.</summary>
121126 \`\`\`
122127 ${ error }
123128 \`\`\`
You can’t perform that action at this time.
0 commit comments