Skip to content

Commit

Permalink
new test
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Mercier committed Aug 26, 2024
1 parent 40d4409 commit dfb2da5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/detect-secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ jobs:
# troubleshooting
- name: all in one
run: |
docker run -a stdout \
docker run --pull=always -a stdout \
-v ${{github.workspace}}:/code \
--entrypoint /bin/bash \
--entrypoint /bin/sh \
icr.io/git-defenders/detect-secrets:0.13.1.ibm.61.dss-redhat-ubi \
-c "pwd; ls -al; detect-secrets --version; detect-secrets --help; detect-secrets scan --help; detect-secrets -v scan --all-files --update .secrets.baseline 2>&1; echo scan over; ls -al; echo the end"
#-c "pwd; ls -al; detect-secrets -v scan /code --update /code/.secrets.baseline; sleep 10; ls -al; detect-secrets audit --display-results /code/.secrets.baseline"

-c "detect-secrets --version;
detect-secrets scan --all-files --update .secrets.baseline;
detect-secrets audit --display-results .secrets.baseline;
detect-secrets audit --report --fail-on-unaudited --fail-on-live --fail-on-audited-real .secrets.baseline"
# fail if a potential secret was found
# -v ${{ github.workspace }}:/code \
Expand Down

0 comments on commit dfb2da5

Please sign in to comment.