Generate workflows for GitHub Actions integration.
kbc ci workflows [flags]
You will be prompted to choose which workflows you want to generate:
validate
- validates all branches on changepush
- pushes each change in the main branch to the projectpull
- pulls the main branch from the project every five minutes--ci-main-branch <string>
--ci-pull <bool>
--ci-push <bool>
--ci-validate <bool>
➜ kbc workflows
Please confirm the GitHub Actions you want to generate.
? Generate "validate" workflow?
All GitHub branches will be validated on change. Yes
? Generate "push" workflow?
Each change in the main GitHub branch will be pushed to the project. Yes
? Generate "pull" workflow?
The main GitHub branch will be synchronized every five minutes.
If a change is found, a new commit is created and pushed. Yes
? Please select the main GitHub branch name: main
Generating CI workflows ...
Created file ".github/actions/install/action.yml".
Created file ".github/workflows/validate.yml".
Created file ".github/workflows/push.yml".
Created file ".github/workflows/pull.yml".
CI workflows have been generated.
Feel free to modify them.
Please set the secret KBC_STORAGE_API_TOKEN in the GitHub settings.
See: https://docs.github.com/en/actions/reference/encrypted-secrets