mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
Set GHA workdir (#2393)
* set workdir to tmp * add workflow dispatch for easier on demand dogfooding
This commit is contained in:
parent
b3ff12d1e9
commit
02fe9e189b
2 changed files with 2 additions and 1 deletions
1
.github/workflows/secrets.yml
vendored
1
.github/workflows/secrets.yml
vendored
|
@ -8,6 +8,7 @@ on:
|
|||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
|
|
@ -80,7 +80,7 @@ runs:
|
|||
##########################################
|
||||
## Run TruffleHog ##
|
||||
##########################################
|
||||
docker run --rm -v "$REPO_PATH":/tmp \
|
||||
docker run --rm -v "$REPO_PATH":/tmp -w /tmp \
|
||||
ghcr.io/trufflesecurity/trufflehog:latest \
|
||||
git file:///tmp/ \
|
||||
--since-commit \
|
||||
|
|
Loading…
Reference in a new issue