mergeability / mergeable

🤖 All the missing GitHub automation 🙂 🙌
https://mergeable.us
GNU Affero General Public License v3.0
683 stars 116 forks source link

[Request Feature] Possibility to trigger GitHub Actions within the Actions block #608

Open dgteixeira opened 2 years ago

dgteixeira commented 2 years ago

Feature Request - Trigger GitHub Actions with the Actions block

Description

Hello all, I'd like to suggest the possibility of implementing a action within the Actions block, that could trigger a specific github workflow through its name.

Possible Use-Cases

When we want a Terraform pipeline to apply our code in a specified endpoint, but only want to apply it whenever some Mergeable validations are completed successfully. This would enable us to detect if all the required reviewers have accepted the PR and only then, trigger the action required to deploy the code.

Possible Dependencies

To enable this, we would probably need to have the workflow_dispatch event trigger for the desired GitHub workflow, to enable us to trigger that workflow whenever required.

Would something like this be possible?

For this feature, the implementation of the issue #396 , would also be a great integration!

Thanks!

dgteixeira commented 2 years ago

This issue could have some in-common characteristics as the following: https://github.com/mergeability/mergeable/issues/323

cscheffauer commented 1 month ago

is anyone actively working on this? thanks