Skip to content

chore: Run this repo's own hooks in the published Docker image - #284

Merged
gabelton merged 2 commits into
mainfrom
chore/run-own-hooks-in-docker
Nov 17, 2026
Merged

gabelton merged 2 commits into
mainfrom
chore/run-own-hooks-in-docker

Conversation

@joshwong-cs

@joshwong-cs joshwong-cs commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Scan commits to this repo the same way consuming repos are scanned: inside the published image, with its pinned Trufflehog version and bundled spaCy model, rather than whatever each contributor has installed. The hooks still run the working copy's code, and make run-hook-python remains for testing with local Python.

Signed-off-by: BIST pre-commit check

Description

For a combined summary, please see #282

Contributors

Let's acknowledge the people who contributed to the work.

Type of change

  • Refactoring (made code better without changing its behaviour)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How this has been tested

Please describe the tests that you ran to verify your changes.

If they are not automated tests please explain why and provide screenshots and/or instructions so they can reproduced.

Checklist

  • I have performed a self-review of my code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Reviewer Checklist

  • I have reviewed the PR and ensured no secret or sensitive values are present

Scan commits to this repo the same way consuming repos are scanned:
inside the published image, with its pinned Trufflehog version and
bundled spaCy model, rather than whatever each contributor has
installed. The hooks still run the working copy's code, and
`make run-hook-python` remains for testing with local Python.

Signed-off-by: BIST pre-commit check
Comment thread .pre-commit-config.yaml Resolved
@gabelton
gabelton merged commit 13bef21 into main Nov 17, 2026
20 checks passed
@gabelton
gabelton deleted the chore/run-own-hooks-in-docker branch November 17, 2026 12:45
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.

2 participants