Skip to content

Commit b1f639b

Browse files
committed
[ci] Removing unneeded {}
1 parent b269466 commit b1f639b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/github-actions/should-workflow-run.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ for bazel_target in $affected_files ; do
2121
bazel query "$bazel_target"
2222
done
2323

24-
echo "{bazel-targets}=${bazel_targets[*]}" >> $GITHUB_OUTPUT
25-
echo "{run-workflow}=false" >> $GITHUB_OUTPUT
24+
echo "bazel-targets=${bazel_targets[*]}" >> $GITHUB_OUTPUT
25+
echo "run-workflow=false" >> $GITHUB_OUTPUT
2626

2727
if (( ${#bazel_targets[@]} == 0 )); then
2828
echo "No bazel targets found after checking the diff."
2929
exit 0
3030
fi
3131

3232
if [[ " ${bazel_targets[*]} " == *"$BAZEL_TARGET_PREFIX"* ]]; then
33-
echo "{run-workflow}=true" >> $GITHUB_OUTPUT
33+
echo "run-workflow=true" >> $GITHUB_OUTPUT
3434
echo "Bazel targets found: ${bazel_targets[*]}"
3535
exit 0
3636
fi
@@ -43,7 +43,7 @@ tests=$(bazel query \
4343
"kind(test, rdeps(//..., set(${bazel_targets[*]})))")
4444

4545
if [[ " ${tests[*]} " == *"$BAZEL_TARGET_PREFIX"* ]]; then
46-
echo "{run-workflow}=true" >> $GITHUB_OUTPUT
46+
echo "run-workflow=true" >> $GITHUB_OUTPUT
4747
echo "Test targets found: ${tests[*]}"
4848
exit 0
4949
fi

0 commit comments

Comments
 (0)