Skip to content

Commit

Permalink
Update constants.py
Browse files Browse the repository at this point in the history
  • Loading branch information
huangsam authored Dec 21, 2024
1 parent 7ebc053 commit 6de2d6a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions githooks/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ class TrunkBranch:

# Label to tag mapping
LABEL_TO_TAG = {
CommitLabel.BUG_CLOSE: set([CommitTag.BUGFIX]),
CommitLabel.BUG_PARTIAL: set([CommitTag.BUGFIX]),
CommitLabel.BUG_RELATED: set([CommitTag.BUGFIX, CommitTag.FEATURE]),
CommitLabel.IMPACT_DOC: set([CommitTag.SECURITY, CommitTag.TASK]),
CommitLabel.IMPACT_SECURITY: set([CommitTag.SECURITY]),
CommitLabel.BUG_CLOSE: {CommitTag.BUGFIX},
CommitLabel.BUG_PARTIAL: {CommitTag.BUGFIX},
CommitLabel.BUG_RELATED: {CommitTag.BUGFIX, CommitTag.FEATURE},
CommitLabel.IMPACT_DOC: {CommitTag.SECURITY, CommitTag.TASK},
CommitLabel.IMPACT_SECURITY: {CommitTag.SECURITY},
CommitLabel.IMPACT_UPGRADE: set(),
CommitLabel.IMPLEMENTS: set([CommitTag.FEATURE, CommitTag.TASK]),
CommitLabel.IMPLEMENTS: {CommitTag.FEATURE, CommitTag.TASK},
}

# Tags that apply to all labels
Expand Down

0 comments on commit 6de2d6a

Please sign in to comment.