Skip to content

Commit a5ad700

Browse files
committed
semver_checks: Use /proc/self/fd/2 instead of /dev/tty
1 parent c4c6954 commit a5ad700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/semver_checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
set +e
6767
echo "output<<SEMVER_STDOUT_EOF" >> $GITHUB_OUTPUT
6868
# Weird sed strip ANSI colors from output
69-
make semver-rev rev="$PR_BASE" |& tee /dev/tty | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g" >> $GITHUB_OUTPUT
69+
make semver-rev rev="$PR_BASE" |& tee /proc/self/fd/2 | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g" >> $GITHUB_OUTPUT
7070
exitcode=${PIPESTATUS[0]}
7171
echo "SEMVER_STDOUT_EOF" >> $GITHUB_OUTPUT
7272

0 commit comments

Comments
 (0)