Add renovate tests #35

Merged
kovagoadi merged 21 commits from add-renovate-tests into main 2025-11-22 17:13:01 +01:00
Showing only changes of commit 12898ef47e - Show all commits

View File

@@ -166,7 +166,7 @@ if [ -n "$NGINX_PR_NUM" ] && [ "$NGINX_PR_NUM" != "null" ]; then
# Verify Content # Verify Content
DIFF=$(curl -s -H "Authorization: token $RENOVATE_TOKEN" "$GITEA_API_URL/repos/$REPO_OWNER/$REPO_NAME/pulls/$NGINX_PR_NUM.diff") DIFF=$(curl -s -H "Authorization: token $RENOVATE_TOKEN" "$GITEA_API_URL/repos/$REPO_OWNER/$REPO_NAME/pulls/$NGINX_PR_NUM.diff")
if echo "$DIFF" | grep -q "nginx:1.29.3"; then if echo "$DIFF" | grep -q "nginx:1.27.5"; then
echo "Content Verification: Nginx version update found in diff." echo "Content Verification: Nginx version update found in diff."
else else
echo "Content Verification Failed: Nginx version update NOT found in diff." echo "Content Verification Failed: Nginx version update NOT found in diff."
@@ -184,7 +184,7 @@ if [ -n "$ACTIONS_PR_NUM" ] && [ "$ACTIONS_PR_NUM" != "null" ]; then
# Verify Content # Verify Content
DIFF=$(curl -s -H "Authorization: token $RENOVATE_TOKEN" "$GITEA_API_URL/repos/$REPO_OWNER/$REPO_NAME/pulls/$ACTIONS_PR_NUM.diff") DIFF=$(curl -s -H "Authorization: token $RENOVATE_TOKEN" "$GITEA_API_URL/repos/$REPO_OWNER/$REPO_NAME/pulls/$ACTIONS_PR_NUM.diff")
if echo "$DIFF" | grep -q "actions/checkout@v6"; then if echo "$DIFF" | grep -q "actions/checkout@v4"; then
echo "Content Verification: Actions/Checkout version update found in diff." echo "Content Verification: Actions/Checkout version update found in diff."
else else
echo "Content Verification Failed: Actions/Checkout version update NOT found in diff." echo "Content Verification Failed: Actions/Checkout version update NOT found in diff."