đ ci-github
Generate GitHub Actions workflow files for geol.
đĨī¸ Usageâ
geol ci-github [command] [options]
đ Descriptionâ
The ci-github command generates GitHub Actions workflow files that can be used to automate lifecycle checks with geol.
By default, this command generates a ready-to-use GitHub Actions workflow.
This is equivalent to:
geol ci-github init
The generated workflow can be committed directly to a repository and used to monitor product end-of-life (EOL) status in CI/CD pipelines.
âī¸ Global Optionsâ
| Option | Description |
|---|---|
-f, --force | Overwrite the output file if it already exists |
-o, --output | Path to the generated workflow file |
-l, --log-level | Logging level (debug, info, warn, error) |
đ Available Subcommandsâ
| Subcommand | Description |
|---|---|
init | Generate a GitHub Actions workflow file |
đ Generate a Workflowâ
Create a ready-to-use GitHub Actions workflow:
geol ci-github init
This command generates a workflow file that can be added directly to a GitHub repository.
By default, the file is created as:
.github/workflows/geol-action.yml
đ Custom Output Fileâ
Generate the workflow in a custom location:
geol ci-github init --output .github/workflows/eol-check.yml
Use a custom file name if your repository already contains other workflow definitions.
đ Overwrite an Existing Fileâ
If the output file already exists, use the --force option to replace it.
geol ci-github init --force
Example:
geol ci-github init \
--output .github/workflows/geol-action.yml \
--force
Existing files will be overwritten when using the --force option.
đĄ Examplesâ
Generate the default workflow:
geol ci-github
Generate the workflow explicitly:
geol ci-github init
Generate a workflow in a custom file:
geol ci-github init \
--output .github/workflows/eol-check.yml
Overwrite an existing workflow:
geol ci-github init --force
â Common Use Casesâ
Use this command to:
- Generate a GitHub Actions workflow
- Automate lifecycle checks
- Monitor software end-of-life dates
- Integrate geol into CI/CD pipelines
- Quickly bootstrap GitHub-based lifecycle monitoring
đ Related Documentationâ
For a complete GitHub Actions integration example, see:
- đ Use geol in GitHub Actions