Skip to content

ci: also skip the render gate for .claude config-only changes#60

Merged
jbrecht merged 1 commit into
mainfrom
ci-skip-claude-config
Jun 16, 2026
Merged

ci: also skip the render gate for .claude config-only changes#60
jbrecht merged 1 commit into
mainfrom
ci-skip-claude-config

Conversation

@jbrecht

@jbrecht jbrecht commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Follow-up to #58. Agent-definition and settings changes under .claude/ were running the full ~3-min render gate unnecessarily.

Why they didn't skip

dorny/paths-filter uses picomatch with dot: false, so **/*.md does not descend into the .claude dot-directory — verified:

**/*.md (dot:false):  .claude/agents/README.md = false   docs/x.md = true   README.md = true

So a .claude/**-only PR (like #59) failed the docs_only predicate and ran Chromium + e2e for nothing.

Fix

Add an explicit .claude/** to the docs_only globs. A literal dot segment matches regardless of the dot option (verified: .claude/agents/*.md, .claude/settings.json all match). Agent/config files can't affect a render, so skipping the gate for .claude-only changes is safe — and it stays conservative (a .claude + code PR still runs the full gate via the every predicate).

This PR touches ci.yml, so it runs the full gate itself. The skip will first take effect on the next .claude-only PR.

🤖 Generated with Claude Code

'**/*.md' uses picomatch with dot:false, which won't descend into the
.claude dot-directory, so agent-definition / settings changes ran the
full render gate unnecessarily. Add an explicit '.claude/**' to the
docs_only filter (a literal dot segment matches regardless of the dot
option). Still conservative: a PR mixing .claude with any code change
fails the 'every' predicate and runs the full gate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jbrecht jbrecht merged commit 0d50f7e into main Jun 16, 2026
1 check passed
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.

1 participant