Trying to unstickify the cicd from failing.
Some checks failed
CICD Start / Sanity and Base Decision (pull_request) Failing after 22s

Signed-off-by: copilotcoder <copilotcoder@darkhelm.org>
This commit is contained in:
copilotcoder
2026-05-28 14:56:54 -04:00
parent fa5801fe68
commit 61251d5f38
2 changed files with 7 additions and 31 deletions

View File

@@ -1,7 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
API_BASE="http://kankali.darkhelm.lan:3000/api/v1"
if [[ -n "${GITHUB_SERVER_URL:-}" ]]; then
API_BASE="${GITHUB_SERVER_URL%/}/api/v1"
elif [[ -n "${GITEA_SERVER_URL:-}" ]]; then
API_BASE="${GITEA_SERVER_URL%/}/api/v1"
else
API_BASE="http://kankali.darkhelm.lan:3000/api/v1"
fi
TOKEN=""
REPO_FULL=""
WORKFLOW_FILE=""