mirror of https://github.com/containers/podman.git
Scan-secrets: Fix PR forcepush detection condition
I have no idea why the `event_name` != `github.event.action`, but in this case it doesn't. For consistency with other related condition checks, use the later over the former. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
0a4beea6db
commit
c5c0799329
|
@ -77,7 +77,7 @@ jobs:
|
|||
# Provide handy URL for examination of secret leaks for all events that
|
||||
# trigger this action.
|
||||
|
||||
- if: github.event_name == 'synchronize' || github.base_ref == ''
|
||||
- if: github.event.action == 'synchronize' || github.base_ref == ''
|
||||
name: Provide URL showing code that needs human eyes (force-push or merge)
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue