-
|
https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#example on:
workflow_dispatchInstead it works when I define an empty yaml map like: on:
workflow_dispatch: {}As a bonus bug, when I define like: on:
workflow_dispatch: []The github UI stops working! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
If it's multiple events you would have to make it like this or yea use on:
workflow_dispatch:
pull_request:because of course that's just how YAML works on:
workflow_dispatchon: workflow_dispatchotherwise those should work just fine... |
Beta Was this translation helpful? Give feedback.
-
|
Sorry I didn't see this at the time, but I can confirm that the documentation matches the product behavior now. Thanks for the feedback! |
Beta Was this translation helpful? Give feedback.

Sorry I didn't see this at the time, but I can confirm that the documentation matches the product behavior now. Thanks for the feedback!