Skip to content

Commit

Permalink
Merge pull request #2290 from cms-sw/changes-dataformats-classes_def
Browse files Browse the repository at this point in the history
add changes-dataformats label if PR touches classes_def.xml
  • Loading branch information
smuzaffar authored Jul 10, 2024
2 parents da01cb6 + 34a6ba7 commit 1553625
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions categories_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,10 @@
# Format: label = [regexp1, regexp2]
# where regexpX can be part of cmssw package e.g SiStrip will match all cmssw packages with SiStrip in them
# "jetmet": [ "SubSystem1/", "SubSystem2/Package"]
import re

CMSSW_LABELS = {
"changes-dataformats": [re.compile("^.+/src/classes_def(.+|).xml$")],
"trk": [
"Alignment/APEEstimation",
"Alignment/HIPAlignmentAlgorithm",
Expand Down
2 changes: 1 addition & 1 deletion process_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def update_CMSSW_LABELS(repo_config):
check_dpg_pog = False
dpg_pog = {} if not check_dpg_pog else get_dpg_pog()
for l in CMSSW_LABELS.keys():
if check_dpg_pog and (not l in dpg_pog):
if check_dpg_pog and (not l in dpg_pog) and (not l in TYPE_COMMANDS):
del CMSSW_LABELS[l]
else:
CMSSW_LABELS[l] = [
Expand Down

0 comments on commit 1553625

Please sign in to comment.