add experimental support for custom queries #113
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: secrets_scan | |
on: [pull_request, push, workflow_dispatch] | |
jobs: | |
scan: | |
name: gitleaks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: scan for secrets (gitleaks) | |
run: docker run -v $PWD:/code -w /code ghcr.io/gitleaks/gitleaks:latest dir -v |