Skip to content

Commit

Permalink
Automerge digest updates when patch automerge is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
simu committed Aug 8, 2024
1 parent 510ba6d commit ea2f713
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def rule_defaults(updateTypes, extraLabels=[]):

# automerge patch PRs if `automerge_patch` is True
if automerge_patch:
patch_rule = rule_defaults(["patch"], ["bump:patch"])
# Automerge patch and digest updates if patch automerging is enabled
patch_rule = rule_defaults(["patch", "digest"], ["bump:patch"])
if automerge_patch_v0:
# If automerging patch updates for v0.x dependencies is enabled, remove field
# `matchCurrentVersion`
Expand Down

0 comments on commit ea2f713

Please sign in to comment.