Skip to content

Commit 3850a3b

Browse files
committed
ci(action): add truffle job
1 parent 82ad258 commit 3850a3b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/pipeline.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,22 @@ jobs:
114114
folder: badges/
115115
clean: false
116116

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

0 commit comments

Comments
 (0)