fix(ci): remove issues trigger cascade + add dependabot fast-pass - #85
Merged
Conversation
- Remove `issues` event trigger from claude.yml and its corresponding `if:` condition. Issues opened by Ralph/Dependabot were causing cascading Claude invocations that burned Anthropic spend with no useful output. - Add a Dependabot fast-pass to claude-blocking-review.yml that skips AI review when `github.actor == dependabot[bot]`. Version bumps are low-risk, and claude-code-action already refuses to run on PRs that modify workflow files. This eliminates wasted review minutes on every Dependabot PR across all consumer repos. - Update claude-assistant.yml caller documentation to match.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove
issuestrigger fromclaude.yml: Theissues: [opened, assigned]event trigger was causing cascading Claude invocations whenever Ralph or Dependabot created issues. Each issue opened would fire the workflow, burn Anthropic API credits, and produce no useful output (Claude has nothing actionable to do on a newly-opened issue from a bot). Removed the trigger and its correspondingif:condition.Add Dependabot fast-pass to
claude-blocking-review.yml: Whengithub.actor == dependabot[bot], skip the paid Claude review entirely. Version bumps are low-risk, andclaude-code-actionalready refuses to run on PRs that modify workflow files (which covers Dependabot's action-pin bumps). The fast-pass is inserted after the doc-only check and before parameter estimation, so all downstream steps (review, comment minimize, verdict check) are properly short-circuited.Update
claude-assistant.ymlcaller documentation: Removed theissuesline from the exampleif:block so consumer repos copying the template don't re-introduce the trigger.Motivation
Part of the Anthropic spend reduction initiative. These two changes eliminate the highest-volume sources of wasted Claude invocations across all repos that consume these reusable workflows.
Test plan