Skip to content

Commit fefcaca

Browse files
committed
try disable shellcheck
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
1 parent 9aabdcf commit fefcaca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/bump_risingwave.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# shellcheck disable
12
name: bump risingwave
23
on:
34
workflow_dispatch:
@@ -57,6 +58,7 @@ jobs:
5758
tap_dir="$(brew --repo "$TAP")"
5859
formula_path="$tap_dir/Formula/risingwave.rb"
5960
61+
# shellcheck disable=SC2016 # $1 is for Ruby regex capture, not shell expansion.
6062
current_tag="$(ruby -ne 'if $_ =~ %r{^\\s*url\\s+\"https://github\\.com/risingwavelabs/risingwave/archive/refs/tags/(v[^\\\"]+)\\.tar\\.gz\"\\s*$}; puts $1; exit; end' "$formula_path" || true)"
6163
if [[ -n "$current_tag" && "$current_tag" == "$RW_TAG" ]]; then
6264
echo "Formula already at latest ($current_tag); nothing to do."
@@ -81,6 +83,7 @@ jobs:
8183
tmp="$(mktemp -d)"
8284
trap 'rm -rf "$tmp"' EXIT
8385
curl -fsSL "$connector_url" -o "$tmp/connector.tgz"
86+
# shellcheck disable=SC2016 # $1 is for awk field, not shell expansion.
8487
connector_sha="$(sha256sum "$tmp/connector.tgz" | awk '{print $1}')"
8588
echo "Connector sha256: $connector_sha"
8689

0 commit comments

Comments
 (0)