Skip to content

feat: Redesign toolbar UI with themed pill buttons and SVG icons #18

feat: Redesign toolbar UI with themed pill buttons and SVG icons

feat: Redesign toolbar UI with themed pill buttons and SVG icons #18

name: Secret Scanning
on:
push:
branches: [ main ]
paths-ignore:
- 'screenshots/**'
- '**.md'
pull_request:
branches: [ main ]
jobs:
trufflehog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set base and head
id: set_vars
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
echo "base=${{ github.event.pull_request.base.sha }}" >> $GITHUB_OUTPUT
echo "head=${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
else
echo "base=${{ github.event.before }}" >> $GITHUB_OUTPUT
echo "head=${{ github.event.after }}" >> $GITHUB_OUTPUT
fi
- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@main
with:
path: ./
base: ${{ steps.set_vars.outputs.base }}
head: ${{ steps.set_vars.outputs.head }}
extra_args: --debug --only-verified