👷 Simplify checkout step in trufflehog workflow
Some checks failed
Nix: check for unused code / Run deadnix (push) Has been cancelled
Trufflehog: check for exposed secrets / Run trufflehog (push) Has been cancelled

This commit is contained in:
Jo 2025-06-20 00:56:13 +02:00 committed by GitHub
parent a9e5e27aab
commit d65c18cf32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,7 @@
name: "Trufflehog: check for exposed secrets" name: "Trufflehog: check for exposed secrets"
on: on:
workflow_dispatch:
pull_request: pull_request:
push: push:
paths: paths:
@ -18,10 +19,8 @@ jobs:
name: Run trufflehog name: Run trufflehog
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - uses: actions/checkout@main
uses: actions/checkout@v4
with: with:
ref: ${{ github.ref_name }}
fetch-depth: 0 fetch-depth: 0
- id: trufflehog - id: trufflehog