Skip to content

Commit b1390ca

Browse files
committed
ci: Validates inputs for workflow call
1 parent d124b77 commit b1390ca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/create-wrapper-prs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
runs-on: ubuntu-latest
9494
steps:
9595
- name: Validate at least one input provided
96+
if: github.event_name == 'workflow_call'
9697
run: |
9798
if [[ -z "${{ inputs.android_version }}" && -z "${{ inputs.ios_version }}" ]]; then
9899
echo "❌ Error: At least one of 'android_version' or 'ios_version' must be provided"

0 commit comments

Comments
 (0)