diff --git a/.gitea/workflows/render-manifests.yaml b/.gitea/workflows/render-manifests.yaml index f56004049..6594b3064 100644 --- a/.gitea/workflows/render-manifests.yaml +++ b/.gitea/workflows/render-manifests.yaml @@ -258,7 +258,7 @@ jobs: echo "pull-request-exists=${PR_INDEX}" >> $GITEA_OUTPUT echo "pull-request-index=true" >> $GITEA_OUTPUT - if [ "$HTTP_STATUS" == "200" ] && [ "$(cat response_body.json | jq -r .state)" == "closed" ]; then + elif [ "$HTTP_STATUS" == "200" ] && [ "$(cat response_body.json | jq -r .state)" == "closed" ]; then echo ">> Pull Request found, but was closed" echo "pull-request-exists=false" >> $GITEA_OUTPUT