Skip to content

PR metadata validation: Ensure "Complete" was added by a mentor not a trainee #40

Description

@illicitonion

Every now and then a trainee adds the "Complete" label themselves.

This can't be prevented by permissions on GitHub - labels are all or nothing.

But the PR Metadata Validator runs on every label change. We could in theory, when "Complete" is added, check if the user who took the action is (transitively) in the "Mentors" team, and remove the label (with a comment) if they're not.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions