Skip to content

Commit dbe9fd9

Browse files
committed
fix(ci): Skip checking status of non-existent pull request
Prevent failures in the "Check PR Review State" by not checking the status when there is no pull request in the Update workflow. Signed-off-by: Erik Swanson <[email protected]>
1 parent c015cc8 commit dbe9fd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/update.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ jobs:
9090
gh pr merge --auto --squash "${{ steps.create-pull-request.outputs.pull-request-number }}"
9191
- name: Check PR Review State
9292
id: review
93+
if: ${{ steps.create-pull-request.outputs.pull-request-number }}
9394
env:
9495
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
9596
run: |

0 commit comments

Comments
 (0)