Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into v1 #870

Merged
merged 46 commits into from
Jan 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
b661ef1
Start waiting for processing by default.
chrisgavin Dec 9, 2021
7bcc656
Add more context to a change note.
chrisgavin Dec 9, 2021
b7b7607
Stop printing all output twice.
chrisgavin Dec 9, 2021
eeb215b
Update changelog and version after v1.0.26
invalid-email-address Dec 10, 2021
88fbabe
1.0.27
invalid-email-address Dec 10, 2021
a777b51
Update checked-in dependencies
invalid-email-address Dec 10, 2021
ce77f88
Merge pull request #849 from github/mergeback/v1.0.26-to-main-5f532563
aeisenberg Dec 10, 2021
1d83f2a
Merge branch 'main' into duplicated-output
chrisgavin Dec 13, 2021
716b598
Merge pull request #844 from github/duplicated-output
chrisgavin Dec 13, 2021
e0e2abc
Merge branch 'main' into wait-for-processing-by-default
chrisgavin Dec 13, 2021
eacec36
Merge pull request #843 from github/wait-for-processing-by-default
chrisgavin Dec 13, 2021
f623d4c
Remove scheduled releases
aeisenberg Dec 13, 2021
265a7db
Remove `dotnet restore` calls from CI checks
edoardopirovano Dec 13, 2021
39216d1
Merge pull request #854 from edoardopirovano/remove-dotnet-restore
edoardopirovano Dec 13, 2021
d3eb497
Merge branch 'main' into aeisenberg/remove-scheduled
aeisenberg Dec 14, 2021
14a5537
Merge pull request #853 from github/aeisenberg/remove-scheduled
aeisenberg Dec 14, 2021
f9e96fa
Move changelog entry into correct place
cannist Dec 14, 2021
e1f0590
Merge pull request #855 from github/correct-changelog
aeisenberg Dec 14, 2021
04671ef
Add support for feature flagging via the GitHub API
henrymercer Dec 14, 2021
d6499fa
Use new feature flag architecture when uploading databases
henrymercer Dec 14, 2021
621e079
Throw an error if the feature flag API request errors
henrymercer Dec 15, 2021
5e87034
Explicitly pass repository to feature flags constructor
henrymercer Dec 15, 2021
6d62c24
Represent feature flags using an enum
henrymercer Dec 16, 2021
254816c
Stub feature flag API endpoint in tests
henrymercer Dec 16, 2021
249c7ff
Merge pull request #856 from github/henrymercer/feature-flagging
henrymercer Dec 16, 2021
3e59dee
Update supported GitHub Enterprise Server versions.
web-flow Dec 29, 2021
cdea582
Merge pull request #859 from github/update-supported-enterprise-serve…
edoardopirovano Dec 29, 2021
cca1cfd
Remove debugging output
edoardopirovano Dec 31, 2021
3e50d09
Force virtualenv version
aeisenberg Jan 2, 2022
79ea6d6
Merge pull request #862 from github/aeisenberg/fix-python-tests
edoardopirovano Jan 2, 2022
ea1acc5
Merge branch 'main' into remove-debug-output
edoardopirovano Jan 2, 2022
e5d84de
Merge pull request #861 from github/remove-debug-output
edoardopirovano Jan 2, 2022
00d4d60
Always upload DB when in debug mode
edoardopirovano Dec 30, 2021
9763bdd
Merge pull request #860 from edoardopirovano/always-upload-db
edoardopirovano Jan 4, 2022
2f4be8e
Run ML-powered queries for JS security-extended behind feature flag
henrymercer Dec 15, 2021
5602bd5
Test loading of ML-powered queries
henrymercer Dec 16, 2021
efded22
Bump the version of the ATM query pack to 0.0.2
henrymercer Dec 17, 2021
9de1702
Document use of redundant feature flag API call
henrymercer Jan 5, 2022
2159631
Only run ML-powered queries with v2.7.5 or newer of the CLI
henrymercer Jan 6, 2022
e7fe6da
Allow patch version of ML-powered queries pack to be bumped
henrymercer Jan 6, 2022
848e514
Merge pull request #857 from github/henrymercer/ml-powered-queries
henrymercer Jan 6, 2022
e677af3
Make name of debugging artifact and DB within it configurable
edoardopirovano Jan 7, 2022
71112ab
Merge pull request #868 from edoardopirovano/debug-artifact-name
edoardopirovano Jan 7, 2022
d2a0fc8
Refuse to run on Windows 11
edoardopirovano Jan 11, 2022
faa9ba7
Merge pull request #869 from github/edoardo/windows-11-error
edoardopirovano Jan 11, 2022
300c8b6
1.0.27
invalid-email-address Jan 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/prepare-test/action.yml
Expand Up @@ -28,7 +28,6 @@ runs:
echo "::set-output name=tools-url::https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/codeql-bundle-$VERSION-manual/codeql-bundle.tar.gz"
elif [[ ${{ inputs.version }} == *"stable"* ]]; then
export VERSION=`echo ${{ inputs.version }} | sed -e 's/^.*\-//'`
echo "Hello $VERSION"
echo "::set-output name=tools-url::https://github.com/github/codeql-action/releases/download/codeql-bundle-$VERSION/codeql-bundle.tar.gz"
elif [[ ${{ inputs.version }} == "latest" ]]; then
echo "::set-output name=tools-url::latest"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/__debug-artifacts.yml

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

