Skip to content

Adds a pre-commit hook for ggshield not in a CI environment#2

Merged
iainsproat merged 2 commits intomainfrom
iain/add-ggshield-not-ci-pre-commit-hook
Aug 25, 2022
Merged

Adds a pre-commit hook for ggshield not in a CI environment#2
iainsproat merged 2 commits intomainfrom
iain/add-ggshield-not-ci-pre-commit-hook

Conversation

@iainsproat
Copy link
Copy Markdown
Contributor

Description & motivation

Would like to run ggshield locally as part of a pre-commit step, but not in a CI environment. This pre-commit hook does that.

Changes:

  • adds a pre-commit hook ggshield-not-ci

To-do before merge:

Screenshots:

Validation of changes:

Checklist:

  • My pull request follows the guidelines in the Contributing guide?
  • My pull request does not duplicate any other open Pull Requests for the same update/change?
  • My commits are related to the pull request and do not amend unrelated code or documentation.
  • My code follows a similar style to existing code.
  • I have added appropriate tests.
  • I have updated or added relevant documentation.

References

@iainsproat iainsproat marked this pull request as ready for review August 25, 2022 11:11
@iainsproat iainsproat merged commit daf2624 into main Aug 25, 2022
@iainsproat iainsproat deleted the iain/add-ggshield-not-ci-pre-commit-hook branch August 25, 2022 11:15
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