Create personal access token and put to .env
as GITHUB_TOKEN
$ ./bin/generate --help
Usage: generate [options]
-t, --template=TEMPLATE
e.g.
$ ./bin/generate --template=github_actions some_migration
Write to /path/to/ci-config-itamae/cookbooks/migrate/github_actions/20200311232827_some_migration.rb
$ ./bin/migrate --help
Usage: migrate [options]
--dry-run
--log-level=LOG_LEVEL
--recipe=RECIPE
--repo=REPO
-m, --message=COMMIT_MESSAGE
--include=TAGS
--exclude=TAGS
e.g.
# Apply to a repo
$ ./bin/migrate --recipe=cookbooks/migrate/github_actions/20200311232827_some_migration.rb -m "This is commit message" --repo=github.com/sue445/rubicure --dry-run
# Apply to multiple repos
$ ./bin/migrate --recipe=cookbooks/migrate/github_actions/20200311232827_some_migration.rb -m "This is commit message" --include=gem --dry-run
Run ./bin/migrate
without --dry-run
.