Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pre-commit hook zricethezav/gitleaks to v8.23.3 #888

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 13, 2025

This PR contains the following updates:

Package Type Update Change
zricethezav/gitleaks repository minor v8.21.2 -> v8.23.3

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

zricethezav/gitleaks (zricethezav/gitleaks)

v8.23.3

Compare Source

Changelog

v8.23.2

Compare Source

Changelog

v8.23.1

Compare Source

Changelog

v8.23.0

Compare Source

Changelog

READ THIS!!! The default gitleaks config now uses [[rules.allowlists]]

### ⚠️ In v8.21.0 `[rules.allowlist]` was replaced with `[[rules.allowlists]]`.
### This change was backwards-compatible: instances of `[rules.allowlist]` still  work.
    #

### You can define multiple allowlists for a rule to reduce false positives.
### A finding will be ignored if _ANY_ `[[rules.allowlists]]` matches.
    [[rules.allowlists]]
    description = "ignore commit A"

### When multiple criteria are defined the default condition is "OR".
### e.g., this can match on |commits| OR |paths| OR |stopwords|.
    condition = "OR"
    commits = [ "commit-A", "commit-B"]
    paths = [
      '''go\.mod''',
      '''go\.sum'''
    ]

### note: stopwords targets the extracted secret, not the entire regex match
### like 'regexes' does. (stopwords introduced in 8.8.0)
    stopwords = [
      '''client''',
      '''endpoint''',
    ]

    [[rules.allowlists]]

### The "AND" condition can be used to make sure all criteria match.
### e.g., this matches if |regexes| AND |paths| are satisfied.
    condition = "AND"

### note: |regexes| defaults to check the _Secret_ in the finding.
### Acceptable values for |regexTarget| are "secret" (default), "match", and "line".
    regexTarget = "match"
    regexes = [ '''(?i)parseur[il]''' ]
    paths = [ '''package-lock\.json''' ]

v8.22.1

Compare Source

Changelog

v8.22.0

Compare Source

Changelog


This bumps the gitleaks binary size from around 8.5MB to 15MB but yields 2-4x speedup. Worth it imo. If you feel strongly against this change feel free to open an issue where we can discuss the tradeoffs in more depth. Credit to @​ahrav

v8.21.4

Compare Source

Changelog

v8.21.3

Compare Source

Changelog


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

sourcery-ai bot commented Jan 13, 2025

Reviewer's Guide by Sourcery

This PR updates the zricethezav/gitleaks pre-commit hook from v8.21.2 to v8.23.0.

Flow diagram showing the pre-commit hook update

flowchart LR
    subgraph Before[Before Update]
        A[Pre-commit Hook] --> B[Gitleaks v8.21.2]
    end
    subgraph After[After Update]
        C[Pre-commit Hook] --> D[Gitleaks v8.23.0]
    end
    Before --> |Update| After
    style Before fill:#f5f5f5,stroke:#333,stroke-width:2px
    style After fill:#f5f5f5,stroke:#333,stroke-width:2px
Loading

File-Level Changes

Change Details Files
Updated the zricethezav/gitleaks pre-commit hook to v8.23.0
  • Changed the rev value in the zricethezav/gitleaks repository configuration from v8.21.2 to v8.23.0.
.pre-commit-config.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!

@renovate renovate bot changed the title Update pre-commit hook zricethezav/gitleaks to v8.23.0 Update pre-commit hook zricethezav/gitleaks to v8.23.1 Jan 15, 2025
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch 8 times, most recently from 44e1551 to 633cf25 Compare January 22, 2025 06:00
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch 6 times, most recently from 12efc69 to 709d910 Compare January 24, 2025 16:37
@renovate renovate bot changed the title Update pre-commit hook zricethezav/gitleaks to v8.23.1 Update pre-commit hook zricethezav/gitleaks to v8.23.2 Jan 24, 2025
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch 5 times, most recently from a4de631 to d3c5643 Compare January 28, 2025 08:26
@renovate renovate bot changed the title Update pre-commit hook zricethezav/gitleaks to v8.23.2 Update pre-commit hook zricethezav/gitleaks to v8.23.3 Jan 29, 2025
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch 2 times, most recently from 5deaab3 to 6b4ec4b Compare January 30, 2025 01:13
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 6b4ec4b to 92a4826 Compare January 30, 2025 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants