-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
new bot_account
policy effectively makes rebase a premium feature when used in conjunction with renovate or other bots
#5074
Comments
Suggested solutions:
|
Hi @DanySK do you have a pull request link where we can see the failure? |
Sure: AlchemistSimulator/Alchemist#2086 Edit: adding a snapshot, as in case of modifications the run would be different |
It is even worse: also explicitly excluding accounts that cannot be impersonated lead to an error in mergify: pull_request_rules:
- name: Auto-rebase if appropriately labeled
conditions:
- label=auto-update-rebase
# work around for Mergifyio/mergify#5074
- not:
or: &authors_are_bots
- author=renovate[bot]
- author=dependabot[bot]
- -draft
- -conflict
actions:
rebase: Tested on: DanySK/shared-slides#73 |
The new behavior is due to this change: https://changelog.mergify.com/changelog/rebasing-pull-requests-with-a-random-user-is-deprecated |
Yes, but, with the new policy, rebasing may cause Mergify to fail.
|
I believe I am running into the same issue using the rebase action with dependabot as the PR author. I get the following error:
Is there a potential workaround for PRs created by GitHub applications to still utilize the rebase action? |
Since |
Expected Behavior
It is possible to rebase PRs created by GitHub applications (such as dependabot or renovate) with the free version of mergify.
Worst case, with the previous behaviour (randomly picked user with sufficient rights)
Actual Behavior
Leaving
bot_account
unspecified prevents the rebase (the user cannot be impersonated).Specifying the bot account makes Mergify fail (premium feature)
Steps to Reproduce the Problem
Specifications
Example config triggering the problem
The text was updated successfully, but these errors were encountered: