Restrict token pairs #1382
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
# This runs Yelp's 'detect-secrets': https://github.com/Yelp/detect-secrets/blob/master/README.md | |
name: Scan Code for Secrets | |
on: | |
pull_request: | |
branches: | |
- develop # develop instead of master to reduce time-to-discover | |
jobs: | |
check-for-secrets: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run Yelp's detect-secrets | |
uses: RobertFischer/[email protected] | |
- name: Commit back .secrets.baseline (if it was missing) | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "build(detect-secrets): Commit the newly-generated .secrets.baseline file" |