Title: Unable to upload SARIF file · Issue #418 · github/codeql-action · GitHub
Open Graph Title: Unable to upload SARIF file · Issue #418 · github/codeql-action
X Title: Unable to upload SARIF file · Issue #418 · github/codeql-action
Description: When I attempted to upload a sarif file using the upload-sarif@v1 action, I encountered the following error. Unable to upload "/home/runner/work/path-to.sarif" as it is not valid SARIF: - instance.runs[0].tool.driver.language does not ma...
Open Graph Description: When I attempted to upload a sarif file using the upload-sarif@v1 action, I encountered the following error. Unable to upload "/home/runner/work/path-to.sarif" as it is not valid SARIF: - instance....
X Description: When I attempted to upload a sarif file using the upload-sarif@v1 action, I encountered the following error. Unable to upload "/home/runner/work/path-to.sarif" as it is not valid SARIF: -...
Opengraph URL: https://github.com/github/codeql-action/issues/418
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to upload SARIF file","articleBody":"When I attempted to upload a sarif file using the `upload-sarif@v1` action, I encountered the following error.\r\n\r\n\u003e Unable to upload \"/home/runner/work/path-to.sarif\" as it is not valid SARIF:\r\n\u003e \\- instance.runs[0].tool.driver.language does not match pattern \"^[a-zA-Z]{2}|^[a-zA-Z]{2}-[a-zA-Z]{2}]?$\"\r\n\r\nThe language property of my sarif file is `ja-JP`, which is a valid form of language tag, but it did not match the regular expression pattern described above.\r\n\r\nI think the regular expression pattern for this schema is a mistake.\r\nhttps://github.com/github/codeql-action/blob/cfec2bbc35f12252507dd0de0e172c08b65e8c13/src/sarif_v2.1.0_schema.json#L2342\r\n\r\nI think this schema is coming from https://github.com/oasis-tcs/sarif-spec .\r\nSo, I'm submitting an issue to that repository as well.\r\nhttps://github.com/oasis-tcs/sarif-spec/issues/488","author":{"url":"https://github.com/aetos382","@type":"Person","name":"aetos382"},"datePublished":"2021-03-12T23:22:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/418/codeql-action/issues/418"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:573bfdec-eb32-3a11-ba81-71b9c3ddd8d5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E964:2BEEF:15FDA23:1DEEC90:6A546CF4 |
| html-safe-nonce | 099e36287986e73b37746f1d6e28b4930c49a25466134fd61a84991800213013 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTY0OjJCRUVGOjE1RkRBMjM6MURFRUM5MDo2QTU0NkNGNCIsInZpc2l0b3JfaWQiOiI4MDI2Mjk2MTYxNDAwMDI0MzA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e86f1d70d30158e2f063e203313f2f22714440392789a75b68833fc71e851cc0 |
| hovercard-subject-tag | issue:830651790 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/github/codeql-action/418/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cfa605da376feb517e52a4555cfb9c8d2ffe89504417a5b9f5da30f37343e514/github/codeql-action/issues/418 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cfa605da376feb517e52a4555cfb9c8d2ffe89504417a5b9f5da30f37343e514/github/codeql-action/issues/418 |
| og:image:alt | When I attempted to upload a sarif file using the upload-sarif@v1 action, I encountered the following error. Unable to upload "/home/runner/work/path-to.sarif" as it is not valid SARIF: - instance.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aetos382 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width