My Workflow
Generally, most of the time, I will be re-using my Github actions from one project to another. So I needed a tool to re-use existing Github actions from my other projects. Hence I created a CLI tool called github-actions-builder
to create / copy-paste my Github actions across various projects.
Install
npm install github-actions-builder
Usage
github-actions-builder
There are 3 modes of choosing workflow:
- Choose from Starter Templates
- Copy existing workflow
- Setup a Custom Workflow
Choose from Starter Templates
This will help you to choose the pre-defined templates from
actions/starter-workflows based on categories like Automation
, CI
, etc.,
Copy existing workflow
This will help you to copy existing workflows from various repositories either yours or others. All you need to do is to give the repo info in the form of:
<user-name>/<repo-name>
and choose the workflow you want to copy.
Setup a Custom Workflow [BETA]
This will ask a series of questions to setup your workflow.
This is still a Work-In-Progress, it will not give exhaustive options to setup your workflow.
Submission Category:
- Maintainer Must-Haves
Yaml File or Link to Code
rajasegar / gab
Github Actions Builder - A CLI tool to create / copy / paste github actions from command line.
github-actions-builder
A CLI tool to build github actions workflows from wherever you are.
install
npm install github-actions-builder
usage
gab
There are 3 modes of choosing workflow:
- Choose from Starter Templates
- Copy existing workflow
- Setup a Custom Workflow
Choose from Starter Templates
This will help you to choose the pre-defined templates from
actions/starter-workflows based
on categories like Automation
, CI
, etc.,
Copy existing workflow
This will help you to copy existing workflows from various repositories either yours or
others. All you need to do is to give the repo info in the form of:
<user-name>/<repo-name>
and choose the workflow you want to copy.
Setup a Custom Workflow [BETA]
This will ask a series of questions to seup your workflow. This is still a Work-In-Progress, it will not give exhaustive options to setup your workflow.
Top comments (0)