Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

melange/update block: provide config option to indicate that automated pull requests should be merged in order rather than superseding and closing previous unmerged PRs #1681

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

rawlingsj
Copy link
Member

@rawlingsj rawlingsj commented Dec 7, 2024

Some packages such as jenkins are required to build all upstream versions. The default behaviour of the update bot will close previous automated update bot PRs superceeded by a new version.

This new config option will allow maintainers to tell the update bot to not close existing PRs if they have not yet been merged.

This will allow the bot to create issues like this...

Screenshot 2024-12-09 at 13 37 35

And not close old PRs.

The new config looks like

update:
  enabled: true
  require-sequential: true

…d pull requests should be merged in order rather than superseding and closing previous unmerged PRs

Some packages such as [jenkins](https://github.com/wolfi-dev/os/blob/main/jenkins.yaml) are required to build all upstream versions.  The default behaviour of the update bot will close previous automated update bot PRs superceeded by a new version.

This new config option will allow maintainers to tell the update bot to _not_ close existing PRs if they have not yet been merged.

Signed-off-by: James Rawlings <jrawlings@chainguard.dev>
@rawlingsj rawlingsj marked this pull request as draft December 7, 2024 22:40
@rawlingsj rawlingsj marked this pull request as ready for review December 9, 2024 15:11
@rawlingsj rawlingsj merged commit dd67582 into chainguard-dev:main Dec 9, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants