Skip to content

Add option to raise error for PRs with missing labels (instead of just warning) #24

Description

@joshuacwnewton

This would allow a GH Action created using changelog (example) to halt midway, then provide a list of PRs that still need labels.

Context:

diff_pr = all_pr - changelog_pr
for diff in diff_pr:
logger.warning('Pull request not labeled: %s', diff)

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions