Title: Provide a better error message by robertbrignull · Pull Request #564 · github/codeql-action · GitHub
Open Graph Title: Provide a better error message by robertbrignull · Pull Request #564 · github/codeql-action
X Title: Provide a better error message by robertbrignull · Pull Request #564 · github/codeql-action
Description: (Note this is merging into a feature branch, and not into main) Suggestion from @aeisenberg on #563 This should provide a better error message in the case that the file at $GITHUB_EVENT_PATH doesn't exist or isn't valid JSON. I think this level of error handling should be fine and from here we can just let the error propagate upwards. Ideally we wouldn't want the database upload code to cause the action to fail, but that largely just applies to the HTTP requests. In this case an error here is both unlikely and a fundamental problem so I think failing is fine.
Open Graph Description: (Note this is merging into a feature branch, and not into main) Suggestion from @aeisenberg on #563 This should provide a better error message in the case that the file at $GITHUB_EVENT_PATH doesn&...
X Description: (Note this is merging into a feature branch, and not into main) Suggestion from @aeisenberg on #563 This should provide a better error message in the case that the file at $GITHUB_EVENT_PATH doesn&...
Opengraph URL: https://github.com/github/codeql-action/pull/564
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0221169d-1026-bc39-5999-d2f3089e21c0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9D42:3DBB23:B19885:EE4854:6A56AA64 |
| html-safe-nonce | 0a495cd4faf5fd98f76308ba3f2814134c17475961583c96c046ab6da67b02f6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDQyOjNEQkIyMzpCMTk4ODU6RUU0ODU0OjZBNTZBQTY0IiwidmlzaXRvcl9pZCI6IjI4NjMwOTcxNTQ4ODQ3NzQ1MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1388c81ff48a9052fab9a4e0a5a292086e34ef765aa49682aeabb880491ee4cd |
| hovercard-subject-tag | pull_request:671638317 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql-action/pull/564/files |
| twitter:image | https://avatars.githubusercontent.com/u/3749000?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3749000?s=400&v=4 |
| og:image:alt | (Note this is merging into a feature branch, and not into main) Suggestion from @aeisenberg on #563 This should provide a better error message in the case that the file at $GITHUB_EVENT_PATH doesn&... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 13efe7fe8ecc41eda1078cbde8206041ed92bc54e29bcb737e9353dd9c407aad |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5466ebe023a0abf876a1e6c5d7602ee8f5e6a02b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width