mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 06:45:08 +00:00
fix(actions): Trigger on PR (#1136)
* fix(actions): Include checkout * fix(actions): version name * fix(actions): fix branch * fix(actions): version name * fix(actions): PR trigger
This commit is contained in:
18
.github/workflows/find-secrets.yml
vendored
18
.github/workflows/find-secrets.yml
vendored
@@ -1,14 +1,18 @@
|
||||
name: linters
|
||||
name: find-secrets
|
||||
|
||||
on: [push]
|
||||
on: pull_request
|
||||
|
||||
env:
|
||||
- TRUFFLEHOG_VERSION: v3.4.4
|
||||
|
||||
jobs:
|
||||
trufflehog:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: TruffleHog OSS
|
||||
uses: trufflesecurity/trufflehog@${{ env.TRUFFLEHOG_VERSION }}
|
||||
|
||||
uses: trufflesecurity/trufflehog@v3.4.4
|
||||
with:
|
||||
path: ./
|
||||
base: ${{ github.event.repository.default_branch }}
|
||||
head: HEAD
|
||||
|
||||
Reference in New Issue
Block a user