From ae2a9bcd9d3bb24c5dda7b1a4c7d4082b39a25bc Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 1 Dec 2025 19:38:52 -0600 Subject: [PATCH] update pull --- .gitea/workflows/render-manifests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/render-manifests.yaml b/.gitea/workflows/render-manifests.yaml index 978866f48..88e298e4d 100644 --- a/.gitea/workflows/render-manifests.yaml +++ b/.gitea/workflows/render-manifests.yaml @@ -182,8 +182,8 @@ jobs: cat response_errors.txt echo "----" - if [ "$HTTP_STATUS" == "200" ]; then - echo ">> Pull Request has been found" + if [ "$HTTP_STATUS" == "200" ] && [$(cat response_body.json | jq -r .state) == "open"]; then + echo ">> Pull Request has been found open, will update" PR_INDEX=$(cat response_body.json | jq -r .number) echo "pull-request-exists=${PR_INDEX}" >> $GITEA_OUTPUT echo "pull-request-index=true" >> $GITEA_OUTPUT