Skip to content

Commit f21263a

Browse files
create base workflow for trufflehog
1 parent 49cbf51 commit f21263a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: zizmor GitHub Actions static analysis
2+
on:
3+
push:
4+
pull_request:
5+
6+
jobs:
7+
trufflehog:
8+
name: Run trufflehog from current branch (self test)
9+
10+
permissions:
11+
actions: read
12+
contents: read
13+
14+
pull-requests: write
15+
security-events: write
16+
17+
runs-on: ${{ !github.event.repository.private && 'ubuntu-latest' || 'ubuntu-arm64-small' }}
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
21+
with:
22+
persist-credentials: false
23+
- name: Run trufflehog
24+
uses: trufflesecurity/trufflehog@b06f6d72a3791308bb7ba59c2b8cb7a083bd17e4 # v3.88.26

0 commit comments

Comments
 (0)