-
Notifications
You must be signed in to change notification settings - Fork 326
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
Allow more than just a push event to run the action #632
Conversation
Thanks for your contribution. I know this is an simply change. But this would affect the github app application as well. It would be much preferred to wait for #549 |
No problem! Take your time! 😄 |
I have an extended weekend coming up, so hopefully soon(tm) |
Previously release-drafter would only run on push events which is why our attempt to use it in a cron job for Gold were not doing anything. ref: release-drafter#612 ref: release-drafter#632 ref: release-drafter#549
don't mind me, just testing something. /rebase fair enough, however the trigger works! https://github.com/release-drafter/release-drafter/runs/1611840422?check_suite_focus=true
|
👋 @MindaugasLaganeckas I chose to make this conditional to support both use cases. |
We would like to propose a change, where it is the github action determines, when a release-drafter should be run.
We have a usecase, where it is a workflow dispatch event, that triggers the action and this line:
app.on('push', async (context) => {
prevents the action to run.Maybe there is a better way to solve this problem rather than replacing
push
with*
. Your input is welcome.