Skip to content

Commit e46409c

Browse files
Konrad Jamrozikharryli0108
authored andcommitted
Improve automation comment contents formatting (Azure#24704)
1 parent 45fdee3 commit e46409c

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

.github/comment.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,14 @@
7676
label: Approved-OkToMerge
7777
onLabeledComments: >-
7878
Hi @${PRAuthor}! Your PR is approved. Congratulations. :partying_face::rocket: </br>
79-
<li>If this PR is targeting 'main' branch, then it cannot be merged, as azure-rest-api-specs-pr repo 'main' branch is mirrored from azure-rest-api-specs 'main' branch.
80-
If you want to publish the PR to the public repo (Azure/azure-rest-api-specs) 'main' branch,
79+
<li>
80+
If this PR is targeting `main` branch, then it cannot be merged, as `azure-rest-api-specs-pr` repo `main` branch
81+
is mirrored from `azure-rest-api-specs` `main`` branch. <br/>
82+
If you want to publish the PR to the public repo (`Azure/azure-rest-api-specs`) `main` branch,
8183
please use [OpenAPIHub Publish PR](${openapiHub}/tools/publishpullrequest?pr=${owner}/${repo}/${PRNumber}&to=${to}).
82-
</li>
83-
<li>For further guidance on how to proceed please refer to this [wiki doc](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/205/RP-Scenarios-to-Contribute-to-Swagger?anchor=**public-repository-vs.-private-repository**).
84+
</li><li>
85+
For further guidance on how to proceed please refer to this
86+
[wiki article](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/205/RP-Scenarios-to-Contribute-to-Swagger?anchor=**public-repository-vs.-private-repository**).
8487
</li>
8588
8689
- rule:
@@ -122,11 +125,11 @@
122125
variables:
123126
openapiHub: https://aka.ms/openapihub
124127
onOpenedComments: >-
125-
Hi, @${PRAuthor}! Thank you for your pull request. To help get your PR merged:</br>
126-
- Ensure you reviewed the checklists in the PR description.
127-
- Know that PR assignee is the person auto-assigned and responsible for your current PR review and approval.
128-
- For convenient view of the API changes made by this PR, refer to the URLs provided in the table in
129-
the `Generated ApiView` comment added to this PR. You can use ApiView to show API versions diff.
128+
Hi, @${PRAuthor}! Thank you for your pull request. To help get your PR merged: </br>
129+
<li> Ensure you reviewed the checklists in the PR description. </li>
130+
<li> Know that PR assignee is the person auto-assigned and responsible for your current PR review and approval. </li>
131+
<li> For convenient view of the API changes made by this PR, refer to the URLs provided in the table in
132+
the `Generated ApiView` comment added to this PR. You can use ApiView to show API versions diff. </li>
130133
131134
- rule:
132135
type: checkbox
@@ -160,13 +163,12 @@
160163
type: label
161164
label: ARMChangesRequested
162165
onLabeledComments: >-
163-
Please address or respond to feedback from the ARM API reviewer.
164-
When you are ready to continue the ARM API review, please remove the `ARMChangesRequested` label.
166+
Please address or respond to feedback from the ARM API reviewer. <br/>
167+
When you are ready to continue the ARM API review, please remove the `ARMChangesRequested` label. <br/>
165168
This will notify the reviewer to have another look. <br/>
166169
If the feedback provided needs further discussion, please use this Teams channel to post your questions -
167-
https://aka.ms/azsdk/support/specreview-channel. <br/>
168-
Please indicate that this is an ARM-related question in the title of your post by including "[ARM Query]"
169-
in the title.
170+
[aka.ms/azsdk/support/specreview-channel](https://aka.ms/azsdk/support/specreview-channel). <br/>
171+
Please include `[ARM Query]` in the title of your question to indicate that it is ARM-related.
170172
onLabeledRemoveLabels:
171173
- WaitForARMFeedback
172174

0 commit comments

Comments
 (0)