From 52bcbde4a40027462f9c733b18f18f20ac79be50 Mon Sep 17 00:00:00 2001 From: LaurentM Pass Date: Thu, 10 Oct 2024 17:02:25 +0200 Subject: [PATCH] feat: Restrict to ourselve gpt trigger --- .github/workflows/ci_gpt.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci_gpt.yml b/.github/workflows/ci_gpt.yml index 317413fd..8c85125e 100644 --- a/.github/workflows/ci_gpt.yml +++ b/.github/workflows/ci_gpt.yml @@ -6,12 +6,11 @@ on: jobs: run_code_review: runs-on: ubuntu-latest - if: ${{ github.event.comment.body == '/gpt-check' && github.event.comment.user.association == 'CONTRIBUTOR' }} + if: ${{ github.event.comment.body == '/gpt-check' && contains('lmontier-pass,valoumiaou,dcuesta-pass,LucileRainteau,cdelabre', github.event.pull_request.user.login) }} steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Code Review GPT uses: mattzcarey/code-review-gpt@v0.1.10 with: