We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6437e36 commit 3cd05e3Copy full SHA for 3cd05e3
1 file changed
entrypoint.sh
@@ -3,7 +3,7 @@
3
set -euo pipefail
4
[[ -n "${DEBUG:-}" ]] && set -x
5
6
-REPO_PRIVATE=$(jq -r '.repository.private | tostring' "$GITHUB_EVENT_PATH" 2>/dev/null || echo "")
+REPO_PRIVATE=$(jq -r '.repository.private | tostring' "${GITHUB_EVENT_PATH:-}" 2>/dev/null || echo "")
7
UPSTREAM="planetscale/ghcommit-action"
8
ACTION_REPO="${GITHUB_ACTION_REPOSITORY:-}"
9
DOCS_URL="https://docs.stepsecurity.io/actions/stepsecurity-maintained-actions"
0 commit comments