File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments