ZedThree / clang-tidy-review

Create a pull request review based on clang-tidy warnings
MIT License
90 stars 45 forks source link

Always use PR number for split post workflow from uploaded metadata #83

Closed ZedThree closed 1 year ago

ZedThree commented 1 year ago

Fixes #82

For some reason the event payload (sometimes?) has an empty array of pull_requests, but due to the way the Action is set up this passes an empty string to the input pr_number. This causes an error when trying to convert to int to compare to the PR number in the metadata.