Skip to content

chore: wire git hooks setup into Makefile and CONTRIBUTING#187

Merged
longieirl merged 1 commit intomainfrom
chore/wire-githooks-setup
May 8, 2026
Merged

chore: wire git hooks setup into Makefile and CONTRIBUTING#187
longieirl merged 1 commit intomainfrom
chore/wire-githooks-setup

Conversation

@longieirl
Copy link
Copy Markdown
Owner

Pull Request

Summary

Ensures new clones automatically activate the .githooks/pre-push hook that blocks direct pushes to main. Previously git config core.hooksPath .githooks was a manual step with no documentation.

Changes

  • Makefilemake setup now runs git config core.hooksPath .githooks
  • CONTRIBUTING.md — local setup steps include the git config command with a note explaining what it does

Type

  • Documentation

Testing

  • Manually tested

Checklist

  • Code follows project style
  • Self-reviewed
  • Documentation updated (if needed)
  • No new warnings

Downstream impact

  • This PR changes a public interface in bankstatements_core (exported class, function, or exception)

Add `git config core.hooksPath .githooks` to the `make setup` target and
to the CONTRIBUTING.md local setup steps so new clones automatically
activate the pre-push hook that blocks direct pushes to main.
@longieirl longieirl self-assigned this May 8, 2026
@github-actions github-actions Bot added chore documentation Improvements or additions to documentation labels May 8, 2026
@longieirl longieirl merged commit 0ea2ba3 into main May 8, 2026
13 checks passed
@longieirl longieirl deleted the chore/wire-githooks-setup branch May 8, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant