Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(compliance): 2026-05-11 audit findings for .github repo #243
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
base: main
Are you sure you want to change the base?
fix(compliance): 2026-05-11 audit findings for .github repo #243
Changes from all commits
d94163433616ce4ba2436ee01ab7eaca46431fc75a2acf7286f7b1145c710d9477ead03098492885796a23070b63ebc9827fa71b30e38ea319bbf0477fb0086652f0af42a46f5a6e5b9649c53f1cb4f1cbfac6904a914f76b9247917a635dadcc50f0f656735d19d98462707a555d00b7eb40c39c49cc8a23e874aa0dac4f1b63b875011ea4abf432ab13680bf0f69bb3f4266File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: petry-projects/.github
Length of output: 609
🏁 Script executed:
Repository: petry-projects/.github
Length of output: 575
🏁 Script executed:
Repository: petry-projects/.github
Length of output: 575
🏁 Script executed:
Repository: petry-projects/.github
Length of output: 48
🏁 Script executed:
Repository: petry-projects/.github
Length of output: 7944
Critical:
argsis not a recognized input forgitleaks/gitleaks-action@v2.The action's
action.ymldeclares noinputs:section—configuration is taken entirely from environment variables. Theargs: detect --source . --redact --verbose --exit-code 1will be silently ignored, losing flags like--redactand--verbose.Additionally, the action auto-detects only
gitleaks.toml(without dot prefix) at the repo root. A.gitleaks.tomlfile exists in this repo but will not be loaded; its allowlist and custom rules will be silently dropped unless explicitly set viaGITLEAKS_CONFIG.🛠 Fix — remove unsupported `args` and wire config via env
- name: Run gitleaks uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 # v2.3.9 - with: - args: detect --source . --redact --verbose --exit-code 1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }} + GITLEAKS_CONFIG: .gitleaks.toml🤖 Prompt for AI Agents