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 #1736

Merged
merged 52 commits into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
c94b999
Update default bundle to codeql-bundle-v2.13.4
github-actions[bot] Jun 9, 2023
3437c49
Add changelog note
github-actions[bot] Jun 9, 2023
64d6bfc
Merge branch 'main' into update-bundle/codeql-bundle-v2.13.4
henrymercer Jun 13, 2023
e476d8b
Update changelog and version after v2.20.0
github-actions[bot] Jun 13, 2023
6bd6480
Update checked-in dependencies
github-actions[bot] Jun 13, 2023
5fa98fa
Merge pull request #1731 from github/mergeback/v2.20.0-to-main-6c089f53
angelapwen Jun 13, 2023
b8f204c
Bump @octokit/plugin-retry from 4.0.4 to 5.0.2 (#1726)
dependabot[bot] Jun 13, 2023
dce63d8
Add initial stub for `resolve-environment` action
mbg May 18, 2023
4322324
Add `resolveBuildEnvironment` to `CodeQL` type
mbg May 18, 2023
360d2b7
Update OS representation
mbg May 23, 2023
cc95e67
Add `resolve-environment` to `ActionName`
mbg May 26, 2023
4356c16
Add `runResolveBuildEnvironment`
mbg May 26, 2023
ee80b30
Add initial workflow code dependent on `init`
mbg May 26, 2023
0930314
Add token and matrix inputs
mbg May 26, 2023
4518431
Fix: rename output
mbg May 26, 2023
527ea94
Add `working-directory` input
mbg May 26, 2023
59a9e3a
Fix formatting for `runResolveBuildEnvironment`
mbg May 26, 2023
8216c3a
Install CodeQL as part of the action
mbg May 26, 2023
aef016d
Apply suggestions from code review
mbg May 30, 2023
ddb13a1
Rename `actionName` to `ACTION_NAME`
mbg Jun 2, 2023
fce65da
Remove `BuildEnvironmentOS`
mbg Jun 2, 2023
6f07b50
Propagate `--working-dir` argument
mbg Jun 2, 2023
e08f131
Include CLI output in JSON error
mbg Jun 6, 2023
829bba8
Do not download CLI
mbg Jun 12, 2023
64fa96a
Report success
mbg Jun 13, 2023
0b8c812
Add integration test for `resolve-environment`
mbg Jun 13, 2023
ef4bf4a
Use `nightly-latest` for test for now
mbg Jun 13, 2023
8e75e1a
Apply suggestions from code review
mbg Jun 13, 2023
16f3f1a
Remove `validateWorkflow` call
mbg Jun 13, 2023
6419f99
Handle case where `workingDir` is `undefined`
mbg Jun 13, 2023
efe0e21
Update action description
mbg Jun 13, 2023
1c73235
Update `working-directory` description
mbg Jun 13, 2023
ba64fee
Add CHANGELOG entry
mbg Jun 2, 2023
c878505
Improve changelog wording
mbg Jun 13, 2023
f239f49
Rebuild integration test workflow
mbg Jun 13, 2023
4d7934a
Tolerate unexpected processing statuses for red SARIF uploads
henrymercer Jun 14, 2023
899b5a2
Continue after CLI errors
mbg Jun 14, 2023
b843f95
Update supported GitHub Enterprise Server versions
github-actions[bot] Jun 15, 2023
7a9f099
Don't invoke CLI when command not supported
mbg Jun 15, 2023
eb9703e
Reformat
mbg Jun 15, 2023
7e5bafc
Use `stable-v2.13.4` for integration test
mbg Jun 15, 2023
ee2b24e
Merge pull request #1733 from github/update-supported-enterprise-serv…
henrymercer Jun 15, 2023
d4006d9
Improve step name in integration test
mbg Jun 15, 2023
0ac1815
Merge pull request #1684 from github/mbg/add-resolve-environment
mbg Jun 15, 2023
d6201b5
Improve logging messages
henrymercer Jun 16, 2023
de74ca6
Merge pull request #1732 from github/henrymercer/tolerate-unexpected-…
henrymercer Jun 19, 2023
3e0c87d
Merge branch 'main' into update-bundle/codeql-bundle-v2.13.4
henrymercer Jun 19, 2023
c6dff34
Merge pull request #1721 from github/update-bundle/codeql-bundle-v2.13.4
henrymercer Jun 19, 2023
82dbde1
Fix setup-swift composite action for versions 5.8, 5.8.1 (#1735)
angelapwen Jun 20, 2023
8ba77ef
Bump @octokit/types from 9.0.0 to 10.0.0 (#1734)
dependabot[bot] Jun 20, 2023
4385ad5
Send `job_run_uuid` to status report telemetry (#1685)
angelapwen Jun 21, 2023
2874247
Update changelog for v2.20.1
github-actions[bot] Jun 21, 2023
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
9 changes: 7 additions & 2 deletions .github/actions/setup-swift/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,15 @@ runs:
VERSION="null"
else
VERSION="$("$SWIFT_EXTRACTOR_DIR/tools/$PLATFORM/extractor" --version | awk '/version/ { print $3 }')"
# Specify 5.7.0, otherwise setup Action will default to latest minor version.
# Specify 5.x.0, otherwise setup Action will default to latest minor version.
if [ $VERSION = "5.7" ]; then
VERSION="5.7.0"
fi
elif [ $VERSION = "5.8" ]; then
VERSION="5.8.0"
# setup-swift does not yet support v5.8.1 Remove this when it does.
elif [ $VERSION = "5.8.1" ]; then
VERSION="5.8.0"
fi
fi
echo "version=$VERSION" | tee -a $GITHUB_OUTPUT

Expand Down
70 changes: 70 additions & 0 deletions .github/workflows/__resolve-environment-action.yml

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

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CodeQL Action Changelog

## 2.20.1 - 21 Jun 2023

- Update default CodeQL bundle version to 2.13.4. [#1721](https://github.com/github/codeql-action/pull/1721)
- Experimental: add a new `resolve-environment` action which attempts to infer a configuration for the build environment that is required to build a given project. Do not use this in production as it is part of an internal experiment and subject to change at any time.

## 2.20.0 - 13 Jun 2023

- Bump the version of the Action to 2.20.0. This ensures that users who received a Dependabot upgrade to [`cdcdbb5`](https://github.com/github/codeql-action/commit/cdcdbb579706841c47f7063dda365e292e5cad7a), which was mistakenly marked as Action version 2.13.4, continue to receive updates to the CodeQL Action. Full details in [#1729](https://github.com/github/codeql-action/pull/1729)
Expand Down
10 changes: 6 additions & 4 deletions lib/actions-util.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/actions-util.js.map

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions lib/actions-util.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/actions-util.test.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/api-compatibility.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "maximumVersion": "3.10", "minimumVersion": "3.6" }
{ "maximumVersion": "3.10", "minimumVersion": "3.5" }
25 changes: 24 additions & 1 deletion 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.

8 changes: 4 additions & 4 deletions lib/defaults.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"bundleVersion": "codeql-bundle-20230524",
"cliVersion": "2.13.3",
"priorBundleVersion": "codeql-bundle-20230428",
"priorCliVersion": "2.13.1"
"bundleVersion": "codeql-bundle-v2.13.4",
"cliVersion": "2.13.4",
"priorBundleVersion": "codeql-bundle-20230524",
"priorCliVersion": "2.13.3"
}
3 changes: 3 additions & 0 deletions lib/init-action.js

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