diff --git a/.github/policies/label-prs.yml b/.github/policies/label-prs.yml index 55a0f0f60c0..2f82714f59f 100644 --- a/.github/policies/label-prs.yml +++ b/.github/policies/label-prs.yml @@ -5,8 +5,6 @@ resource: repository configuration: resourceManagementConfiguration: eventResponderTasks: - - description: Label main to live PRs - - triggerOnOwnActions: true - if: - payloadType: Pull_Request - isAction: @@ -17,5 +15,7 @@ configuration: then: - addLabel: label: ':octocat: auto-merge' + description: Label main to live PRs + triggerOnOwnActions: true