fix: instanceof Uint8Array
does not work correctly for vitest
' env jsdom
#363
Workflow file for this run
This file contains 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: Check for leaks in secrets | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read # This is required for actions/checkout | |
pull-requests: write # This is required for pull request comments | |
jobs: | |
scan: | |
name: gitleaks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: gitleaks/gitleaks-action@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} |