Skip to content

Commit

Permalink
Update workflow-bot comment.yml: update guidance for publishing to pu…
Browse files Browse the repository at this point in the history
…blic repo; add support for new breaking changes labels
  • Loading branch information
Konrad Jamrozik authored Feb 29, 2024
1 parent c1a6baa commit b2f1c53
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
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. <br/>
If you want to publish the PR to the public repo (`Azure/azure-rest-api-specs`) `main` branch,
please use [OpenAPIHub Publish PR](${openapiHub}/tools/publishpullrequest?pr=${owner}/${repo}/${PRNumber}&to=${to}).
</li><li>
For further guidance see [Spec Repos](https://eng.ms/docs/products/azure-developer-experience/design/api-specs-pr/api-repos).
follow the guidance given in the [spec repos article](https://eng.ms/docs/products/azure-developer-experience/design/api-specs-pr/api-repos).
</li>
- rule:
Expand Down Expand Up @@ -82,7 +80,21 @@
- rule:
type: label
label: Approved-BreakingChange
booleanFilterExpression: "!(ARMSignedOff||ARMChangesRequested||Approved-OkToMerge||WaitForARMRevisit)&&ARMReview"
booleanFilterExpression: "!(ARMSignedOff||WaitForARMFeedback||ARMChangesRequested||Approved-OkToMerge||WaitForARMRevisit||)&&ARMReview"
onLabeledAddLabels:
- WaitForARMFeedback

- rule:
type: label
label: BreakingChange-Approved-*
booleanFilterExpression: "!(ARMSignedOff||WaitForARMFeedback||ARMChangesRequested||Approved-OkToMerge||WaitForARMRevisit)&&ARMReview"
onLabeledAddLabels:
- WaitForARMFeedback

- rule:
type: label
label: Versioning-Approved-*
booleanFilterExpression: "!(ARMSignedOff||WaitForARMFeedback||ARMChangesRequested||Approved-OkToMerge||WaitForARMRevisit)&&ARMReview"
onLabeledAddLabels:
- WaitForARMFeedback

Expand Down

0 comments on commit b2f1c53

Please sign in to comment.