Skip to content

Commit 90644ad

Browse files
fix: respect target input in sdk-test workflow regardless of event type
1 parent a9299b3 commit 90644ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/actions/test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ func Test(ctx context.Context) error {
4343
return err
4444
}
4545

46-
// This will only come in via workflow dispatch, we do accept 'all' as a special case
4746
var testedTargets []string
48-
if providedTargetName := environment.SpecifiedTarget(); providedTargetName != "" && os.Getenv("GITHUB_EVENT_NAME") == "workflow_dispatch" {
47+
if providedTargetName := environment.SpecifiedTarget(); providedTargetName != "" {
4948
testedTargets = append(testedTargets, providedTargetName)
5049
}
5150

0 commit comments

Comments
 (0)