Is it possible to call one (or many) github action from a github action to create a more specialized one, or aggregate many small actions and create a "meta github action" ?
You can't package up a composite action that can call other actions, at least not yet. Pretty new: https://github.blog/changelog/2021-08-25-github-actions-redu...
You call a reusable workflow by using the uses keyword. Unlike when you are using actions within a workflow, you call reusable workflows directly within a job, and not from within job steps.
If you have a reusable workflow in a private repository, only other workflows in that private repository can use it. Reusable workflows can't be stacked on top of one another. You can only have a reusable workflow call another reusable workflow, but you can't have it reference more than one.
You can configure a GitHub Actions workflow to be triggered when an event occurs in your repository, such as a pull request being opened or an issue being created. Your workflow contains one or more jobs which can run in sequential order or in parallel.
There is no built-in feature to do this that I'm aware of.
This is a related question where the original poster replied with a workaround that involves using the NPM packages published from other actions. How can I reference other actions from my GitHub Action's action.yml file?
I have a similar situation in which I would like actions/setup-python
to be released as an NPM package so I can use it in my Javascript action.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With