Skip to content

Commit 6ba7891

Browse files
Update .github/workflows/devflow-pr-review.yml
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ddd2f6d commit 6ba7891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/devflow-pr-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
pr_url="https://github.com/${GITHUB_REPOSITORY}/pull/${pr_number}"
5454
fi
5555
56-
if [[ -z "$pr_number" ]]; then
56+
if [[ ! "$pr_number" =~ ^[1-9][0-9]*$ ]]; then
5757
echo "Could not determine PR number" >&2
5858
exit 1
5959
fi

0 commit comments

Comments
 (0)