Skip to content

Commit 6ca1aa8

Browse files
authored
Merge pull request #1807 from github/update-v2.21.1-055b396ea
Merge main into releases/v2
2 parents 1813ca7 + 84a55d4 commit 6ca1aa8

File tree

1,938 files changed

+46493
-158026
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,938 files changed

+46493
-158026
lines changed

.eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
}],
2323
"import/no-amd": "error",
2424
"import/no-commonjs": "error",
25+
"import/no-cycle": "error",
2526
"import/no-dynamic-require": "error",
2627
// Disable the rule that checks that devDependencies aren't imported since we use a single
2728
// linting configuration file for both source and test code.

.git-blame-ignore-revs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# .git-blame-ignore-revs
2+
# Added trailing commas to adhere to new eslint rules
3+
b16296be30e150034524d6dd0b0418fc6b184267

.github/dependabot.yml

-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ updates:
1111
# There is a type incompatibility issue between v0.0.9 and our other dependencies.
1212
- dependency-name: "@octokit/plugin-retry"
1313
versions: ["~6.0.0"]
14-
# There is a type incompatibility issue between v0.0.9 and our other dependencies.
15-
- dependency-name: "@schemastore/package"
16-
versions: ["0.0.9"]
1714
# v7 requires ESM
1815
- dependency-name: "del"
1916
versions: ["^7.0.0"]

.github/workflows/post-release-mergeback.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
npm version patch --no-git-tag-version
131131
132132
# Update the changelog
133-
perl -i -pe 's/^/## \[UNRELEASED\]\n\nNo user facing changes.\n\n/ if($.==3)' CHANGELOG.md
133+
perl -i -pe 's/^/## \[UNRELEASED\]\n\nNo user facing changes.\n\n/ if($.==5)' CHANGELOG.md
134134
git add .
135135
git commit -m "Update changelog and version after ${VERSION}"
136136

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs.
44

5+
## 2.21.1 - 26 Jul 2023
6+
7+
- Improve the handling of fatal errors from the CodeQL CLI. [#1795](https://github.com/github/codeql-action/pull/1795)
8+
- Add the `sarif-output` output to the analyze action that contains the path to the directory of the generated SARIF. [#1799](https://github.com/github/codeql-action/pull/1799)
9+
510
## 2.21.0 - 19 Jul 2023
611

712
- CodeQL Action now requires CodeQL CLI 2.9.4 or later. For more information, see the corresponding changelog entry for CodeQL Action version 2.20.4. [#1724](https://github.com/github/codeql-action/pull/1724)

analyze/action.yml

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ inputs:
7979
outputs:
8080
db-locations:
8181
description: A map from language to absolute path for each database created by CodeQL.
82+
sarif-output:
83+
description: Absolute, local path to the directory containing the generated SARIF file.
8284
sarif-id:
8385
description: The ID of the uploaded SARIF file.
8486
runs:

lib/actions-util.js

+31-203
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)