mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-09 04:10:05 +00:00
👷 Simplify checkout step in trufflehog workflow
This commit is contained in:
parent
a9e5e27aab
commit
d65c18cf32
1 changed files with 2 additions and 3 deletions
5
.github/workflows/check-leaks.yml
vendored
5
.github/workflows/check-leaks.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue