Skip to content

ci(security): scope gitleaks scan to the pull request commits - #636

Merged
pkoprda merged 1 commit into
mainfrom
pkoprda/security-pr-scoped-gitleaks
Nov 4, 2026
Merged

pkoprda merged 1 commit into
mainfrom
pkoprda/security-pr-scoped-gitleaks

Conversation

@pkoprda

@pkoprda pkoprda commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Scan only the commits a pull request adds on top of its target branch: gitleaks runs with the log range .. instead of re-scanning the history shared by main and release-0.2, whatever branch the change targets. The scanners run only on pull requests.

Assisted-by: GLM-5.3-Flash

Scan only the commits a pull request adds on top of its target branch:
gitleaks runs with the log range <base>..<head> instead of re-scanning
the history shared by main and release-0.2, whatever branch the change
targets. The scanners run only on pull requests.

Assisted-by: GLM-5.3-Flash
Signed-off-by: pkoprda <pkoprda@redhat.com>
@pkoprda
pkoprda requested a review from a team as a code owner November 4, 2026 16:29

@stephenbourke stephenbourke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ACK

@pkoprda
pkoprda merged commit bd9d81d into main Nov 4, 2026
24 of 29 checks passed
@pkoprda
pkoprda deleted the pkoprda/security-pr-scoped-gitleaks branch November 4, 2026 16:37
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