Use this file when running Polaris Pipeline composer updates in this repository.
- Run Polaris Pipeline composer updates for this repository only.
- Keep changes focused on generated Polaris Pipeline artifacts.
- Move to the component root where
catalog-info.yamlexists. - Run the matching build generator:
- Node.js:
gh-nodejs-build - Java/Maven:
gh-maven-build
- Node.js:
- Run
gh-oci-deploy-onpremfor Polaris deploy workflow updates (OCI/ORAS under the hood). - Review diff and confirm only expected generated Polaris Pipeline files changed.
- If changes exist, create a branch, commit, push, and open a pull request with
gh. - If there are no changes, exit cleanly.
- If execution cannot proceed safely, stop and provide a human-readable summary in chat.
- Use the
/refresh-polaris-pipelinechat prompt in this repository when you want a chat-driven run. - Default mode assumes required prompt values are already present.
- Use
--headless --forcefor non-interactive composer runs. - If headless mode fails on missing prompt values, inspect
catalog-info.yamlfirst, add only values you can justify confidently, and summarize those additions in chat. - Ask the user for any remaining value you cannot deduce confidently.
- Use
--ask-answeredonly when you intentionally need to review or change stored prompt values.
ghis installed and available.- At least one GitHub auth check is successful:
gh auth statusgh api user --jq .login
podmanordockeris installed and available.- Git working tree is clean before generation.
catalog-info.yamlexists for the component being updated.- Branch is up to date with remote using
git pull --ff-only. - No unresolved merge conflicts are present (
git diff --name-only --diff-filter=Uis empty).
When preflight runs, report results in chat as a pass/fail checklist and include a short reason for each failed check.
Use ✅ for pass items and ❌ for failed items.
If pull or conflict checks fail, stop and let a developer resolve branch state before running generators.
Each run must end in one state:
- Pull request opened with Polaris Pipeline updates.
- No changes needed.
- Stopped with a human-readable summary in chat.
When generated changes exist:
- Create a branch (example:
feat/polaris-composer-<service>). - Commit only expected generated Polaris Pipeline files.
- Push the branch to origin.
- Open a pull request with
gh pr create.