Skip to content

[New Feature]: Prevent Author-Not-Authorized for wingetbot's Automatic Waiver PR #324754

@KarbitsCode

Description

@KarbitsCode

Description of the new feature/enhancement

I noticed for a long time that wingetbot's Automatic Waiver PRs keeps getting Author-Not-Authorized label (e.g. #324745). This doesn't happened before and only started around March 18 of this year.

Proposed technical implementation details (optional)

I found out the configuration that applies this label:

- description: >-
When a PR is opened/updated, if the content contains .validation and user is not repo admin
* Add Author-Not-Authorized label
if:
- payloadType: Pull_Request
- isOpen
- not:
filesMatchPattern:
pattern: ^$
- filesMatchPattern:
pattern: ^.*\.validation
- not:
activitySenderHasPermission:
permission: Admin
then:
- addLabel:
label: Author-Not-Authorized

Maybe this because of wingetbot is not repo admin anymore? I guess it's possible add an exception to wingetbot in here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-TriageThis work item needs to be triaged by a member of the core team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions