Skip to content

Commit ab4c178

Browse files
committedFeb 21, 2025··
ci(action): add truffle job
1 parent 82ad258 commit ab4c178

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed
 

‎.github/workflows/pipeline.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,23 @@ jobs:
114114
folder: badges/
115115
clean: false
116116

117+
truffle:
118+
name: Truffle Hog
119+
runs-on: ubuntu-latest
120+
steps:
121+
- name: Check out repository
122+
uses: actions/checkout@v4
123+
with:
124+
fetch-depth: 0
125+
- name: Secret Scanning
126+
uses: trufflesecurity/trufflehog@main
127+
with:
128+
extra_args: --results=verified,unknown
129+
117130
pypi-publish:
118131
name: Upload release to PyPI
119132
runs-on: ubuntu-latest
120-
needs: [ ruff, pytest, audit ]
133+
needs: [ ruff, pytest, audit, truffle ]
121134
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
122135
environment:
123136
name: pypi

0 commit comments

Comments
 (0)
Please sign in to comment.