chore(deps): bump lodash from 4.17.23 to 4.18.1 in /frontend #92
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Secrets Scan | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| gitleaks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Install gitleaks | |
| run: | | |
| GITLEAKS_VERSION=8.24.2 | |
| curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" | tar -xz | |
| sudo mv gitleaks /usr/local/bin/gitleaks | |
| - name: Run gitleaks | |
| run: | | |
| rm -rf /tmp/repo-scan | |
| mkdir -p /tmp/repo-scan | |
| git archive --format=tar HEAD | tar -xf - -C /tmp/repo-scan | |
| gitleaks detect --source /tmp/repo-scan --no-git --redact --exit-code 1 |