Skip to content

Commit

Permalink
Set GHA workdir (#2393)
Browse files Browse the repository at this point in the history
* set workdir to tmp

* add workflow dispatch for easier on demand dogfooding
  • Loading branch information
zricethezav committed Feb 7, 2024
1 parent b3ff12d commit 02fe9e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 02fe9e1

Please sign in to comment.