Skip to content

Commit e8d3fa2

Browse files
authored
Merge branch 'main' into henrymercer/sha256
2 parents 3c8c0ae + eb17ca4 commit e8d3fa2

17 files changed

Lines changed: 500 additions & 227 deletions

.github/workflows/codescanning-config-cli.yml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ env:
66
# Diff informed queries add an additional query filter which is not yet
77
# taken into account by these tests.
88
CODEQL_ACTION_DIFF_INFORMED_QUERIES: false
9-
# Specify overlay enablement manually to ensure stability around the exclude-from-incremental
10-
# query filter. Here we only enable for the default code scanning suite.
11-
CODEQL_ACTION_OVERLAY_ANALYSIS: true
12-
CODEQL_ACTION_OVERLAY_ANALYSIS_JAVASCRIPT: false
13-
CODEQL_ACTION_OVERLAY_ANALYSIS_CODE_SCANNING_JAVASCRIPT: true
14-
CODEQL_ACTION_OVERLAY_ANALYSIS_STATUS_CHECK: false
15-
CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS: true
169

1710
on:
1811
push:
@@ -79,33 +72,13 @@ jobs:
7972
with:
8073
version: ${{ matrix.version }}
8174

82-
# On PRs, overlay analysis may change the config that is passed to the CLI.
83-
# Therefore, we have two variants of the following test, one for PRs and one for other events.
84-
- name: Empty file (non-PR)
85-
if: github.event_name != 'pull_request'
75+
- name: Empty file
8676
uses: ./../action/.github/actions/check-codescanning-config
8777
with:
8878
expected-config-file-contents: "{}"
8979
languages: javascript
9080
tools: ${{ steps.prepare-test.outputs.tools-url }}
9181

92-
- name: Empty file (PR)
93-
if: github.event_name == 'pull_request'
94-
uses: ./../action/.github/actions/check-codescanning-config
95-
with:
96-
expected-config-file-contents: |
97-
{
98-
"query-filters": [
99-
{
100-
"exclude": {
101-
"tags": "exclude-from-incremental"
102-
}
103-
}
104-
]
105-
}
106-
languages: javascript
107-
tools: ${{ steps.prepare-test.outputs.tools-url }}
108-
10982
- name: Packs from input
11083
if: success() || failure()
11184
uses: ./../action/.github/actions/check-codescanning-config

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
echo "::endgroup::"
132132
133133
- name: Generate token
134-
uses: actions/create-github-app-token@v3.1.1
134+
uses: actions/create-github-app-token@v3.2.0
135135
id: app-token
136136
with:
137137
app-id: ${{ vars.AUTOMATION_APP_ID }}

.github/workflows/rollback-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
137137
- name: Generate token
138138
if: github.event_name == 'workflow_dispatch'
139-
uses: actions/create-github-app-token@v3.1.1
139+
uses: actions/create-github-app-token@v3.2.0
140140
id: app-token
141141
with:
142142
app-id: ${{ vars.AUTOMATION_APP_ID }}

.github/workflows/update-release-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
pull-requests: write # needed to create pull request
9494
steps:
9595
- name: Generate token
96-
uses: actions/create-github-app-token@v3.1.1
96+
uses: actions/create-github-app-token@v3.2.0
9797
id: app-token
9898
with:
9999
app-id: ${{ vars.AUTOMATION_APP_ID }}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
55
## [UNRELEASED]
66

77
- Add support for SHA-256 Git object IDs. [#3893](https://github.com/github/codeql-action/pull/3893)
8+
- For performance and accuracy reasons, [improved incremental analysis](https://github.com/github/roadmap/issues/1158) will now only be enabled on a pull request when diff-informed analysis is also enabled for that run. If diff-informed analysis is unavailable (for example, because the PR diff ranges could not be computed), the action will fall back to a full analysis. [#3791](https://github.com/github/codeql-action/pull/3791)
89
- If multiple inputs are provided for the GitHub-internal `analysis-kinds` input, only `code-scanning` will be enabled. The `analysis-kinds` input is experimental, for GitHub-internal use only, and may change without notice at any time. [#3892](https://github.com/github/codeql-action/pull/3892)
910
- Added an experimental change which, when running a Code Scanning analysis for a PR with [improved incremental analysis](https://github.com/github/roadmap/issues/1158) enabled, prefers CodeQL CLI versions that have a cached overlay-base database for the configured languages. This speeds up analysis for a repository when there is not yet a cached overlay-base database for the latest CLI version. We expect to roll this change out to everyone in May. [#3880](https://github.com/github/codeql-action/pull/3880)
1011

lib/init-action.js

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

0 commit comments

Comments
 (0)