We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45b1790 commit af940f5Copy full SHA for af940f5
1 file changed
java/ql/automodel/publish.sh
@@ -18,15 +18,15 @@ if ! git diff --quiet; then
18
fi
19
20
# Check the above environment variables are set
21
-if [ -z "${GITHUB_TOKEN:-}" ]; then
+if [ -z "${GITHUB_TOKEN}" ]; then
22
echo "Error: GITHUB_TOKEN environment variable not set. Please set this to a token with package:write permissions to codeql."
23
exit 1
24
25
-if [ -z "${CODEQL_DIST:-}" ]; then
+if [ -z "${CODEQL_DIST}" ]; then
26
echo "Error: CODEQL_DIST environment variable not set. Please set this to the path of a codeql distribution."
27
28
29
-if [ -z "${GH_TOKEN:-}" ]; then
+if [ -z "${GH_TOKEN}" ]; then
30
echo "Error: GH_TOKEN environment variable not set. Please set this to a token with repo permissions to github/codeml-automodel."
31
32
0 commit comments