Skip to content

Commit

Permalink
Merge pull request #1668 from github/aeisenberg/update-sarif-schema
Browse files Browse the repository at this point in the history
  • Loading branch information
aeisenberg authored May 5, 2023
2 parents 1e1aca8 + 684c4b5 commit 11fba50
Show file tree
Hide file tree
Showing 16 changed files with 680 additions and 218 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ No user facing changes.

- Update default CodeQL bundle version to 2.13.1. [#1664](https://github.com/github/codeql-action/pull/1664)
- You can now configure CodeQL within your code scanning workflow by passing a `config` input to the `init` Action. See [Using a custom configuration file](https://aka.ms/code-scanning-docs/config-file) for more information about configuring code scanning. [#1590](https://github.com/github/codeql-action/pull/1590)
- Updated the SARIF 2.1.0 JSON schema file to the latest from [oasis-tcs/sarif-spec](https://github.com/oasis-tcs/sarif-spec/blob/123e95847b13fbdd4cbe2120fa5e33355d4a042b/Schemata/sarif-schema-2.1.0.json). [#1668](https://github.com/github/codeql-action/pull/1668)

This comment has been minimized.

Copy link
@cahrens

cahrens May 5, 2023

I have suddenly started seeing an error in our repository that I suspect is related to this change. I created #1671.

Uploading results
  Processing sarif files: ["service/build/reports/spotbugs/main.sarif"]
  Error: Invalid regular expression: /^(?i)[a-zA]{2}(-[a-z]{2})?$/: Invalid group
  SyntaxError: Invalid regular expression: /^(?i)[a-zA]{2}(-[a-z]{2})?$/: Invalid group
      at new RegExp (<anonymous>)
      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))
      at Validator.validateSchema (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/validator.js:208:34)
      at Validator.validateProperties (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/attribute.js:277:20)
      at Validator.validateSchema (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/validator.js:208:34)
      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))
      at Validator.validateProperties (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/attribute.js:277:20)
      at Validator.validateSchema (/home/runner/work/_actions/github/codeql-action/main/node_modules/jsonschema/lib/validator.js:208:34)
      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)
      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))

## 2.3.2 - 27 Apr 2023

Expand Down
2 changes: 1 addition & 1 deletion lib/upload-lib.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/upload-lib.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

230 changes: 195 additions & 35 deletions node_modules/jsonschema/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 11fba50

Please sign in to comment.