Skip to content

ci(decision-model-lint): Skip Dependabot PRs - #2406

Open
sentry-junior[bot] wants to merge 1 commit into
masterfrom
jr/decision-model-lint-skip-dependabot
Open

sentry-junior[bot] wants to merge 1 commit into
masterfrom
jr/decision-model-lint-skip-dependabot

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Skips the decision-model-lint job on pull requests opened by dependabot[bot].

Dependabot PRs only bump dependencies, so the decision-model rules have little to say about them. Workflows that Dependabot triggers read Dependabot secrets instead of Actions secrets, so the OpenRouter key may not be set for them. The condition looks at the PR author rather than github.actor, so the job stays skipped when a person pushes to a Dependabot branch.

The key is also a Dependabot secret in this repo, so the job works on Dependabot PRs but spends OpenRouter calls on dependency bumps. This keeps the rule the same as in getsentry/sentry and getsentry/seer.

via @azulus.

--

View Session [Sentry]

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>
@azulus
azulus marked this pull request as ready for review November 19, 2026 20:11
@azulus
azulus requested review from a team and stayallive as code owners November 19, 2026 20:11
@azulus
azulus requested a review from gricha November 19, 2026 20:11
@sentry-junior
sentry-junior Bot requested a review from azulus November 19, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants