Skip to content

Commit

Permalink
Sync github workflow from main to gen (#25432)
Browse files Browse the repository at this point in the history
* Add label message for "codegen-survey" (#25138)

* add label message

* Update PrLabeled.ps1

* sync github workflow from main to generation

---------

Co-authored-by: Yeming Liu <[email protected]>
  • Loading branch information
VeryEarly and isra-fel authored Jul 2, 2024
1 parent cfa2efa commit 21a6cb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pr-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ jobs:
.github
- name: process label
shell: pwsh
run: .github/workflows/script/PrLabeled.ps1 -LabelName "${{ github.event.label.name }}" -PrUrl $env:PR
env:
LABEL: ${{ github.event.label.name }}
run: .github/workflows/script/PrLabeled.ps1 -LabelName $env:LABEL -PrUrl $env:PR
3 changes: 3 additions & 0 deletions .github/workflows/script/PrLabeled.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ This PR was labeled "Breaking Change Release" because it contains breaking chang
"needs-revision" = @"
This PR was labeled "needs-revision" because it has unresolved review comments or CI failures.
Please resolve all open review comments and make sure all CI checks are green. Refer to our [guide](https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/devguide/azps/ci_tsg) to troubleshoot common CI failures.
"@
"codegen-survey" = @"
Thanks for using autorest.powershell to develop your PowerShell module! Would you like to take [a 5-minute survey](https://forms.office.com/r/j6rQuFUqUf?origin=lprLink) to help us improve the tool? Much appreciated :)
"@
}

Expand Down

0 comments on commit 21a6cb1

Please sign in to comment.