fix: create pull request
All checks were successful
Check / check (push) Successful in 1m5s
Check / update (push) Has been skipped
Check / push (push) Successful in 13s

This commit is contained in:
2025-06-16 14:01:05 -04:00
parent 8cc54fb466
commit 5bb6311fea

View File

@ -44,10 +44,8 @@ jobs:
-H "Content-Type: application/json" \
"$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls?state=open")
PR_UPDATE=$(echo "$PRS" | jq -cr '.[] | select( .title | contains("update") )')
echo "$PRS"
echo "PR_UPDATE"
if [ ! -z "$PR_UPDATE" ]; then
if [ -z "$PR_UPDATE" ]; then
echo "Creating pull request"
PR_CREATE=$(curl -s -X POST -H "Authorization: token $PAT" \