Skip to content

pre-commit-ci-lite[bot] is running Security Actions #23

pre-commit-ci-lite[bot] is running Security Actions

pre-commit-ci-lite[bot] is running Security Actions #23

Workflow file for this run

name: Security
run-name: ${{ github.actor }} is running Security Actions
on: [pull_request]
jobs:
security:
runs-on: ubuntu-latest
steps:
- run: echo "Triggered by a ${{ github.event_name }} event."
- uses: actions/checkout@v3
# E.g., to check for my `~/Local/.secret` file
- name: Custom check for secret files
run: ./osConfig/shell/bin/check_for_pattern.sh . "*secret*"
- name: Install Whispers
run: sudo pip install whispers
# Use whispers to check repo for unecrypted secrets, passwords, etc.
- name: Run whispers
run: whispers --config test/whisperConfig.yml --severity BLOCKER,CRITICAL . > /tmp/scan_output.json
# Upload Artifacts
- name: Upload the scan output
uses: actions/upload-artifact@v3
with:
name: scan_results
path: /tmp/scan_output.json
retention-days: 7