Skip to content

Fix PR contract for Dependabot maintenance PRs#232

Merged
newtontech merged 1 commit into
masterfrom
agent/issue-231-dependabot-contract
Jun 15, 2026
Merged

Fix PR contract for Dependabot maintenance PRs#232
newtontech merged 1 commit into
masterfrom
agent/issue-231-dependabot-contract

Conversation

@newtontech

Copy link
Copy Markdown
Owner

Fixes #231\n\n## Summary\n- Extract PR contract logic into scripts/check-pr-contract.sh.\n- Exempt dependency-maintenance Dependabot PRs from the human/agent body prose contract while preserving source-code test requirements.\n- Add scripts/test-pr-contract.sh regression coverage for human, Dependabot, and agent branch cases.\n\n## Tests\n- bash -n scripts/check-pr-contract.sh scripts/test-pr-contract.sh\n- scripts/test-pr-contract.sh\n- Dry-run scripts/check-pr-contract.sh with PR #216 real body/files\n- npm run format:check\n- npm run lint\n- npm run typecheck\n- git diff --check\n- commit pre-commit hook: lint, typecheck, npm run test:unit, npm run format:check\n\n## Notes\n- npm ci completed; npm audit reports existing dependency vulnerabilities unrelated to this workflow/script change.\n

@newtontech newtontech merged commit 524742f into master Jun 15, 2026
9 checks passed
@newtontech newtontech deleted the agent/issue-231-dependabot-contract branch June 15, 2026 16:34
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.

[CI] Allow verified Dependabot dependency PRs through PR Contract

1 participant