Skip to content

Pre-push hook also blocks on unhandled issues - #44

Merged
jurczykpawel merged 1 commit into
mainfrom
chore/hook-open-issues
Nov 26, 2026
Merged

jurczykpawel merged 1 commit into
mainfrom
chore/hook-open-issues

Conversation

@jurczykpawel

Copy link
Copy Markdown
Owner

The pre-push hook (pre-commit framework) now also refuses the push while an open issue is neither closed nor closed by the pushed commits (Closes #N / Fixes #N / Resolves #N; a bare #N mention does not count). Open pull requests are checked as before. Findings filed during other work (label znalezisko) must be handled the same way. Renamed to .githooks/pre-push-open-items.sh; AGENTS.md updated.

Test plan

🤖 Generated with Claude Code

An open issue blocks the push unless the pushed commits close it
("Closes #N", "Fixes #N", "Resolves #N"), so issues filed during other work
(label `znalezisko`) are handled instead of piling up. Pull requests are
checked as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jurczykpawel
jurczykpawel merged commit 5896318 into main Nov 26, 2026
1 check passed
@jurczykpawel
jurczykpawel deleted the chore/hook-open-issues branch November 26, 2026 21:18
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