DEV Community

Michael Di Prisco
Michael Di Prisco

Posted on

My Journey in Open Source - github-workflow-migrator

What is it?

This is a tool to migrate GitHub Actions workflows from one repository to another/multiple repositories.

How to use it?

Prerequisites

Installation

npm install -g github-workflow-migrator
Enter fullscreen mode Exit fullscreen mode

Npx

You can simply execute the migrator via npx:

npx github-workflow-migrator -cnf ./config.json
Enter fullscreen mode Exit fullscreen mode

Usage

Help

This command will provide you a list of all available options.

npx github-workflow-migrator -h
Enter fullscreen mode Exit fullscreen mode

All options

npx github-workflow-migrator -gu Cadienvan -gm ssh -i -t -cm -v -rp 'abc,def,ghi' -cu "customurl" -f "foldercustom" -ci "npm install custom" -ct "npm test custom"
Enter fullscreen mode Exit fullscreen mode

Simple usage

npx github-workflow-migrator -cnf ./config.json
Enter fullscreen mode Exit fullscreen mode

Configuration

Please, look at the config.example.json file.

License

MIT

Contributions

Contributions are welcome! Feel free to open an issue or a pull request.

Top comments (0)