Skip to content

Commit c093583

Browse files
Fix workflow: Use github.event.inputs.skip-override-snapshot-gen to properly evaluate manual input (#3681)
1 parent 2393e67 commit c093583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
run: make generate-catalog
8989

9090
- name: Regenerate override-snapshot
91-
if: ( github.event_name == 'workflow_dispatch' && inputs.skip-override-snapshot-gen == 'false' ) || github.event_name == 'schedule' || ( github.event_name == 'push' && !contains(github.ref_name, 'dependabot/') )
91+
if: ( github.event_name == 'workflow_dispatch' && github.event.inputs.skip-override-snapshot-gen == 'false' ) || github.event_name == 'schedule' || ( github.event_name == 'push' && !contains(github.ref_name, 'dependabot/') )
9292
working-directory: ./src/github.com/${{ github.repository }}
9393
run: make generate-override-snapshot
9494

0 commit comments

Comments
 (0)