Skip to content

Commit bde86ad

Browse files
tdobrowolski1claude
andcommitted
ci: swap gitleaks-action for CLI (org license requirement), narrow markdown scope
The gitleaks GitHub Action requires an org-level license key for repos under organizations like FlashAlpha-lab. Swapping to the gitleaks CLI binary directly (Apache 2.0, no license required) gives identical detection without the licensing dependency. Markdown link check was scanning docs/superpowers/ spec files that intentionally contain placeholder URLs; narrowed scope to public docs. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 80b2d57 commit bde86ad

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,23 +70,26 @@ jobs:
7070
run: dotnet test src/csharp/FlashAlpha.QuantConnect.sln --filter "FullyQualifiedName~SchemaDriftGuard"
7171

7272
secrets-scan:
73-
name: Gitleaks
73+
name: Gitleaks CLI
7474
runs-on: ubuntu-latest
7575
steps:
7676
- uses: actions/checkout@v4
7777
with: { fetch-depth: 0 }
78-
- uses: gitleaks/gitleaks-action@v2
79-
env:
80-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78+
- name: Install gitleaks
79+
run: |
80+
curl -sSL https://github.com/gitleaks/gitleaks/releases/download/v8.18.4/gitleaks_8.18.4_linux_x64.tar.gz | tar -xz
81+
sudo mv gitleaks /usr/local/bin/
82+
- name: Scan
83+
run: gitleaks detect --source . --no-banner --exit-code 1
8184

8285
docs:
8386
name: Markdown link check
8487
runs-on: ubuntu-latest
8588
steps:
8689
- uses: actions/checkout@v4
87-
- name: Check markdown links
90+
- name: Check markdown links (skip superpowers/ spec files with placeholder URLs)
8891
uses: gaurav-nelson/github-action-markdown-link-check@v1
8992
with:
9093
use-quiet-mode: 'yes'
91-
folder-path: 'docs'
94+
folder-path: 'docs/recipes,docs/getting-started.md,docs/data-types.md,docs/auth.md,docs/troubleshooting.md'
9295
file-path: 'README.md, CHANGELOG.md'

0 commit comments

Comments
 (0)