Title: RegExp validation error when running github/codeql-action/upload-sarif@main · Issue #1671 · github/codeql-action · GitHub
Open Graph Title: RegExp validation error when running github/codeql-action/upload-sarif@main · Issue #1671 · github/codeql-action
X Title: RegExp validation error when running github/codeql-action/upload-sarif@main · Issue #1671 · github/codeql-action
Description: This morning I started seeing the error below in our repository (https://github.com/DataBiosphere/terra-billing-profile-manager/actions/runs/4896402407/jobs/8743164718). It happens on PRs that previously succeeded, as well as empty chang...
Open Graph Description: This morning I started seeing the error below in our repository (https://github.com/DataBiosphere/terra-billing-profile-manager/actions/runs/4896402407/jobs/8743164718). It happens on PRs that prev...
X Description: This morning I started seeing the error below in our repository (https://github.com/DataBiosphere/terra-billing-profile-manager/actions/runs/4896402407/jobs/8743164718). It happens on PRs that prev...
Opengraph URL: https://github.com/github/codeql-action/issues/1671
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RegExp validation error when running github/codeql-action/upload-sarif@main","articleBody":"This morning I started seeing the error below in our repository (https://github.com/DataBiosphere/terra-billing-profile-manager/actions/runs/4896402407/jobs/8743164718). It happens on PRs that previously succeeded, as well as empty changes-- it is always reproducible. It seems to be caused by https://github.com/github/codeql-action/commit/11fba50273d618449e446a32bdab3d9dec79212b\r\n\r\n```\r\nUploading results\r\n Processing sarif files: [\"service/build/reports/spotbugs/main.sarif\"]\r\n Error: Invalid regular expression: /^(?i)[a-zA]{2}(-[a-z]{2})?$/: Invalid group\r\n SyntaxError: Invalid regular expression: /^(?i)[a-zA]{2}(-[a-z]{2})?$/: Invalid group\r\n at new RegExp (\u003canonymous\u003e)\r\n at Validator.validatePattern (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/attribute.js:691:[14](https://github.com/DataBiosphere/terra-billing-profile-manager/actions/runs/4896402407/jobs/8743164718#step:8:15))\r\n at Validator.validateSchema (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/validator.js:208:34)\r\n at Validator.validateProperties (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/attribute.js:277:20)\r\n at Validator.validateSchema (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/validator.js:208:34)\r\n at Validator.validateSchema (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/validator.js:198:[17](https://github.com/DataBiosphere/terra-billing-profile-manager/actions/runs/4896402407/jobs/8743164718#step:8:18))\r\n at Validator.validateProperties (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/attribute.js:277:20)\r\n at Validator.validateSchema (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/validator.js:208:34)\r\n at Validator.validateSchema (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/validator.js:[19](https://github.com/DataBiosphere/terra-billing-profile-manager/actions/runs/4896402407/jobs/8743164718#step:8:20)8:17)\r\n at Validator.validateProperties (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/attribute.js:277:[20](https://github.com/DataBiosphere/terra-billing-profile-manager/actions/runs/4896402407/jobs/8743164718#step:8:21))\r\n\r\n```\r\n\r\nI then set the commit to the one before 11fba5, and the issue did not occur.\r\n\r\nhttps://github.com/DataBiosphere/terra-billing-profile-manager/actions/runs/4896591494/jobs/8743584809?pr=207\r\n\r\n```\r\nRun github/codeql-action/upload-sarif@1e1aca816581927cd0a1d4ade4bed45cd6e86b2b\r\n with:\r\n sarif_file: service/build/reports/spotbugs/main.sarif\r\n checkout_path: /home/runner/work/terra-billing-profile-manager/terra-billing-profile-manager\r\n token: ***\r\n matrix: null\r\n wait-for-processing: true\r\n env:\r\n JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.6-10/x6[4](https://github.com/DataBiosphere/terra-billing-profile-manager/actions/runs/4896591494/jobs/8743584809?pr=207#step:8:4)\r\nUploading results\r\n Processing sarif files: [\"service/build/reports/spotbugs/main.sarif\"]\r\n Uploading results\r\n Successfully uploaded results\r\nWaiting for processing to finish\r\n Analysis upload status is pending.\r\n Analysis upload status is complete.","author":{"url":"https://github.com/cahrens","@type":"Person","name":"cahrens"},"datePublished":"2023-05-05T18:41:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1671/codeql-action/issues/1671"}
| 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:23042fb6-b6ca-5314-9ea0-acd10ea896c4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D758:308E6B:406CF8:5BDF90:6A4E6E1E |
| html-safe-nonce | 5e9c013af925506c8ccb634087a1fdb13a01f090511b01b93130c0ed22bd2f3a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzU4OjMwOEU2Qjo0MDZDRjg6NUJERjkwOjZBNEU2RTFFIiwidmlzaXRvcl9pZCI6IjU4ODMwNTY4NjQ1MDYwNDgwMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 483b88806927b66caab63045f676ef65966e7a68fd93fc17a620cfe62e326f24 |
| hovercard-subject-tag | issue:1698035307 |
| 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/1671/issue_layout |
| twitter:image | https://opengraph.githubassets.com/981007da333769fc8a41067db98018838571fb8414040e64cd69e4903423ba96/github/codeql-action/issues/1671 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/981007da333769fc8a41067db98018838571fb8414040e64cd69e4903423ba96/github/codeql-action/issues/1671 |
| og:image:alt | This morning I started seeing the error below in our repository (https://github.com/DataBiosphere/terra-billing-profile-manager/actions/runs/4896402407/jobs/8743164718). It happens on PRs that prev... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cahrens |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width