You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked into the logs of the URL Updater github action and found this:
Run cd ide-urls
cd ide-urls
git config --global user.name ***
git config --global user.email ***
if [ "$(git status -z)" = "" ]
then
echo "No changes, nothing to commit."
else
git add .
git commit -m "Update urls"
git push
fi
shell: /usr/bin/bash -e {0}
env:
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.14-7/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.14-7/x64
/home/runner/work/_temp/e5b35c3c-db99-478e-b5c6-35164fc9a7c9.sh: line 4: warning: command substitution: ignored null byte in input
[master ea3bbf01] Update urls
Can someone explain what is wrong here?
/home/runner/work/_temp/e5b35c3c-db99-478e-b5c6-35164fc9a7c9.sh: line 4: warning: command substitution: ignored null byte in input
So is line 4 this one?
if [ "$(git status -z)" = "" ]
So we cannot evaluate $(git status -z) what should actually run the command git status -z and evaluate to the standard output of that command. So it seems that this git command is echoing null bytes causing this warning.
Maybe there is nothing we need to do about it but we could at least leave a comment once we understood what is happening here, if we thing this is intended.
The text was updated successfully, but these errors were encountered:
I looked into the logs of the URL Updater github action and found this:
Can someone explain what is wrong here?
So is line 4 this one?
So we cannot evaluate
$(git status -z)
what should actually run the commandgit status -z
and evaluate to the standard output of that command. So it seems that this git command is echoing null bytes causing this warning.Maybe there is nothing we need to do about it but we could at least leave a comment once we understood what is happening here, if we thing this is intended.
The text was updated successfully, but these errors were encountered: