fix(cli): skip opencode annotation check on upstream merge PRs

This commit is contained in:
kirillk
2026-04-09 12:30:48 -04:00
parent 2e69c4c31d
commit e11bb7cb7b
2 changed files with 36 additions and 1 deletions
@@ -11,7 +11,12 @@ on:
jobs:
check-annotations:
name: Check kilocode_change annotations
if: github.repository == 'Kilo-Org/kilocode'
if: >-
github.repository == 'Kilo-Org/kilocode' &&
(
github.event_name != 'pull_request' ||
!contains(github.event.pull_request.head.ref, 'kilo-opencode-')
)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4