Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use GitHub's automerge instead of Mergify#9126

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
hugovk wants to merge2 commits intopython-pillow:main
base:main
Choose a base branch
Loading
fromhugovk:rm-mergify

Conversation

@hugovk
Copy link
Member

@hugovkhugovk commentedAug 2, 2025
edited
Loading

We first set up Mergify in 2020 to automerge PRs once certain conditions were met: CI has passed, PR is approved,automerge label added:#4931.

Since then, GitHub has added native automerge which is a bit nicer to use: no need to add a label, and while the CI is still running, the "Merge pull request" button becomes an "Enable auto-merge" button, which will do the merge when the CI passes.

Docs:https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request

I've created a ruleset for themain branch at 🔒https://github.com/python-pillow/Pillow/settings/rules/7135275. There are lots of settings, but I've mirrored the Mergify ones:

Require these status checks to pass:

Also left this enabled, because we don't want to accidentally deletemain:

  • Restrict deletions
    Only allow users with bypass permissions to delete matching refs.

We don't need to add a label, because it's now signalled by clicking "Enable auto-merge".

And we don't require explicit approval, because that's also implicit when clicking "Enable auto-merge" (similarly, for a PR where the CI has already passed, we don't require explicit approvals).

If for some reason a status check fails but we still want to merge (maybe some dependency is temporarily failing to download because a server is down), as admins we can still click to bypass the rules and merge.

Screenshots of all the settingsimageimageimage

@hugovk
Copy link
MemberAuthor

If for some reason a status check fails but we still want to merge (maybe some dependency is temporarily failing to download because a server is down), as admins we can still click to bypass the rules and merge.

Updated ruleset for this:

image

@hugovk
Copy link
MemberAuthor

Also requires "Allow auto-merge" athttps://github.com/python-pillow/Pillow/settings. I also checked "Automatically delete head branches" to keep things tidy:

image

@radarhere
Copy link
Member

#9097 and#8926 are showing an interesting side effect of these changes in settings - when we skip workflows, because we're only building docs or only building wheels, the 'Successful' checks are now just showing as 'pending'.

It doesn't cause any problems, it makes you think something might be wrong.

@hugovk
Copy link
MemberAuthor

Hmm, it actually does cause a problem, because it blocks merge (although you can use admin permissions to bypass it):

image

Let's hold off on this for now, and I've disabled the ruleset ("Enforcement status: Disabled") athttps://github.com/python-pillow/Pillow/settings/rules/7135275.

@hugovkhugovk marked this pull request as draftAugust 3, 2025 09:04
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@radarhereradarhereradarhere approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@hugovk@radarhere

[8]ページ先頭

©2009-2025 Movatter.jp