Skip to content

Commit 25aaa28

Browse files
committed
Refactor secret scanning to use reusable workflow
1 parent 4c1de55 commit 25aaa28

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/secret_scanning.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
name: "Secret Scanning"
22
on:
33
push:
4+
branches:
5+
- main
6+
pull_request:
47

58
jobs:
6-
check_commits:
7-
runs-on: ubuntu-latest
8-
steps:
9-
- name: Checkout code
10-
uses: actions/checkout@v3
11-
- uses: trufflesecurity/trufflehog@main
12-
with:
13-
extra_args: --results=verified,unknown
9+
secret_scanning:
10+
uses: xelixdev/.github/.github/workflows/secret_scanning.yml@main

0 commit comments

Comments
 (0)