Skip to content

Commit f80d81e

Browse files
rorybeeaatmanvaidya
authored andcommitted
- Fix env var boolean setting
1 parent 41036ad commit f80d81e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/bandit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Bandit Scan
4848
uses: shundor/python-bandit-scan@9cc5aa4a006482b8a7f91134412df6772dbda22c # v1.0
4949
env:
50-
EXIT_ZERO_VAL: ${{ (github.event_name == 'pull_request') && false || true }}
50+
EXIT_ZERO_VAL: ${{ (github.event_name == 'pull_request') && ${{ false }} || ${{ true }} }}
5151
with: # optional arguments
5252
# exit with 1 on pull request, else exit with 0 even if results found (on push to main or cron job)
5353
exit_zero: env.EXIT_ZERO_VAL # optional, default is DEFAULT

0 commit comments

Comments
 (0)