2 changes: 0 additions & 2 deletions .github/workflows/__go-custom-queries.yml

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

2 changes: 0 additions & 2 deletions .github/workflows/__multi-language-autodetect.yml

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

2 changes: 0 additions & 2 deletions .github/workflows/__packaging-config-inputs-js.yml

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

2 changes: 0 additions & 2 deletions .github/workflows/__packaging-config-js.yml

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

2 changes: 0 additions & 2 deletions .github/workflows/__packaging-inputs-js.yml

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

2 changes: 0 additions & 2 deletions .github/workflows/__remote-config.yml

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

2 changes: 0 additions & 2 deletions .github/workflows/__split-workflow.yml

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

2 changes: 0 additions & 2 deletions .github/workflows/__test-local-codeql.yml

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

2 changes: 0 additions & 2 deletions .github/workflows/__unset-environment.yml

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

9 changes: 0 additions & 9 deletions .github/workflows/pr-checks.yml
Expand Up @@ -163,9 +163,6 @@ jobs:
cd ../action/runner
npm install
npm run build-runner

- name: Initialize dotnet
run: dotnet restore

- name: Run init
run: |
Expand Down Expand Up @@ -203,9 +200,6 @@ jobs:
cd ../action/runner
npm install
npm run build-runner

- name: Initialize dotnet
run: dotnet restore

- name: Run init
run: |
Expand Down Expand Up @@ -252,9 +246,6 @@ jobs:
npm install
npm run build-runner

- name: Initialize dotnet
run: dotnet restore

- name: Run init
run: |
../action/runner/dist/codeql-runner-macos init --repository $GITHUB_REPOSITORY --languages csharp --github-url $GITHUB_SERVER_URL --github-auth ${{ github.token }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/update-release-branch.yml
@@ -1,7 +1,5 @@
name: Update release branch
on:
schedule:
- cron: 0 9 * * 1
repository_dispatch:
# Example of how to trigger this:
# curl -H "Authorization: Bearer <token>" -X POST https://api.github.com/repos/github/codeql-action/dispatches -d '{"event_type":"update-release-branch"}'
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,10 @@
# CodeQL Action and CodeQL Runner Changelog

## 1.0.27 - 11 Jan 2022

- The `analyze` and `upload-sarif` actions will now wait up to 2 minutes for processing to complete after they have uploaded the results so they can report any processing errors that occurred. This behavior can be disabled by setting the `wait-for-processing` action input to `"false"`.


## 1.0.26 - 10 Dec 2021

- Update default CodeQL bundle version to 2.7.3. [#842](https://github.com/github/codeql-action/pull/842)
Expand Down
2 changes: 1 addition & 1 deletion analyze/action.yml
Expand Up @@ -55,7 +55,7 @@ inputs:
wait-for-processing:
description: If true, the Action will wait for the uploaded SARIF to be processed before completing.
required: true
default: "false"
default: "true"
token:
default: ${{ github.token }}
matrix:
Expand Down
10 changes: 10 additions & 0 deletions init/action.yml
Expand Up @@ -59,6 +59,16 @@ inputs:
description: Enable debugging mode. This will result in more output being produced which may be useful when debugging certain issues.
required: false
default: 'false'
debug-artifact-name:
description: >-
The name of the artifact to store debugging information in.
This is only used when debug mode is enabled.
required: false
debug-database-name:
description: >-
The name of the database uploaded to the debugging artifact.
This is only used when debug mode is enabled.
required: false
outputs:
codeql-path:
description: The path of the CodeQL binary used for analysis
Expand Down
6 changes: 6 additions & 0 deletions lib/analysis-paths.test.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/analysis-paths.test.js.map

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

2 changes: 2 additions & 0 deletions lib/analyze-action-env.test.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/analyze-action-env.test.js.map

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

2 changes: 2 additions & 0 deletions lib/analyze-action-input.test.js

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