pr-compliance-action icon indicating copy to clipboard operation
pr-compliance-action copied to clipboard

feat: friendly error messages, add review comment output

Open mtfoley opened this issue 1 year ago • 1 comments

What type of PR is this? (check all applicable)

  • [ ] ♻️ Refactor
  • [x] ✨ Feature
  • [ ] 🐛 Bug Fix
  • [ ] 👷 Optimization
  • [ ] 📝 Documentation Update
  • [ ] 🔖 Release
  • [ ] 🚩 Other

Description

Adds try/catch blocks around octokit REST api calls to allow friendly error messages. Adds new output for "review-comment" that will be set whenever the review comment body is known.

Related Tickets & Documents

Resolves #368

Mobile & Desktop Screenshots/Recordings

Added tests?

  • [ ] 👍 yes
  • [x] 🙅 no, because they aren't needed
  • [ ] 🙋 no, because I need help

Added to documentation?

  • [x] 📜 readme
  • [ ] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

mtfoley avatar Aug 24 '23 02:08 mtfoley