Skip to content

Commit ca56cbc

Browse files
tarun-etikalaclaude
andcommitted
refactor: split secret scanning into its own CI job
Separate gitleaks from the lint job into a dedicated secret-scanning job. This runs in parallel with linting, uses fetch-depth: 0 for full history scanning, and keeps concerns cleanly separated. Ref: RHAIENG-4062 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b3b261d commit ca56cbc

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/code-quality.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ jobs:
4949
with:
5050
version: 1.7.12
5151

52+
secret-scanning:
53+
runs-on: ubuntu-latest
54+
permissions:
55+
contents: read
56+
timeout-minutes: 5
57+
steps:
58+
- name: Checkout
59+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
60+
with:
61+
fetch-depth: 0
62+
5263
- name: Gitleaks
5364
env:
5465
GITLEAKS_VERSION: "8.30.1"

0 commit comments

Comments
 (0)