From 38421c48b0b1a98007b41577ce28b56a4cf1ab69 Mon Sep 17 00:00:00 2001 From: Michael Duggan Date: Fri, 26 Sep 2025 16:38:01 -0400 Subject: [PATCH] update if condition to check for pull requests opened by bots --- .github/workflows/CLA-Assistant.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CLA-Assistant.yml b/.github/workflows/CLA-Assistant.yml index 1908917457..4820d8697c 100644 --- a/.github/workflows/CLA-Assistant.yml +++ b/.github/workflows/CLA-Assistant.yml @@ -15,7 +15,11 @@ permissions: jobs: CLAAssistant: runs-on: ubuntu-latest - if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'silabs-matter-ci-bot' }} + if: | + github.event_name != 'pull_request' || + (github.event.pull_request.user.login != 'dependabot[bot]' && + github.event.pull_request.user.login != 'silabs-matter-ci-bot') + steps: - name: Create CLA Assistant Lite bot token uses: actions/create-github-app-token@v2