Fix concurrency #1931
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: gitleaks (secret scan) | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 4 * * *" # run once a day at 4 AM | |
jobs: | |
scan: | |
name: gitleaks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install pre-commit | |
run: pip install pre-commit | |
- name: Scan for secrets | |
run: pre-commit run gitleaks --all-files |