mergeable icon indicating copy to clipboard operation
mergeable copied to clipboard

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

Open dgteixeira opened this issue 3 years ago • 2 comments

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 avatar Dec 29 '21 18:12 dgteixeira

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

dgteixeira avatar Dec 29 '21 18:12 dgteixeira