fix url
All checks were successful
renovate / renovate (push) Successful in 17s
test-build / build (push) Successful in 41s

This commit is contained in:
2025-06-10 12:36:49 -05:00
parent 1d9519831b
commit 8c417b93b3

View File

@@ -29,7 +29,7 @@ jobs:
sudo apt-get -qq update && sudo apt-get -qq install -y jq curl sudo apt-get -qq update && sudo apt-get -qq install -y jq curl
# --- Conditionally build the API URL --- # --- Conditionally build the API URL ---
API_URL="${GITEA_INSTANCE_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/issues?state=open" API_URL="${INSTANCE_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/issues?state=open"
if [[ -n "${REQUIRED_TAG}" ]]; then if [[ -n "${REQUIRED_TAG}" ]]; then
echo ">> Filtering for issues with the required tag: ${REQUIRED_TAG}" echo ">> Filtering for issues with the required tag: ${REQUIRED_TAG}"
# URL-encode the tag to handle special characters # URL-encode the tag to handle special characters
@@ -41,10 +41,6 @@ jobs:
# Fetch issues using the constructed URL # Fetch issues using the constructed URL
echo ">> Fetching issues ..." echo ">> Fetching issues ..."
curl -X GET \
-H "Authorization: token ${BOT_TOKEN}" \
-H "Accept: application/json" \
"${API_URL}"
ISSUES=$(curl -s -S -X GET \ ISSUES=$(curl -s -S -X GET \
-H "Authorization: token ${BOT_TOKEN}" \ -H "Authorization: token ${BOT_TOKEN}" \
-H "Accept: application/json" \ -H "Accept: application/json" \