File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ jobs:
4848
4949 - name : Install frontend deps
5050 working-directory : frontend
51- run : npm ci
51+ run : npm install
5252
5353 - name : Build frontend
5454 working-directory : frontend
55- run : npm run build
55+ run : CI=false npm run build
5656
5757 python-sanity :
5858 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1515 with :
1616 fetch-depth : 0
1717
18+ - name : Install gitleaks
19+ run : |
20+ GITLEAKS_VERSION=8.24.2
21+ curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" | tar -xz
22+ sudo mv gitleaks /usr/local/bin/gitleaks
23+
1824 - name : Run gitleaks
19- uses : gitleaks/gitleaks-action@v2
20- env :
21- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25+ run : |
26+ gitleaks detect --source . --no-git --redact --exit-code 1
You can’t perform that action at this time.
0 commit comments