Skip to content

Commit 6e25bb5

Browse files
committed
fix: TruffleHog Configuration and git action cve
1 parent 90b638a commit 6e25bb5

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/load-test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,18 @@ jobs:
4242
4343
- name: Determine Test Parameters
4444
id: params
45+
env:
46+
INPUT_TEST_TYPE: ${{ github.event.inputs.test_type }}
47+
INPUT_ENVIRONMENT: ${{ github.event.inputs.environment }}
48+
EVENT_NAME: ${{ github.event_name }}
4549
run: |
4650
# For scheduled runs, use smoke test on staging
47-
if [ "${{ github.event_name }}" == "schedule" ]; then
51+
if [ "$EVENT_NAME" == "schedule" ]; then
4852
echo "test_type=smoke" >> $GITHUB_OUTPUT
4953
echo "environment=staging" >> $GITHUB_OUTPUT
5054
else
51-
echo "test_type=${{ github.event.inputs.test_type }}" >> $GITHUB_OUTPUT
52-
echo "environment=${{ github.event.inputs.environment }}" >> $GITHUB_OUTPUT
55+
echo "test_type=$INPUT_TEST_TYPE" >> $GITHUB_OUTPUT
56+
echo "environment=$INPUT_ENVIRONMENT" >> $GITHUB_OUTPUT
5357
fi
5458
5559
- name: Set Environment URL

.github/workflows/security-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ jobs:
211211
uses: trufflesecurity/trufflehog@main
212212
with:
213213
path: ./
214-
extra_args: --only-verified --fail
214+
extra_args: --only-verified
215215

216216
security-summary:
217217
name: Security Summary

0 commit comments

Comments
 (0)