From 3751bc349254fc0e1b72584d2730971ecf234e12 Mon Sep 17 00:00:00 2001 From: "kiloconnect[bot]" <240665456+kiloconnect[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 09:23:30 +0000 Subject: [PATCH] Add CI check to prevent kilocode_change markers in kilo packages --- .github/workflows/check-kilocode-change.yml | 26 +++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/check-kilocode-change.yml diff --git a/.github/workflows/check-kilocode-change.yml b/.github/workflows/check-kilocode-change.yml new file mode 100644 index 00000000000..ed69924c2ad --- /dev/null +++ b/.github/workflows/check-kilocode-change.yml @@ -0,0 +1,26 @@ +name: check kilocode_change markers + +on: + push: + branches: + - main + pull_request: + +jobs: + check: + name: no kilocode_change in kilo packages + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Check for kilocode_change markers + run: | + if grep -r --include='*' -l 'kilocode_change' packages/kilo-vscode/ packages/kilo-ui/; then + echo "" + echo "ERROR: Found 'kilocode_change' markers in kilo-specific packages." + echo "These packages are entirely Kilo Code additions and do not need kilocode_change markers." + echo "Please remove them from the files listed above." + exit 1 + fi + echo "No kilocode_change markers found. All clear."