Skip to content

Commit 10afc7c

Browse files
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 84bc272 commit 10afc7c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci-python.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,15 @@ on:
1212
type: boolean
1313
default: true
1414
workflow_dispatch:
15-
15+
inputs:
16+
targets:
17+
required: false
18+
type: string
19+
default: ''
20+
run-full-suite:
21+
required: false
22+
type: boolean
23+
default: true
1624
permissions:
1725
contents: read
1826

@@ -88,7 +96,7 @@ jobs:
8896
filtered=()
8997
9098
for t in $targets; do
91-
[[ "$t" == //py* ]] && filtered+=("$t")
99+
[[ "$t" == "//py"* ]] && filtered+=("$t")
92100
done
93101
94102
if [ ${#filtered[@]} -eq 0 ]; then

0 commit comments

Comments
 (0)