Skip to content

Commit 013ec7d

Browse files
committed
add workflow dispatch
1 parent 29d522e commit 013ec7d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
id: set-should-run-tests
3333
run: |
3434
echo "$INPUTS_SKIP_TESTS"
35-
if [[ "$GITHUB_EVENT_NAME" != "workflow_call" ]]; then
35+
echo "$GITHUB_EVENT_NAME"
36+
if [ "$GITHUB_EVENT_NAME" != "workflow_call" ] && [ "$GITHUB_EVENT_NAME" != "workflow_dispatch" ]; then
37+
echo "not workflow_call"
3638
echo "result=true" >> "$GITHUB_OUTPUT"
3739
elif [[ "$INPUTS_SKIP_TESTS" == "false" ]]; then
3840
echo "result=true" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)