Skip to content

Commit

Permalink
Merge pull request #115 from projectsyn/feat/automerge-digest
Browse files Browse the repository at this point in the history
Automerge digest updates when patch automerge is enabled
  • Loading branch information
simu authored Aug 8, 2024
2 parents 510ba6d + ea2f713 commit 8840f87
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 8840f87

Please sign in to comment.