Skip to content

Commit 0e9b07a

Browse files
committed
Secret-scanning: Fix newly-opened PR conditional
Signed-off-by: Chris Evich <[email protected]>
1 parent 4fde98f commit 0e9b07a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scan-secrets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
after=$(jq -r -e '.after' $GITHUB_EVENT_PATH)
8787
echo "https://github.com/${{ github.repository }}/compare/${before}...${after}"
8888
89-
- if: github.event_name == 'opened'
89+
- if: github.event.action == 'opened'
9090
name: Provide URL showing code that needs human eyes (newly opened PR)
9191
shell: bash
9292
run: |

0 commit comments

Comments
 (0)