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

Support for "Check this box to trigger a request for Renovate to run again on this repository" in renovate-on-prem #187

Closed
konrad-ohms opened this issue Feb 2, 2022 · 2 comments

Comments

@konrad-ohms
Copy link

Hi,

on the public renovate GitHub bot there is an option on the dashboard "Check this box to trigger a request for Renovate to run again on this repository", e.g. renovatebot/.github#8
image

I really like that feature as I can trigger dependency updates explicitly, I tried to reproduce that behavior for renovate-on-prem by defining the following setting in my preset:

{
...
"dependencyDashboardFooter": "- [ ] Check this box to trigger a request for Renovate to run again on this repository",
...
}

This renders the checkbox, but if I check it, renovate seem to ignore the webhook.

This is the debug log when I check the checkbox:

{"name":"renovate","hostname":"95afb919741b","pid":8,"level":20,"logContext":"Y39D-lcrI","repository":"xxx","event":"issues","action":"edited","installationId":7172,"msg":"Received webhook event","time":"2022-02-02T11:02:50.189Z","v":0}
{"name":"renovate","hostname":"95afb919741b","pid":8,"level":20,"logContext":"Y39D-lcrI","repository":"xxx","msg":"Ignoring issue action: edited","time":"2022-02-02T11:02:50.189Z","v":0}
{"name":"renovate","hostname":"95afb919741b","pid":8,"level":20,"logContext":"Y39D-lcrI","repository":"xxx","event":"issues","action":"edited","installationId":7172,"msg":"Received webhook event","time":"2022-02-02T11:02:50.189Z","v":0}
{"name":"renovate","hostname":"95afb919741b","pid":8,"level":20,"logContext":"Y39D-lcrI","repository":"xxx","msg":"Ignoring issue action: edited","time":"2022-02-02T11:02:50.189Z","v":0}

I am running the docker image whitesource/renovate:2.1.1 as a bot on GitHub Enterprise.

Is it possible to port that feature to renovate on-prem? I guess the GitHub app would need to be adjusted in order to not ignore that hook?

Thanks for any help

@konrad-ohms konrad-ohms changed the title Support for "Check this box to trigger a request for Renovate to run again on this repository" Support for "Check this box to trigger a request for Renovate to run again on this repository" in renovate-on-prem Feb 2, 2022
@rarkins
Copy link
Member

rarkins commented Feb 2, 2022

See solution in #144

@konrad-ohms
Copy link
Author

Ah, cool, sorry I did not find that on my initial search. The solution works fine for me, thanks for the fast response.

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

No branches or pull requests

2 participants