test(actions): fix typo in 'Code quality checker'. #3
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: Secret scanner | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
secret-scanner: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Scan secrets in commits | |
run: nix shell nixpkgs#gitleaks --command gitleaks git --no-banner --verbose | |
- name: Scan secrets in files | |
run: nix shell nixpkgs#gitleaks --command gitleaks dir --no-banner --verbose |