gitleaks-action icon indicating copy to clipboard operation
gitleaks-action copied to clipboard

Pull requests getting stuck waiting for status to be reported

Open cerontrustly opened this issue 2 years ago • 1 comments

Hi,

I've been using successfully Gitleaks checks in my repos for a long time, but lately my PRs are getting stuck waiting for "Gitleaks report to be reported". After further investigation, it appears that no checks were run on the PR, though Gitleaks is still waiting for the report. It looks like GitHub is responding as it should. This started to happen about one month ago and keep happening. This lead me in disabling Gitleaks as a required status checks to be able to work. I was wondering if someone could help me solve this problem...I did not change both my workflow and rules files below during this period, which are pretty basic:

Workflow file:

name: gitleaks
on: [pull_request, push, workflow_dispatch]
jobs:
  scan:
    name: gitleaks
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0
      - uses: gitleaks/gitleaks-action@v2
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
          GITLEAKS_CONFIG: path/rules.toml

Rules file:

title = "Gitleaks Config File"

[extend]
useDefault = true

[allowlist]
description = "global allow list"

paths = [
  '''path/rules.toml'''
]

stopwords = [
]

image

Thank you, Igor

cerontrustly avatar May 22 '23 19:05 cerontrustly

@zricethezav could you maybe have a look? We have the same issue. Thank you 🙏🏼

selhuberb avatar Aug 25 '25 11:08 selhuberb