From 43c236cb00703287c29ea6b793c0c4cccc17aa05 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Feb 2026 12:05:18 +0100 Subject: [PATCH] docs(copilot): add pre-commit and common/common-test sync requirements to Copilot instructions (#44987) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This updates repository Copilot guidance to reflect two workflow requirements from the issue: include `pre-commit` in expected checks, and require test updates in `common-test` when `common` changes. - **Copilot instruction updates** - Added explicit instruction to run `pre-commit` before finalizing changes. - Added explicit instruction to keep Helm unit tests in `charts/library/common-test` aligned with edits in `charts/library/common`. - **Scope** - Changes are limited to `.github/copilot-instructions.md` (documentation/config guidance only). ```md - Run `pre-commit` on your changes before finalizing. - When editing `charts/library/common`, also update the Helm unit tests in `charts/library/common-test` accordingly. ``` --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey). --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: PrivatePuffin <7613738+PrivatePuffin@users.noreply.github.com> --- .github/copilot-instructions.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/copilot-instructions.md diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 00000000000..de4386e7e95 --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,8 @@ +# Copilot instructions for TrueCharts + +- This repository primarily contains Helm charts under `charts/`. +- When changing chart files (other than docs like `README.md`), also bump that chart version in its `Chart.yaml`. +- Keep changes minimal and scoped to the requested chart or library component. +- Run `pre-commit` on your changes before finalizing. +- When editing `charts/library/common`, also update the Helm unit tests in `charts/library/common-test` accordingly. +- For common library changes, run `./run_common_tests.sh` (requires the Helm `unittest` plugin).