Skip to content

Commit

Permalink
Merge pull request #1681 from rawlingsj/sequential
Browse files Browse the repository at this point in the history
  • Loading branch information
rawlingsj authored Dec 9, 2024
2 parents e788406 + fcf2036 commit dd67582
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/UPDATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ package:
update:
enabled: true # provide a flag to easily prevent a package from receiving auto update PRs
manual: true # indicates that this package should be manually updated, usually taking care over special version numbers which can be hard to automate
shared: false # indicate that an update to this package requires an epoch bump of downstream dependencies, e.g. golang, java
shared: false # indicate that an update to this package requires an epoch bump of downstream dependencies, e.g. golang, java
require-sequential: true # Default: false - indicates that automated pull requests should be merged in order rather than superseding and closing previous unmerged PRs
release-monitor:
identifier: 38 # Mandatory, ID number for release monitor
strip-prefix: v # Optional, if the version obtained from the update service contains a prefix which should be ignored
Expand All @@ -50,6 +51,7 @@ update:
enabled: true # provide a flag to easily toggle a package from receiving auto update PRs
manual: true # indicates that this package should be manually updated, usually taking care over special version numbers which can be hard to automate
shared: false # indicate that an update to this package requires an epoch bump of downstream dependencies, e.g. golang, java
require-sequential: true # Default: false - indicates that automated pull requests should be merged in order rather than superseding and closing previous unmerged PRs
github: # alternative today is `release_monitor:`
identifier: sigstore/cosign # Mandatory, org/repo for github
strip-prefix: v # Optional, if the version obtained from the update service contains a prefix which should be ignored
Expand Down
2 changes: 2 additions & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,8 @@ type Update struct {
// Indicates that this package should be manually updated, usually taking
// care over special version numbers
Manual bool `json:"manual,omitempty" yaml:"manual"`
// Indicates that automated pull requests should be merged in order rather than superseding and closing previous unmerged PRs
RequireSequential bool `json:"require-sequential,omitempty" yaml:"require-sequential"`
// Indicate that an update to this package requires an epoch bump of
// downstream dependencies, e.g. golang, java
Shared bool `json:"shared,omitempty" yaml:"shared,omitempty"`
Expand Down

0 comments on commit dd67582

Please sign in to comment.