Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle empty status in Close, Update, and Merge #98

Open
crenshaw-dev opened this issue Nov 4, 2024 · 0 comments
Open

Handle empty status in Close, Update, and Merge #98

crenshaw-dev opened this issue Nov 4, 2024 · 0 comments

Comments

@crenshaw-dev
Copy link
Contributor

Each of these functions calls prNumber, err := strconv.Atoi(pullRequest.Status.ID). If the status is missing, this fails.

It's especially a problem when deleting a PR that never had the status field populated due to failure to connect to the SCM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant