Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Allow to opt out specific PR authors from claude-code-review GitHub workflow (#64554)

Kamil Mielnikc291a439a50a
diff --git a/.github/workflows/claude-code-review.yaml b/.github/workflows/claude-code-review.yaml
index 7566bc6fb45..c29d583e512 100644
--- a/.github/workflows/claude-code-review.yaml
+++ b/.github/workflows/claude-code-review.yaml
@@ -8,9 +8,12 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}-claude-code-review
cancel-in-progress: true
+env:
+ EXCLUDED_PR_AUTHORS: '["kamilmielnik", "romeovs"]'
+
jobs:
review:
- if: "!contains(github.event.pull_request.labels.*.name, 'skip-cc-review')"
+ if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-cc-review') && !contains(fromJSON(env.EXCLUDED_PR_AUTHORS), github.event.pull_request.user.login) }}
runs-on: ubuntu-latest
permissions:
contents: read