From 6b8cdfb075d9612bbab05a644ecb1556eb129941 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Thu, 19 Nov 2026 17:26:52 +0000 Subject: [PATCH] ci(decision-model-lint): Skip Dependabot PRs Dependabot PRs only bump dependencies, and their runs read Dependabot secrets instead of Actions secrets, so the OpenRouter key may be empty and the linter exits with a config error. Co-Authored-By: Jeremy Stanley <123119+azulus@users.noreply.github.com> --- .github/workflows/decision-model-lint.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/decision-model-lint.yml b/.github/workflows/decision-model-lint.yml index 5785f616b..ea3007558 100644 --- a/.github/workflows/decision-model-lint.yml +++ b/.github/workflows/decision-model-lint.yml @@ -14,7 +14,11 @@ jobs: name: Lint PR # Branches in this repo only, so employees and internal bots but never forks. Every label # change re-runs the lint, because a skipped run would replace the last result. - if: github.event.pull_request.head.repo.full_name == github.repository + # Dependabot PRs only bump dependencies, so they are not linted. Their runs also read + # Dependabot secrets instead of Actions secrets, so the key may not be set. + if: >- + github.event.pull_request.head.repo.full_name == github.repository && + github.event.pull_request.user.login != 'dependabot[bot]' runs-on: ubuntu-latest timeout-minutes: 15 permissions: