Skip to content

fix(opencode,kilo): scope instructions ownership to the managed rules directories #5530

fix(opencode,kilo): scope instructions ownership to the managed rules directories

fix(opencode,kilo): scope instructions ownership to the managed rules directories #5530

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths-ignore: &paths-ignore
- "docs/**"
- "!docs/.vitepress/config.ts"
- "images/**"
- ".devcontainer/**"
- "LICENSE"
- "CONTRIBUTING.md"
- "SECURITY.md"
pull_request:
branches: [main]
paths-ignore: *paths-ignore
permissions:
contents: read # Required for checking out code
jobs:
quality:
name: Code Quality & Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup mise
uses: jdx/mise-action@9e7f7633ff6f6d6048a9418a68d48f288f50eb14 # v4.2.3
with:
experimental: true
- name: Setup Takumi Guard npm registry
uses: flatt-security/setup-takumi-guard-npm@9a5d797c2085b6326d3a2985c08e3a114b9b88c1 # v1
- name: Install dependencies
run: pnpm install --ignore-scripts
- name: Check no files generated
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "Error: Files were generated or modified after pnpm install"
git status --porcelain
exit 1
fi
- name: Run cicheck
run: pnpm cicheck
- name: Build
run: pnpm build
- name: Check no uncommitted changes after build
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "Error: Uncommitted changes detected after build"
git status --porcelain
git diff
exit 1
fi
- name: Check build artifacts
run: |
test -f dist/index.js
test -f dist/index.cjs
test -f dist/index.d.ts
test -f dist/index.d.cts