From f4200627ee8e9fded9f22ec32aaabeac1c3345f4 Mon Sep 17 00:00:00 2001 From: Robby Cochran Date: Wed, 9 Sep 2026 16:12:02 -0700 Subject: [PATCH] ci: make caller review skill optional --- .github/workflows/pr-review-reusable.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-review-reusable.yml b/.github/workflows/pr-review-reusable.yml index 3a8c0c1..d18ad44 100644 --- a/.github/workflows/pr-review-reusable.yml +++ b/.github/workflows/pr-review-reusable.yml @@ -11,7 +11,7 @@ on: description: Path to the trusted review skill in the caller repository required: false type: string - default: .github/skills/pr-review/SKILL.md + default: '' secrets: VERTEX_AI_SERVICE_ACCOUNT_KEY: required: true @@ -47,7 +47,11 @@ jobs: ref: ${{ inputs.harness-ref }} path: harness persist-credentials: false + - name: Prepare default review skill + working-directory: harness + run: install -D -m 0644 examples/github-pr-reviewer/skills/pr-review/SKILL.md skills/pr-review/SKILL.md - name: Install caller skill + if: inputs.skill-path != '' env: SKILL_PATH: ${{ inputs.skill-path }} run: |