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

stop if empty #35

Merged
merged 1 commit into from
Mar 12, 2024
Merged

stop if empty #35

merged 1 commit into from
Mar 12, 2024

Conversation

h1alexbel
Copy link
Contributor

@h1alexbel h1alexbel commented Mar 12, 2024

PR-Codex overview

This PR improves error handling in the main file by setting a specific reason for failure and throwing an error if the issue body is empty.

Detailed summary

  • Added a reason variable to specify why the issue body is empty
  • Changed core.setFailed to use the reason variable
  • Threw an error with the reason message if the issue body is empty

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@h1alexbel h1alexbel merged commit 3c8f0a4 into master Mar 12, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

1 participant