Skip to content

chore(pr-automation): expand CRITICAL_PATH_PATTERN to cover config and docs files#1915

Merged
piorpua merged 1 commit intomainfrom
zynx/chore/expand-critical-path-pattern
Mar 30, 2026
Merged

chore(pr-automation): expand CRITICAL_PATH_PATTERN to cover config and docs files#1915
piorpua merged 1 commit intomainfrom
zynx/chore/expand-critical-path-pattern

Conversation

@piorpua
Copy link
Copy Markdown
Contributor

@piorpua piorpua commented Mar 30, 2026

Summary

  • Expand CRITICAL_PATH_PATTERN in the pr-automation skill to cover root-level config files, CI/CD configs, docs, and security-sensitive files
  • Replace the narrow ^scripts/pr-automation\.sh with ^scripts/ to protect all automation scripts
  • Add patterns for: .github/, AGENTS.md, CLAUDE.md, readme.md, package.json, bun.lock, electron-builder.yml, electron.vite.config.ts, tsconfig.json, uno.config.ts, .pre-commit-config.yaml, codecov.yml, entitlements.plist, docs/, and all lint/format config files

Test plan

  • Verify that a PR touching package.json is routed to bot:ready-to-merge instead of auto-merged
  • Verify that a PR touching scripts/ (not just pr-automation.sh) triggers critical path detection
  • Verify that a PR with no changes to these patterns still auto-merges as expected

@piorpua piorpua merged commit 5fee593 into main Mar 30, 2026
8 checks passed
@piorpua piorpua deleted the zynx/chore/expand-critical-path-pattern branch March 30, 2026 07:39
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