Skip to content

Commit 2b46439

Browse files
authored
Merge pull request #913 from github/update-v1.0.32-4eb03fb6
Merge main into v1
2 parents 1a927e9 + 6d8390b commit 2b46439

File tree

1,216 files changed

+32126
-97289
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,216 files changed

+32126
-97289
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"plugin:@typescript-eslint/recommended",
1111
"plugin:@typescript-eslint/recommended-requiring-type-checking",
1212
"plugin:github/recommended",
13-
"plugin:github/typescript"
13+
"plugin:github/typescript",
14+
"plugin:import/typescript"
1415
],
1516
"rules": {
1617
"filenames/match-regex": ["error", "^[a-z0-9-]+(\\.test)?$"],

.github/workflows/__analyze-ref-input.yml

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__remote-config.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__upload-ref-sha-input.yml

Lines changed: 70 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
/runner/dist/
22
/runner/node_modules/
3+
# Ignore for example failing-tests.json from AVA
4+
node_modules/.cache

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CodeQL Action and CodeQL Runner Changelog
22

3+
## 1.0.32 - 07 Feb 2022
4+
5+
- Add `sarif-id` as an output for the `upload-sarif` and `analyze` actions. [#889](https://github.com/github/codeql-action/pull/889)
6+
- Add `ref` and `sha` inputs to the `analyze` action, which override the defaults provided by the GitHub Action context. [#889](https://github.com/github/codeql-action/pull/889)
7+
- Update default CodeQL bundle version to 2.8.0. [#911](https://github.com/github/codeql-action/pull/911)
8+
39
## 1.0.31 - 31 Jan 2022
410

511
- Remove `experimental` message when using custom CodeQL packages. [#888](https://github.com/github/codeql-action/pull/888)

analyze/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ inputs:
4545
description: "The path at which the analyzed repository was checked out. Used to relativize any absolute paths in the uploaded SARIF file."
4646
required: false
4747
default: ${{ github.workspace }}
48+
ref:
49+
description: "The ref where results will be uploaded. If not provided, the Action will use the GITHUB_REF environment variable. If provided, the sha input must be provided as well. This input is not available in pull requests from forks."
50+
required: false
51+
sha:
52+
description: "The sha of the HEAD of the ref where results will be uploaded. If not provided, the Action will use the GITHUB_SHA environment variable. If provided, the ref input must be provided as well. This input is not available in pull requests from forks."
53+
required: false
4854
category:
4955
description: String used by Code Scanning for matching the analyses
5056
required: false
@@ -63,6 +69,8 @@ inputs:
6369
outputs:
6470
db-locations:
6571
description: A map from language to absolute path for each database created by CodeQL.
72+
sarif-id:
73+
description: The ID of the uploaded SARIF file.
6674
runs:
6775
using: "node12"
6876
main: "../lib/analyze-action.js"

lib/actions-util.js

Lines changed: 77 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)