update pull
Some checks failed
renovate / renovate (push) Has been cancelled

This commit is contained in:
2025-12-01 19:38:52 -06:00
parent 72989730c7
commit ae2a9bcd9d

View File

@@ -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