diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml index b724bbf..b8a7df8 100644 --- a/.github/workflows/updater.yml +++ b/.github/workflows/updater.yml @@ -42,6 +42,7 @@ jobs: schema bump automated pr - name: Close previous update PRs + if: steps.create_pr.outputs.pull-request-operation == 'created' run: | new_pr_number=${{ steps.create_pr.outputs.pull-request-number }} prs=$(gh pr list --state open --json number,headRefName --jq '.[] | select(.headRefName | startswith("updater/")) | .number')