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 releases/v2 #1153

Merged
merged 23 commits into from Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c8971b8
Update changelog and version after v2.1.16
invalid-email-address Jul 13, 2022
8d24c9e
Update checked-in dependencies
invalid-email-address Jul 13, 2022
d8c9c72
Merge pull request #1141 from github/mergeback/v2.1.16-to-main-3e7e3b32
edoardopirovano Jul 13, 2022
1111129
Update bundle to 2.10.1
alexet Jul 14, 2022
28ccb03
Changelog: Pick the correct PR after opening
alexet Jul 14, 2022
01fa64c
Don't crash if we are unable to get a response from the feature-flag …
criemen Jul 18, 2022
75afbf4
Address review, add test.
criemen Jul 18, 2022
c059f95
Fix lint errors.
criemen Jul 18, 2022
ba95eeb
Merge pull request #1145 from github/criemen/fix-ff-crash
criemen Jul 18, 2022
aa23193
Merge branch 'main' into alexet/codeql-2.10.1-update
alexet Jul 19, 2022
b8bd06e
Merge pull request #1143 from github/alexet/codeql-2.10.1-update
alexet Jul 19, 2022
6fa0b7c
Bump terser from 5.7.1 to 5.14.2 in /runner
dependabot[bot] Jul 20, 2022
8171514
Merge pull request #1146 from github/dependabot/npm_and_yarn/runner/t…
henrymercer Jul 20, 2022
a326649
autobuild-action: Run autobuilders with $CODEQL_RUNNER set.
criemen Jul 21, 2022
ceec52c
Address review.
criemen Jul 21, 2022
2d2dfa3
Remove duplicate CI workflow
adityasharad Jul 25, 2022
dc1c51d
Actions: Fix failing Runner autobuild test on macOS
adityasharad Jul 25, 2022
58faf9d
Actions: Disable the CLR tracer in C# autobuild test
adityasharad Jul 25, 2022
b4ff463
Autobuild: Remove CODEQL_RUNNER workaround
adityasharad Jul 25, 2022
a2f4d66
Runner tests: Read CODEQL_RUNNER from the stored JSON
adityasharad Jul 25, 2022
caa2a0d
Runner tests: Attempt to source the tracer env, display the binary path
adityasharad Jul 27, 2022
bbc2e70
Merge pull request #1149 from github/criemen/runner-autobuilders
adityasharad Jul 27, 2022
0dd6a6f
Update changelog for v2.1.17
invalid-email-address Jul 28, 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
72 changes: 72 additions & 0 deletions .github/workflows/__autobuild-action.yml

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

5 changes: 4 additions & 1 deletion .github/workflows/pr-checks.yml
Expand Up @@ -414,7 +414,10 @@ jobs:
- name: Build code
shell: bash
run: |
../action/runner/dist/codeql-runner-macos autobuild
. codeql-runner/codeql-env.sh
CODEQL_RUNNER="$(cat codeql-runner/codeql-env.json | jq -r '.CODEQL_RUNNER')"
echo "$CODEQL_RUNNER"
$CODEQL_RUNNER ../action/runner/dist/codeql-runner-macos autobuild

- name: Run analyze
run: |
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# CodeQL Action Changelog

## 2.1.17 - 28 Jul 2022

- Update default CodeQL bundle version to 2.10.1. [#1143](https://github.com/github/codeql-action/pull/1143)

## 2.1.16 - 13 Jul 2022

- You can now quickly debug a job that uses the CodeQL Action by re-running the job from the GitHub UI and selecting the "Enable debug logging" option. [#1132](https://github.com/github/codeql-action/pull/1132)
Expand Down
13 changes: 13 additions & 0 deletions lib/codeql.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/codeql.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/defaults.json
@@ -1,3 +1,3 @@
{
"bundleVersion": "codeql-bundle-20220623"
"bundleVersion": "codeql-bundle-20220714"
}
9 changes: 7 additions & 2 deletions lib/feature-flags.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/feature-flags.js.map

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

16 changes: 16 additions & 0 deletions lib/feature-flags.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/feature-flags.test.js.map

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

2 changes: 1 addition & 1 deletion node_modules/.package-lock.json

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

4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "codeql",
"version": "2.1.16",
"version": "2.1.17",
"private": true,
"description": "CodeQL action",
"scripts": {
Expand Down
28 changes: 28 additions & 0 deletions pr-checks/checks/autobuild-action.yml
@@ -0,0 +1,28 @@
name: "autobuild-action"
description: "Tests that the C# autobuild action works"
versions: ["latest"]
steps:
- uses: ./../action/init
with:
languages: csharp
tools: ${{ steps.prepare-test.outputs.tools-url }}
- uses: ./../action/autobuild
env:
# Explicitly disable the CLR tracer.
COR_ENABLE_PROFILING: ""
COR_PROFILER: ""
COR_PROFILER_PATH_64: ""
CORECLR_ENABLE_PROFILING: ""
CORECLR_PROFILER: ""
CORECLR_PROFILER_PATH_64: ""
- uses: ./../action/analyze
env:
TEST_MODE: true
- name: Check database
shell: bash
run: |
cd "$RUNNER_TEMP/codeql_databases"
if [[ ! -d csharp ]]; then
echo "Did not find a C# database"
exit 1
fi