Skip to content

new-pr label is not updated if semver label is missing #46

@codebytere

Description

@codebytere

Seen here: electron/electron#26826

The new-pr label was added but the semver label was missing - per https://github.com/electron/cation/blob/master/src/24-hour-rule.ts#L26-L27 we assume this means that it's semver-major and thus the open time should be a week. However, since the 24 hour rule does not currently listen to the pull_request.labeled event there is no way to tell it that it has a different semver label than initially assumed when one is applied. We should listen to it and update accordingly.

Metadata

Metadata

Assignees

Labels

🪲 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions