mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00
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:
2
.github/workflows/scan-secrets.yml
vendored
2
.github/workflows/scan-secrets.yml
vendored
@ -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: |
|
||||
|
Reference in New Issue
Block a user