Skip to content

Commit fcb74ba

Browse files
authored
Pin reviewdog install script version with commit SHA (#137)
1 parent f9a7d87 commit fcb74ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

script.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ TEMP_PATH="$(mktemp -d)"
1010
PATH="${TEMP_PATH}:$PATH"
1111

1212
echo '::group::🐶 Installing reviewdog ... https://github.com/reviewdog/reviewdog'
13-
curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b "${TEMP_PATH}" "${REVIEWDOG_VERSION}" 2>&1
13+
curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/fd59714416d6d9a1c0692d872e38e7f8448df4fc/install.sh | sh -s -- -b "${TEMP_PATH}" "${REVIEWDOG_VERSION}" 2>&1
1414
echo '::endgroup::'
1515

1616
if [ "${INPUT_SKIP_INSTALL}" = "false" ]; then

test/only_changed/shared_mock_bins/curl

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
arguments="$*"
44

5-
if [ "$arguments" != "-sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh" ]; then
5+
if [ "$arguments" != "-sfL https://raw.githubusercontent.com/reviewdog/reviewdog/fd59714416d6d9a1c0692d872e38e7f8448df4fc/install.sh" ]; then
66
echo "curl mock got unexpected arguments: $arguments"
77
exit 1
88
fi

0 commit comments

Comments
 (0)