Arthur Baars
407ffafae6
Merge pull request #2007 from github/update-v2.22.8-192ad9bd5
...
Merge main into releases/v2
2023-11-23 12:02:44 +01:00
github-actions[bot]
4af462f4ba
Update changelog for v2.22.8
2023-11-23 10:36:46 +00:00
Henry Mercer
192ad9bd5f
Merge pull request #2001 from github/update-bundle/codeql-bundle-v2.15.3
...
Update default bundle to 2.15.3
2023-11-22 11:44:34 +00:00
Arthur Baars
77c1abbd83
Merge branch 'main' into update-bundle/codeql-bundle-v2.15.3
2023-11-22 10:37:42 +01:00
dependabot[bot]
9f150ba795
Bump the actions group with 1 update ( #2004 )
...
* Bump the actions group with 1 update
Bumps the actions group with 1 update: [actions/github-script](https://github.com/actions/github-script ).
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump `github-script` version to v7
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Angela P Wen <angelapwen@github.com >
2023-11-20 15:32:23 -08:00
dependabot[bot]
e75de4cd73
Bump typescript from 5.2.2 to 5.3.2 ( #2002 )
...
* Bump typescript from 5.2.2 to 5.3.2
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.2.2 to 5.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
* Rebuild
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Angela P Wen <angelapwen@github.com >
2023-11-20 15:31:58 -08:00
dependabot[bot]
80150c2141
Bump the npm group with 12 updates ( #2003 )
...
* Bump the npm group with 12 updates
Bumps the npm group with 12 updates:
| Package | From | To |
| --- | --- | --- |
| [@octokit/types](https://github.com/octokit/types.ts ) | `12.1.1` | `12.3.0` |
| [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid ) | `9.0.6` | `9.0.7` |
| [@types/adm-zip](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/adm-zip ) | `0.5.3` | `0.5.4` |
| [@types/js-yaml](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/js-yaml ) | `4.0.8` | `4.0.9` |
| [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver ) | `7.5.4` | `7.5.5` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `6.9.1` | `6.12.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `6.9.1` | `6.12.0` |
| [eslint](https://github.com/eslint/eslint ) | `8.52.0` | `8.54.0` |
| [nock](https://github.com/nock/nock ) | `13.3.7` | `13.3.8` |
| [sinon](https://github.com/sinonjs/sinon ) | `17.0.0` | `17.0.1` |
| [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon ) | `10.0.20` | `17.0.1` |
| [typescript](https://github.com/Microsoft/TypeScript ) | `5.2.2` | `5.3.2` |
Updates `@octokit/types` from 12.1.1 to 12.3.0
- [Release notes](https://github.com/octokit/types.ts/releases )
- [Commits](https://github.com/octokit/types.ts/compare/v12.1.1...v12.3.0 )
Updates `@types/uuid` from 9.0.6 to 9.0.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid )
Updates `@types/adm-zip` from 0.5.3 to 0.5.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/adm-zip )
Updates `@types/js-yaml` from 4.0.8 to 4.0.9
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/js-yaml )
Updates `@types/semver` from 7.5.4 to 7.5.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver )
Updates `@typescript-eslint/eslint-plugin` from 6.9.1 to 6.12.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.12.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.9.1 to 6.12.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.12.0/packages/parser )
Updates `eslint` from 8.52.0 to 8.54.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.52.0...v8.54.0 )
Updates `nock` from 13.3.7 to 13.3.8
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/compare/v13.3.7...v13.3.8 )
Updates `sinon` from 17.0.0 to 17.0.1
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v17.0.0...v17.0.1 )
Updates `@types/sinon` from 10.0.20 to 17.0.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon )
Updates `typescript` from 5.2.2 to 5.3.2
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits )
---
updated-dependencies:
- dependency-name: "@octokit/types"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@types/uuid"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/adm-zip"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/js-yaml"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/semver"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: nock
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/sinon"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
* Rebuild
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-20 14:35:28 -08:00
github-actions[bot]
4d999a4f27
Add changelog note
2023-11-19 10:01:05 +00:00
github-actions[bot]
83267d5070
Update default bundle to codeql-bundle-v2.15.3
2023-11-19 10:01:00 +00:00
Henry Mercer
4b6aa0b07d
Merge pull request #1997 from github/mergeback/v2.22.7-to-main-66b90a5d
...
Mergeback v2.22.7 refs/heads/releases/v2 into main
2023-11-16 14:10:31 +00:00
github-actions[bot]
4618cbd952
Update checked-in dependencies
2023-11-16 13:45:59 +00:00
github-actions[bot]
bab3adbf38
Update changelog and version after v2.22.7
2023-11-16 13:26:41 +00:00
Henry Mercer
66b90a5db1
Merge pull request #1995 from github/update-v2.22.7-10f05151c
...
Merge main into releases/v2
2023-11-16 13:24:42 +00:00
github-actions[bot]
bc9ddc2841
Update changelog for v2.22.7
2023-11-16 12:58:42 +00:00
Andrew Eisenberg
10f05151c5
Merge pull request #1981 from github/aeisenberg/delete-analysis-after-upload
...
Delete analysis after uploading
2023-11-16 04:32:07 -08:00
Andrew Eisenberg
4e80a80354
Use delay instead of wait
...
Need to also change the signature of delay to allow this to happen.
2023-11-15 13:14:19 -08:00
Andrew Eisenberg
df9b50ee5f
Address comments from review
...
- Change error messages.
- Use logger instead of core
- throw Error instead of write error message
2023-11-15 12:54:26 -08:00
Andrew Eisenberg
0d0a53cb13
Merge pull request #1993 from github/henrymercer/deprecation-changenote
...
Add changelog note for CodeQL v2.10.5 deprecation
2023-11-15 12:51:22 -08:00
Henry Mercer
df6aced528
Update CHANGELOG.md
2023-11-15 20:24:19 +00:00
Henry Mercer
0cd63ca7a5
Add changelog note for CodeQL v2.10.5 deprecation
2023-11-15 19:54:48 +00:00
Henry Mercer
b9e85da0b5
Merge pull request #1992 from github/henrymercer/ghes-3.7-deprecation
...
Prepare for CodeQL v2.10.5 deprecation
2023-11-15 19:17:42 +00:00
Henry Mercer
779838b849
Prepare for CodeQL v2.10.* deprecation
...
Warn users of CodeQL v2.11.5 and earlier that the next minor release of
the CodeQL Action will require CodeQL v2.11.6 or later.
2023-11-15 17:52:32 +00:00
Chris Smowton
ab6dd28b80
Merge pull request #1991 from github/mergeback/v2.22.6-to-main-689fdc51
...
Mergeback v2.22.6 refs/heads/releases/v2 into main
2023-11-14 14:26:03 +00:00
github-actions[bot]
9326971847
Update checked-in dependencies
2023-11-14 12:54:27 +00:00
github-actions[bot]
9968bdfba4
Update changelog and version after v2.22.6
2023-11-14 12:52:33 +00:00
Chris Smowton
689fdc5193
Merge pull request #1990 from github/update-v2.22.6-8c8c7b4d8
...
Merge main into releases/v2
2023-11-14 12:50:22 +00:00
github-actions[bot]
33bfd1de92
Update changelog for v2.22.6
2023-11-14 12:16:13 +00:00
Henry Mercer
8c8c7b4d80
Merge pull request #1979 from github/aeisenberg/python-on-mac
...
Add changenote for Python 3.12 incompatibility on MacOS
2023-11-13 18:40:02 +00:00
Henry Mercer
64981bbb5a
Merge branch 'main' into aeisenberg/python-on-mac
2023-11-13 18:11:17 +00:00
Chris Smowton
e280207df7
Merge pull request #1978 from github/update-bundle/codeql-bundle-v2.15.2
...
Update default bundle to 2.15.2
2023-11-13 12:14:57 +00:00
Chris Smowton
e46740a99e
Merge branch 'main' into update-bundle/codeql-bundle-v2.15.2
2023-11-13 11:42:59 +00:00
Henry Mercer
6abf8569a1
Merge pull request #1984 from github/aeisenberg/fix-debug-integration-tests
...
Fix failing workflows
2023-11-13 11:42:48 +00:00
Chris Smowton
59252d9bfb
Update setup-swift deficiency compensation
2023-11-13 11:33:19 +00:00
Chris Smowton
dcf348a0d3
Merge branch 'main' into update-bundle/codeql-bundle-v2.15.2
2023-11-13 11:06:34 +00:00
Andrew Eisenberg
04451e072f
Delete analysis after uploading
...
The analysis is purposefully failing. We don't want a failed analysis
sitting in the security center since this can cause some internal
checks to erroneously fail.
2023-11-10 13:26:01 -08:00
Andrew Eisenberg
82284f1b28
Fix failing workflows
...
Ensure that pythion 3.11 is used for older CLIs on windows.
2023-11-10 13:19:40 -08:00
Andrew Eisenberg
ed686ed4b3
Update CHANGELOG.md
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-11-02 10:51:37 -07:00
Andrew Eisenberg
137a1e070d
Merge pull request #1963 from github/aeisenberg/fix-source-root
...
Use the correct action input parameter
2023-11-02 08:18:02 -07:00
Andrew Eisenberg
6dd4605060
Add changenote for Python 3.12 incompatibility on MacOS
2023-11-02 08:03:28 -07:00
Andrew Eisenberg
91733ada76
Remove reference to CODEQL_RUNNER
2023-11-02 07:50:32 -07:00
Andrew Eisenberg
7c60ff7ad6
Use setup-python@v4
2023-11-02 07:49:59 -07:00
Andrew Eisenberg
9ef69a2c7a
Be more precise about when to use python 3.11
...
Only run use 3.11 on versions of of the CLI that we know don't support
3.12.
2023-11-01 18:10:09 -07:00
Andrew Eisenberg
bd4005aa6a
Force python 3.11 for macos
...
3.12 does not work.
2023-11-01 16:01:27 -07:00
Andrew Eisenberg
da4c46015a
Use the correct action input parameter
2023-10-31 17:15:51 -07:00
github-actions[bot]
45a6ff4660
Add changelog note
2023-10-31 12:46:42 +00:00
github-actions[bot]
793adb79ac
Update default bundle to codeql-bundle-v2.15.2
2023-10-31 12:46:37 +00:00
dependabot[bot]
c73d8a69e1
Bump the npm group with 5 updates ( #1977 )
...
* Bump the npm group with 5 updates
Bumps the npm group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [@octokit/types](https://github.com/octokit/types.ts ) | `12.0.0` | `12.1.1` |
| [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon ) | `10.0.19` | `10.0.20` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `6.9.0` | `6.9.1` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `6.9.0` | `6.9.1` |
| [nock](https://github.com/nock/nock ) | `13.3.6` | `13.3.7` |
Updates `@octokit/types` from 12.0.0 to 12.1.1
- [Release notes](https://github.com/octokit/types.ts/releases )
- [Commits](https://github.com/octokit/types.ts/compare/v12.0.0...v12.1.1 )
Updates `@types/sinon` from 10.0.19 to 10.0.20
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon )
Updates `@typescript-eslint/eslint-plugin` from 6.9.0 to 6.9.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.9.1/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.9.0 to 6.9.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.9.1/packages/parser )
Updates `nock` from 13.3.6 to 13.3.7
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/compare/v13.3.6...v13.3.7 )
---
updated-dependencies:
- dependency-name: "@octokit/types"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@types/sinon"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: nock
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-30 18:27:47 +00:00
Nick Rolfe
df32e39913
Merge pull request #1975 from github/nickrolfe/vscode-formatter
...
VSCode settings: set default formatter for TS
2023-10-30 10:49:04 +00:00
Nick Rolfe
88d03c647b
VSCode settings: set default formatter for TS
...
Tell VSCode to format code with Prettier, since that's the same tool we
use to check the format with `npm run lint`.
2023-10-27 17:21:58 +01:00
Henry Mercer
a3795eb30d
Merge pull request #1973 from github/mergeback/v2.22.5-to-main-74483a38
...
Mergeback v2.22.5 refs/heads/releases/v2 into main
2023-10-27 11:22:12 +01:00
github-actions[bot]
3d77e8a7ee
Update checked-in dependencies
2023-10-27 09:36:42 +00:00
github-actions[bot]
58157f1d4c
Update changelog and version after v2.22.5
2023-10-27 09:31:34 +00:00
Henry Mercer
74483a38d3
Merge pull request #1972 from github/update-v2.22.5-2d5ffa777
...
Merge main into releases/v2
2023-10-27 10:29:36 +01:00
github-actions[bot]
2ba6829f2b
Update changelog for v2.22.5
2023-10-27 08:34:59 +00:00
Henry Mercer
2d5ffa7773
Merge pull request #1970 from github/henrymercer/clean-up-init-logs
...
Validate workflow within new log group
2023-10-27 09:32:26 +01:00
Henry Mercer
14d0fa93b4
Merge pull request #1967 from github/henrymercer/enable-features-on-ghes
...
Enable analysis summary v2 and sub-language file coverage information on GHES
2023-10-27 09:29:30 +01:00
Henry Mercer
5744b13b66
Rebuild Action
2023-10-26 19:56:46 +01:00
Henry Mercer
f3b55862ea
Check out the right branch in rebuild.yml
2023-10-26 19:56:04 +01:00
Henry Mercer
95c219819d
Add a log in the OK case
2023-10-26 19:52:37 +01:00
Henry Mercer
e8e83c3a56
Merge branch 'main' into henrymercer/enable-features-on-ghes
2023-10-26 19:47:56 +01:00
Henry Mercer
c7abe9ca5f
Merge pull request #1971 from github/henrymercer/bot-rebuild
...
Add workflow to rebuild the Action on a label
2023-10-26 19:46:25 +01:00
Henry Mercer
3fc281e079
Add workflow to rebuild the Action on a label
2023-10-26 14:01:43 +01:00
Nick Rolfe
4888104fe9
Merge pull request #1940 from github/nickrolfe/rename_fgp_flag
...
Rename feature flag for evaluator fine-grained parallelism
2023-10-26 12:34:26 +01:00
Nick Rolfe
06d8f4f7f8
Rename feature flag for evaluator fine-grained parallelism
2023-10-26 11:45:37 +01:00
Henry Mercer
06662f546c
Validate workflow within new log group
...
This cleans up the logs for `init`.
2023-10-26 11:17:05 +01:00
Henry Mercer
25a3829e6e
Fix comment
2023-10-26 11:09:28 +01:00
Paolo Tranquilli
dad0ebd6ca
Merge pull request #1969 from github/redsun82/pre-commit
...
Add pre-commit configuration
2023-10-26 12:07:09 +02:00
Paolo Tranquilli
7f7aa09c9a
Add pre-commit configuration
...
[pre-commit](https://pre-commit.com/ ) is a framework for easy set-up
of pre-commit hooks.
This adds configuration for it to run:
* ts compilation
* ts linting
* pr-checks synchronization
The latter required the `sync.py` to be callable from the project root.
`pre-commit` can be enabled with
```
python3 -m pip install pre-commit
pre-commit install
```
2023-10-26 11:03:40 +02:00
Henry Mercer
5e3a6935e7
Stub CodeQL version
2023-10-25 20:33:07 +01:00
Henry Mercer
d2b37ba145
Remove feature flag for uploading failed SARIF
2023-10-25 19:51:19 +01:00
Henry Mercer
c8e99083da
Remove feature flag for sub-language file coverage information
2023-10-25 19:51:19 +01:00
Henry Mercer
2cbabeaa72
Remove feature flag for analysis summary v2
2023-10-25 19:51:18 +01:00
Paolo Tranquilli
edb8265ab8
Merge pull request #1964 from github/redsun82/cpp-deptrace-pr-checks
...
C++: add deptrace pr-checks
2023-10-25 14:54:15 +02:00
Henry Mercer
dbe5586d6e
Merge pull request #1966 from github/dependabot/npm_and_yarn/npm-0014e83eb7
...
Bump the npm group with 10 updates
2023-10-25 13:23:49 +01:00
Paolo Tranquilli
f1b64d85e4
Sync PR checks
2023-10-25 13:34:17 +02:00
Paolo Tranquilli
e3f5f833da
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-10-25 12:23:32 +02:00
Paolo Tranquilli
838be48ce0
C++: tweak deptrace checks
2023-10-24 11:31:04 +02:00
Paolo Tranquilli
8779d91384
Merge branch 'main' into redsun82/cpp-deptrace-pr-checks
2023-10-24 11:27:38 +02:00
Paolo Tranquilli
959337a156
C++: fix autobuild pr-checks for macOS
2023-10-24 11:10:13 +02:00
dependabot[bot]
9734ecd5b5
Bump the actions group with 1 update ( #1965 )
...
Bumps the actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node ).
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 11:55:44 -07:00
github-actions[bot]
9c3b394d7f
Update checked-in dependencies
2023-10-23 18:03:04 +00:00
dependabot[bot]
79817eb679
Bump the npm group with 10 updates
...
Bumps the npm group with 10 updates:
| Package | From | To |
| --- | --- | --- |
| [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid ) | `9.0.5` | `9.0.6` |
| [@types/adm-zip](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/adm-zip ) | `0.5.2` | `0.5.3` |
| [@types/js-yaml](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/js-yaml ) | `4.0.7` | `4.0.8` |
| [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver ) | `7.5.3` | `7.5.4` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `6.8.0` | `6.9.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `6.8.0` | `6.9.0` |
| [eslint](https://github.com/eslint/eslint ) | `8.51.0` | `8.52.0` |
| [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) | `2.28.1` | `2.29.0` |
| [nock](https://github.com/nock/nock ) | `13.3.4` | `13.3.6` |
| [sinon](https://github.com/sinonjs/sinon ) | `16.1.0` | `17.0.0` |
Updates `@types/uuid` from 9.0.5 to 9.0.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid )
Updates `@types/adm-zip` from 0.5.2 to 0.5.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/adm-zip )
Updates `@types/js-yaml` from 4.0.7 to 4.0.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/js-yaml )
Updates `@types/semver` from 7.5.3 to 7.5.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver )
Updates `@typescript-eslint/eslint-plugin` from 6.8.0 to 6.9.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.9.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.8.0 to 6.9.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.9.0/packages/parser )
Updates `eslint` from 8.51.0 to 8.52.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.51.0...v8.52.0 )
Updates `eslint-plugin-import` from 2.28.1 to 2.29.0
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.0 )
Updates `nock` from 13.3.4 to 13.3.6
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/compare/v13.3.4...v13.3.6 )
Updates `sinon` from 16.1.0 to 17.0.0
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v16.1.0...v17.0.0 )
---
updated-dependencies:
- dependency-name: "@types/uuid"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/adm-zip"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/js-yaml"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/semver"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: nock
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-23 18:01:32 +00:00
Paolo Tranquilli
54e4af648d
C++: fix autobuild pr-checks to latest codeql-cli version
2023-10-23 17:42:59 +02:00
Paolo Tranquilli
d53a59d051
C++: add deptrace pr-checks
2023-10-23 10:57:55 +02:00
Dave Bartolomeo
a291b7c6a3
Merge pull request #1962 from github/mergeback/v2.22.4-to-main-49abf0ba
...
Mergeback v2.22.4 refs/heads/releases/v2 into main
2023-10-20 12:52:08 -04:00
github-actions[bot]
64f799d15e
Update checked-in dependencies
2023-10-20 16:22:27 +00:00
github-actions[bot]
1e9b364483
Update changelog and version after v2.22.4
2023-10-20 16:21:06 +00:00
Dave Bartolomeo
49abf0ba24
Merge pull request #1961 from github/update-v2.22.4-63470275e
...
Merge main into releases/v2
2023-10-20 12:18:49 -04:00
github-actions[bot]
907abca61b
Update changelog for v2.22.4
2023-10-20 15:24:21 +00:00
Dave Bartolomeo
63470275e7
Merge pull request #1953 from github/update-bundle/codeql-bundle-v2.15.1
...
Update default bundle to 2.15.1
2023-10-19 11:34:45 -04:00
Dave Bartolomeo
b98a636a6b
Merge branch 'main' into update-bundle/codeql-bundle-v2.15.1
2023-10-19 10:38:22 -04:00
Angela P Wen
4a368f64ad
Add announcement on Node 16 deprecation ( #1960 )
2023-10-18 23:00:03 +00:00
dependabot[bot]
77bbb99abd
Bump urllib3 in /python-setup/tests/poetry/python-3.8 ( #1957 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.17 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.17...1.26.18 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 15:34:08 -07:00
dependabot[bot]
a75a0d5716
Bump urllib3 in /python-setup/tests/poetry/requests-3 ( #1956 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.17 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.17...1.26.18 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 15:33:48 -07:00
dependabot[bot]
aa55b87f87
Bump urllib3 in /python-setup/tests/pipenv/requests-3 ( #1955 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.6...2.0.7 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 14:33:37 -07:00
dependabot[bot]
b6b0833c3d
Bump urllib3 in /python-setup/tests/pipenv/python-3.8 ( #1954 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.6...2.0.7 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 14:33:15 -07:00
github-actions[bot]
0132448784
Add changelog note
2023-10-17 20:52:46 +00:00
github-actions[bot]
070e92e8fd
Update default bundle to codeql-bundle-v2.15.1
2023-10-17 20:52:41 +00:00
Angela P Wen
bad341350a
Add workflow_dispatch manual trigger ( #1952 )
2023-10-17 19:56:42 +00:00
dependabot[bot]
1d83e52e9a
Bump the npm group with 5 updates ( #1951 )
...
* Bump the npm group with 5 updates
Bumps the npm group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [@types/js-yaml](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/js-yaml ) | `4.0.6` | `4.0.7` |
| [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon ) | `10.0.17` | `10.0.19` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `6.7.5` | `6.8.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `6.7.5` | `6.8.0` |
| [nock](https://github.com/nock/nock ) | `13.3.3` | `13.3.4` |
Updates `@types/js-yaml` from 4.0.6 to 4.0.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/js-yaml )
Updates `@types/sinon` from 10.0.17 to 10.0.19
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon )
Updates `@typescript-eslint/eslint-plugin` from 6.7.5 to 6.8.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.8.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.7.5 to 6.8.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.8.0/packages/parser )
Updates `nock` from 13.3.3 to 13.3.4
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/compare/v13.3.3...v13.3.4 )
---
updated-dependencies:
- dependency-name: "@types/js-yaml"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/sinon"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: nock
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-17 19:41:41 +00:00
Michael B. Gale
d859d17bdb
Merge pull request #1946 from github/mbg/unconditioal-go-warning
...
Make Go path warning unconditional
2023-10-13 16:37:25 +01:00
Henry Mercer
7e7f0cc085
Merge pull request #1948 from github/mergeback/v2.22.3-to-main-0116bc2d
...
Mergeback v2.22.3 refs/heads/releases/v2 into main
2023-10-13 15:22:36 +01:00
github-actions[bot]
1d83a6387b
Update checked-in dependencies
2023-10-13 13:39:33 +00:00
github-actions[bot]
8e460e9e00
Update changelog and version after v2.22.3
2023-10-13 13:02:57 +00:00
Henry Mercer
0116bc2df5
Merge pull request #1947 from github/update-v2.22.3-82ba90b1d
...
Merge main into releases/v2
2023-10-13 14:01:05 +01:00
github-actions[bot]
f5a984b113
Update changelog for v2.22.3
2023-10-13 12:31:28 +00:00
Michael B. Gale
325a0b06e9
Make Go binary path check unconditional
2023-10-13 10:26:39 +01:00
Michael B. Gale
632d58cb60
Update Go path documentation in analyze Action
2023-10-13 10:14:22 +01:00
Henry Mercer
82ba90b1d9
Merge pull request #1945 from github/henrymercer/authenticate-api-url
...
Authenticate when downloading CodeQL Bundle from GHES API
2023-10-12 19:02:05 +01:00
Henry Mercer
34f97d7a16
Merge pull request #1944 from github/henrymercer/sublanguage-file-coverage-fixes
...
Enable sub-language file coverage during interpretation and update PR check
2023-10-12 19:01:47 +01:00
Henry Mercer
74442e0a95
Add changelog note
2023-10-12 17:26:51 +01:00
Henry Mercer
bd32fab74f
Provide token when downloading from GHES API
2023-10-12 17:26:42 +01:00
Nora
b584cf8321
Merge pull request #1922 from github/nora/add-commit-sha-to-database-upload
...
Add commit sha to database upload
2023-10-12 17:50:48 +02:00
Henry Mercer
761255a4a3
Merge pull request #1943 from github/mergeback/v2.22.2-to-main-d90b8d79
...
Mergeback v2.22.2 refs/heads/releases/v2 into main
2023-10-12 12:12:03 +01:00
Henry Mercer
346d5c4b07
Test sub-language file coverage in file baseline information check
...
We can do this now that the nightly has a version number starting with
2.15.0.
2023-10-12 11:58:09 +01:00
Henry Mercer
5950d13564
Enable sub-language file coverage in interpret-results too
2023-10-12 11:57:23 +01:00
github-actions[bot]
c1a0ad9a04
Update checked-in dependencies
2023-10-12 10:44:16 +00:00
github-actions[bot]
76a9f5c431
Update changelog and version after v2.22.2
2023-10-12 10:38:34 +00:00
Henry Mercer
d90b8d79de
Merge pull request #1942 from github/update-v2.22.2-8a2cbabd4
...
Merge main into releases/v2
2023-10-12 11:36:04 +01:00
github-actions[bot]
175f696a4d
Update changelog for v2.22.2
2023-10-12 10:09:51 +00:00
Henry Mercer
8a2cbabd43
Merge pull request #1938 from github/update-bundle/codeql-bundle-v2.15.0
...
Update default bundle to 2.15.0
2023-10-11 13:14:25 +01:00
Henry Mercer
a5cf70c3f1
Merge branch 'main' into update-bundle/codeql-bundle-v2.15.0
2023-10-11 12:23:42 +01:00
Henry Mercer
a67b110795
Merge pull request #1937 from github/henrymercer/new-analysis-summary-bump
...
Bump CLI version for new analysis summaries to v2.15.0
2023-10-10 18:32:33 +01:00
Henry Mercer
0eb279015c
Merge branch 'main' into update-bundle/codeql-bundle-v2.15.0
2023-10-10 17:20:48 +01:00
github-actions[bot]
275f994944
Add changelog note
2023-10-10 16:18:35 +00:00
github-actions[bot]
d5d445b7af
Update default bundle to codeql-bundle-v2.15.0
2023-10-10 16:18:31 +00:00
Henry Mercer
2a7218bdef
Bump CLI version for new analysis summaries to v2.15.0
...
Earlier versions support new analysis summaries, but v2.15.0 improves
the quality of the summary messages.
2023-10-10 16:42:34 +01:00
Henry Mercer
78bfd29301
Merge pull request #1935 from github/henrymercer/ref-sha-input-reduce-ci-load
...
Remove 42 CI jobs by only running `ref` and `sha` input checks against a single CLI version
2023-10-10 16:32:56 +01:00
Henry Mercer
dfb913f660
Merge pull request #1936 from github/dependabot/npm_and_yarn/npm-07540147dc
...
Bump the npm group with 5 updates
2023-10-10 14:42:19 +01:00
Nora
e62d946796
Add new param to test
2023-10-10 08:48:53 +00:00
github-actions[bot]
026e833827
Update checked-in dependencies
2023-10-09 17:38:29 +00:00
dependabot[bot]
5d6442e87d
Bump the npm group with 5 updates
...
Bumps the npm group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid ) | `9.0.4` | `9.0.5` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `6.7.3` | `6.7.5` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `6.7.3` | `6.7.5` |
| [eslint](https://github.com/eslint/eslint ) | `8.50.0` | `8.51.0` |
| [sinon](https://github.com/sinonjs/sinon ) | `16.0.0` | `16.1.0` |
Updates `@types/uuid` from 9.0.4 to 9.0.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid )
Updates `@typescript-eslint/eslint-plugin` from 6.7.3 to 6.7.5
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.5/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.7.3 to 6.7.5
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.5/packages/parser )
Updates `eslint` from 8.50.0 to 8.51.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.50.0...v8.51.0 )
Updates `sinon` from 16.0.0 to 16.1.0
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v16.0.0...v16.1.0 )
---
updated-dependencies:
- dependency-name: "@types/uuid"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-09 17:35:49 +00:00
Henry Mercer
4ab92370dd
Merge pull request #1927 from github/henrymercer/reduce-log-duplication
...
Reduce duplication in the logs when errors occur in CLI commands
2023-10-09 13:30:24 +01:00
Henry Mercer
83d1db3366
Merge branch 'main' into henrymercer/reduce-log-duplication
2023-10-09 12:53:58 +01:00
Henry Mercer
2125352e3e
Merge pull request #1934 from github/mergeback/v2.22.1-to-main-fdcae64e
...
Mergeback v2.22.1 refs/heads/releases/v2 into main
2023-10-09 12:37:17 +01:00
Henry Mercer
d52a751f8f
Only run ref and sha input checks against a single CLI version
...
These checks aren't affected by the CLI version, so just run them with
the default CLI.
2023-10-09 12:09:21 +01:00
github-actions[bot]
947b43a6b6
Update checked-in dependencies
2023-10-09 11:06:11 +00:00
github-actions[bot]
788783aba5
Update changelog and version after v2.22.1
2023-10-09 11:04:27 +00:00
Henry Mercer
fdcae64e14
Merge pull request #1932 from github/update-v2.22.1-18e6c398c
...
Merge main into releases/v2
2023-10-09 12:02:20 +01:00
github-actions[bot]
8554648f41
Update changelog for v2.22.1
2023-10-09 09:46:39 +00:00
Henry Mercer
18e6c398ce
Merge pull request #1930 from github/aeisenberg-patch-1
...
Update CHANGELOG.md
2023-10-09 10:30:49 +01:00
Henry Mercer
5e34d08d9e
Link PR and fix case of Python
2023-10-09 09:55:04 +01:00
Michael B. Gale
faf91ca6bd
Merge pull request #1926 from github/mbg/suppress-go-workaround-warning
...
Suppress Go workaround warning if autobuilder ran
2023-10-09 09:42:25 +01:00
Nora
8193a92e41
Await commitOid
2023-10-09 07:43:35 +00:00
Michael B. Gale
ffaea6c837
Merge branch 'main' into mbg/suppress-go-workaround-warning
2023-10-08 18:07:40 +01:00
Andrew Eisenberg
0a0988c4b2
Update CHANGELOG.md
...
Add missing work and make it clear that failure only applies when trying to downgrade to 3.11.
2023-10-07 09:30:52 -07:00
Andrew Eisenberg
0d5c2e0228
Merge pull request #1928 from github/aeisenberg/fix-python312
...
Add a fix for python 3.12
2023-10-06 16:42:31 -07:00
Andrew Eisenberg
94b6970619
Update CHANGELOG.md
2023-10-06 14:49:04 -07:00
Andrew Eisenberg
669c61022c
Add a feature flag to turn this off for newer versions of codeql
2023-10-06 14:17:01 -07:00
Andrew Eisenberg
028bacb8e9
Add integration test
...
Also:
- Update changelog
- Fix comments in check_python script
2023-10-06 13:52:34 -07:00
Andrew Eisenberg
d0916526cd
Add a fix for python 3.12
...
The python extractor does not yet support 3.12. Check for this and
instead make sure we run python 3.11. Only need to check on windows
since we are extremely unlikely to be running 3.12 on linux or macos.
2023-10-06 13:05:18 -07:00
Henry Mercer
102a12bba4
Add changelog note
2023-10-06 16:00:36 +01:00
Henry Mercer
8295705640
Reduce duplication in the logs when errors occur in CLI commands
2023-10-06 15:53:22 +01:00
Michael B. Gale
4eccc6dac4
Suppress Go workaround warning if autobuilder ran
2023-10-06 15:11:31 +01:00
Nora
aed2e7f47f
Add commit id to params
2023-10-06 13:16:13 +00:00
Henry Mercer
a2dc5ffaff
Merge pull request #1925 from github/mergeback/v2.22.0-to-main-2cb752a8
...
Mergeback v2.22.0 refs/heads/releases/v2 into main
2023-10-06 12:36:34 +01:00
github-actions[bot]
b6ea09e3e4
Update checked-in dependencies
2023-10-06 11:12:35 +00:00
github-actions[bot]
fd3d78671c
Update changelog and version after v2.22.0
2023-10-06 10:47:42 +00:00
Henry Mercer
2cb752a87e
Merge pull request #1924 from github/update-v2.22.0-3f7850a17
...
Merge main into releases/v2
2023-10-06 11:45:52 +01:00
Henry Mercer
e50f53baa1
Add changelog note for tracing Go 1.21
2023-10-06 11:20:43 +01:00
github-actions[bot]
0a65c007f6
Update changelog for v2.22.0
2023-10-06 09:45:48 +00:00
hoshino tsuyoshi
3f7850a179
Improve downloading log message ( #1920 )
...
Previously, a trailing `.` character was recognized as part of the URL in GitHub Actions log output. We add an additional space before it to distinguish.
2023-10-05 21:21:52 +00:00
Henry Mercer
27235304e0
Merge pull request #1923 from github/henrymercer/fix-resolve-environment-aliases
...
Fix using the `resolve-environment` Action with language aliases
2023-10-05 18:48:18 +01:00
Henry Mercer
8f0e8b0890
Tweak language parsing to improve clarity
2023-10-05 16:26:47 +01:00
Henry Mercer
f243294ab7
Extend PR check to test resolve-environment works with language alias
2023-10-05 15:57:53 +01:00
Nora
075eb6aaea
Use getCommitOid to get the id
2023-10-05 14:47:51 +00:00
Michael B. Gale
1ea6a10947
Merge pull request #1909 from github/mbg/go-1.21-workaround
2023-10-05 15:31:48 +01:00
Henry Mercer
e26ed57a22
Defer language aliasing to CLI when appropriate
2023-10-05 15:27:51 +01:00
Henry Mercer
0ac7669167
Fix using resolve-environment Action with language aliases
...
This impacted default setup configurations that analyzed Go alongside at
least one of the following languages:
- C/C++
- Java/Kotlin
- JavaScript/TypeScript
2023-10-05 14:54:24 +01:00
Michael B. Gale
235bdca565
Use markdownMessage
2023-10-05 14:27:34 +01:00
Michael B. Gale
94f3e9b563
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-10-05 14:27:09 +01:00
Michael B. Gale
3b2fee487e
Include mkdirSync in try/catch
2023-10-05 13:48:56 +01:00
Michael B. Gale
a144bf5d7f
Store diagnostics in language-specific database
2023-10-05 13:39:58 +01:00
Michael B. Gale
4154eb799b
Fix: workflow name and description
2023-10-05 13:29:18 +01:00
Michael B. Gale
7f4a9481a7
Fix: create codeql-action diagnostics directory
2023-10-05 13:20:34 +01:00
Michael B. Gale
faf7528b44
Add integration test for Go workaround diagnostic
2023-10-05 13:11:37 +01:00
Michael B. Gale
2b193c5ab5
Store diagnostics in a codeql-action directory
2023-10-05 13:05:46 +01:00
Michael B. Gale
eb71a60380
Emit diagnostic when Go was changed after init
2023-10-05 12:52:06 +01:00
Michael B. Gale
36777d2236
Add utilities to produce diagnostics
2023-10-05 12:50:19 +01:00
Nora
1727de39fe
Add commit sha to database upload
2023-10-05 09:49:13 +00:00
Michael B. Gale
c8dd2bc90f
Add integration test for workaround
2023-10-05 10:46:10 +01:00
Michael B. Gale
db9f2c5968
Add test for isSupportedToolsFeature
2023-10-05 10:33:33 +01:00
Michael B. Gale
738030674f
Trim file output
2023-10-05 10:25:31 +01:00
Michael B. Gale
68d0b65ee5
Add another level to tempBinPath
2023-10-04 20:03:32 +01:00
Igwe Kalu
517782a2a0
Improve description of codeql-action/init languages input ( #1919 )
2023-10-04 12:01:23 -07:00
Michael B. Gale
bb70bab648
Add comment explaining workaround
2023-10-04 19:57:11 +01:00
Michael B. Gale
41a13ec084
Fix comment in analyse Action
2023-10-04 19:53:23 +01:00
Michael B. Gale
9a5a628613
Improve getFileType
...
- Change parameter name
- Add more documentation
2023-10-04 19:50:02 +01:00
Michael B. Gale
8ac187720c
Allow other patch versions of Go in workflows
2023-10-04 19:46:36 +01:00
Michael B. Gale
f6d9b6bcfa
Improve/add log messages
2023-10-04 19:45:09 +01:00
Michael B. Gale
7b0b42afec
Remove FeaturesInVersionResult
2023-10-04 19:45:08 +01:00
Michael B. Gale
abb71f14cf
Add CLI feature flag to disable Go workaround
2023-10-04 19:45:08 +01:00
Michael B. Gale
604448043e
Add which go output in warning
2023-10-04 19:45:08 +01:00
Michael B. Gale
4cee553ea6
Output stdout upon error in getFileType
2023-10-04 19:45:08 +01:00
Michael B. Gale
df098abd11
Set DID_AUTOBUILD_GOLANG in runAutobuild
2023-10-04 19:45:08 +01:00
Michael B. Gale
4611ff9b23
Cross-check Go binary in analyze Action
2023-10-04 19:45:04 +01:00
Michael B. Gale
2bd75f528c
Install Go wrapper script if necessary
2023-10-04 17:23:52 +01:00
Michael B. Gale
3c15d2383b
Add utility function to run file command
2023-10-04 17:23:52 +01:00
Michael B. Gale
c08086a26a
Add new environment variable for Go binary path
2023-10-04 17:23:52 +01:00
Michael B. Gale
d718153f0a
Use Go 1.21 for Go tracing checks
2023-10-04 17:23:51 +01:00
Michael B. Gale
3fb6719bea
Merge pull request #1918 from github/mbg/support-version-features
...
Support `features` key in `version` JSON output
2023-10-04 17:23:13 +01:00
Michael B. Gale
bcbb900532
Rename VersionOutput to VersionInfo
2023-10-04 15:54:34 +01:00
Michael B. Gale
49b94f1a2d
Remove unused properties from VersionOutput
2023-10-04 15:51:26 +01:00
Michael B. Gale
bb67eddd77
Wrap JSON parsing in try/catch
2023-10-04 15:49:25 +01:00
Michael B. Gale
e827ad5b71
Move makeVersionOutput to testing-utils.js
2023-10-04 15:49:04 +01:00
Michael B. Gale
a402be8739
Fix linter error
2023-10-04 11:43:14 +01:00
Michael B. Gale
74b46628c3
Support features key in version JSON output
2023-10-04 11:28:28 +01:00
dependabot[bot]
3dd4ad872b
Bump the actions-setup-swift group ( #1912 )
...
Bumps the actions-setup-swift group in /.github/actions/setup-swift with 1 update: [swift-actions/setup-swift](https://github.com/swift-actions/setup-swift ).
- [Release notes](https://github.com/swift-actions/setup-swift/releases )
- [Commits](cdcbe8e35d...f51889efb5 )
---
updated-dependencies:
- dependency-name: swift-actions/setup-swift
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: actions-setup-swift
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Angela P Wen <angelapwen@github.com >
2023-10-03 15:21:00 -07:00
dependabot[bot]
b686e07c2b
Bump urllib3 in /python-setup/tests/pipenv/python-3.8 ( #1917 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.4...2.0.6 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 17:49:02 +00:00
dependabot[bot]
7de46310d9
Bump urllib3 in /python-setup/tests/poetry/python-3.8 ( #1916 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.7 to 1.26.17.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.7...1.26.17 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 10:25:36 -07:00
dependabot[bot]
896a68d162
Bump urllib3 in /python-setup/tests/poetry/requests-3 ( #1915 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.7 to 1.26.17.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.7...1.26.17 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 10:25:17 -07:00
dependabot[bot]
5f88bb1ffa
Bump urllib3 in /python-setup/tests/pipenv/requests-3 ( #1914 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.4...2.0.6 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 10:24:54 -07:00
dependabot[bot]
90f8ed12cc
Bump the npm group with 3 updates ( #1911 )
...
* Bump the npm group with 3 updates
Bumps the npm group with 3 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) and [eslint-plugin-github](https://github.com/github/eslint-plugin-github ).
Updates `@typescript-eslint/eslint-plugin` from 6.7.2 to 6.7.3
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.3/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.7.2 to 6.7.3
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.3/packages/parser )
Updates `eslint-plugin-github` from 4.10.0 to 4.10.1
- [Release notes](https://github.com/github/eslint-plugin-github/releases )
- [Commits](https://github.com/github/eslint-plugin-github/compare/v4.10.0...v4.10.1 )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: eslint-plugin-github
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Angela P Wen <angelapwen@github.com >
2023-10-02 16:31:08 -07:00
Aditya Sharad
ed2a90b161
Merge pull request #1910 from github/henrymercer/remove-ml-powered-queries
...
Remove ML-powered queries
2023-10-02 14:40:55 -07:00
Henry Mercer
7b16c0dad0
Improve method name for addQueriesFromWorkflow.
2023-10-02 17:35:03 +01:00
Henry Mercer
37a2d1fe3c
Remove ML-powered queries PR checks
2023-10-02 17:29:54 +01:00
Henry Mercer
5dac60ecef
Add changelog note
2023-10-02 17:20:58 +01:00
Henry Mercer
ebbadee09e
Remove ML-powered queries
2023-10-02 17:20:50 +01:00
Aditya Sharad
a370ce344f
Merge pull request #1898 from Panquesito7/checkout_v4
...
Use `actions/checkout@v4` in test helper
2023-09-28 15:59:34 -07:00
David Leal
66572c69b0
Merge branch 'main' into checkout_v4
2023-09-28 14:31:04 -06:00
David Leal
e0103eab17
Use actions/checkout@v4
2023-09-28 20:30:31 +00:00
Henry Mercer
e7a6fa9589
Merge pull request #1907 from github/henrymercer/deprecate-codeql-2.9
...
Bump minimum CodeQL version to 2.10.5
2023-09-27 21:36:22 +01:00
Henry Mercer
f59bf3c458
Fix expected artifact directory name for semver versions
2023-09-27 19:44:41 +01:00
Henry Mercer
6e3f5b0184
Prompt maintainers to start process when GHES version deprecated
2023-09-27 19:40:26 +01:00
Henry Mercer
1d70a98580
Document CodeQL deprecation process
2023-09-27 19:10:31 +01:00
Henry Mercer
e4ef094279
Merge branch 'main' into henrymercer/deprecate-codeql-2.9
2023-09-27 17:18:42 +01:00
Henry Mercer
2cc1651ead
Merge pull request #1906 from github/mergeback/v2.21.9-to-main-ddccb873
...
Mergeback v2.21.9 refs/heads/releases/v2 into main
2023-09-27 17:14:03 +01:00
Henry Mercer
a6484fa0f6
Merge pull request #1896 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions
2023-09-27 16:44:20 +01:00
Henry Mercer
9ef3267030
Merge pull request #1904 from github/henrymercer/tweak-cgroup-ram-logging
...
Don't log invalid cgroup memory limits
2023-09-27 16:43:26 +01:00
Henry Mercer
219066c343
Fix error in generated workflow
2023-09-27 16:41:29 +01:00
Henry Mercer
a9a0f3b4c0
Add changelog note
2023-09-27 16:23:10 +01:00
Henry Mercer
467bfa1cff
Update CodeQL versions tested in PR checks
2023-09-27 16:21:16 +01:00
Henry Mercer
1d5eed8d40
Remove deprecated functionality
2023-09-27 16:16:13 +01:00
Henry Mercer
96fa24c6ba
Bump minimum CodeQL version to 2.10.5
2023-09-27 16:08:27 +01:00
Henry Mercer
f1752b0b55
Bump minor version
2023-09-27 16:07:45 +01:00
github-actions[bot]
7efe1c9625
Update checked-in dependencies
2023-09-27 15:01:27 +00:00
github-actions[bot]
0dd2eafff0
Update changelog and version after v2.21.9
2023-09-27 14:58:13 +00:00
Alexander Eyers-Taylor
ddccb87388
Merge pull request #1905 from github/update-v2.21.9-27cb1e1de
...
Merge main into releases/v2
2023-09-27 15:56:30 +01:00
github-actions[bot]
d8cb5a2a0f
Update changelog for v2.21.9
2023-09-27 14:21:29 +00:00
Henry Mercer
378bbcd274
Don't log invalid cgroup memory limits
2023-09-27 13:56:20 +01:00
dependabot[bot]
27cb1e1de5
Bump the npm group with 6 updates ( #1902 )
...
* Bump the npm group with 6 updates
Bumps the npm group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [@octokit/types](https://github.com/octokit/types.ts ) | `11.1.0` | `12.0.0` |
| [@types/adm-zip](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/adm-zip ) | `0.5.1` | `0.5.2` |
| [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver ) | `7.5.2` | `7.5.3` |
| [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon ) | `10.0.16` | `10.0.17` |
| [eslint](https://github.com/eslint/eslint ) | `8.49.0` | `8.50.0` |
| [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript ) | `3.6.0` | `3.6.1` |
Updates `@octokit/types` from 11.1.0 to 12.0.0
- [Release notes](https://github.com/octokit/types.ts/releases )
- [Commits](https://github.com/octokit/types.ts/compare/v11.1.0...v12.0.0 )
Updates `@types/adm-zip` from 0.5.1 to 0.5.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/adm-zip )
Updates `@types/semver` from 7.5.2 to 7.5.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver )
Updates `@types/sinon` from 10.0.16 to 10.0.17
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon )
Updates `eslint` from 8.49.0 to 8.50.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.49.0...v8.50.0 )
Updates `eslint-import-resolver-typescript` from 3.6.0 to 3.6.1
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases )
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.6.0...v3.6.1 )
---
updated-dependencies:
- dependency-name: "@octokit/types"
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: npm
- dependency-name: "@types/adm-zip"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/semver"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/sinon"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint-import-resolver-typescript
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-26 10:34:03 -07:00
Henry Mercer
4818fdd8ec
Merge pull request #1903 from github/henrymercer/sublanguage-file-coverage
...
Enable sub-language file coverage behind a feature flag
2023-09-26 17:30:08 +01:00
Alexander Eyers-Taylor
e548601be3
Merge pull request #1897 from github/update-bundle/codeql-bundle-v2.14.6
...
Update default bundle to 2.14.6
2023-09-26 14:03:58 +01:00
Alexander Eyers-Taylor
cc6542087a
Merge branch 'main' into update-bundle/codeql-bundle-v2.14.6
2023-09-26 13:37:33 +01:00
Henry Mercer
c95737bb43
Add changelog note
2023-09-26 11:38:39 +01:00
Henry Mercer
41d2ffad87
Enable sub-language file coverage behind a ff
2023-09-26 11:38:39 +01:00
Henry Mercer
650a85ef6d
Merge pull request #1901 from github/henrymercer/check-for-duplicated-languages
...
Warn when workflow analyzes the same language twice
2023-09-25 14:25:34 +01:00
Henry Mercer
0de36d4594
Merge branch 'main' into henrymercer/check-for-duplicated-languages
2023-09-22 19:14:37 +01:00
Henry Mercer
0dfaf4ef65
Add a changelog note
2023-09-22 19:13:56 +01:00
Henry Mercer
d1a917f445
Test that workflow with two different languages doesn't produce an error
2023-09-22 19:08:38 +01:00
Henry Mercer
431174f620
Factor out groupLanguagesByExtractor
2023-09-22 18:55:52 +01:00
Nick Rolfe
3078f51bf0
Merge pull request #1900 from github/nickrolfe/fine-grained-version
...
Bump min. version for evaluator parallelism feature flag
2023-09-22 17:44:44 +01:00
Henry Mercer
d0c18ba23e
Warn when workflow analyzes the same language twice
2023-09-22 14:54:03 +01:00
Nick Rolfe
724d64319a
Bump min. version for evaluator parallelism feature flag
...
Since we suspect fine-grained parallelism may make the OOM issues worse,
we don't want to enable it on 2.14.0-2.14.5, even though they support
it.
2023-09-22 14:43:03 +01:00
Paolo Tranquilli
49aaa9a420
Merge pull request #1889 from github/redsun82/cpp-autoinstall-dependencies
...
C++: introduce automatic installation of dependencies in the autobuilder
2023-09-21 16:49:24 +02:00
Paolo Tranquilli
c21e1dd0da
Lint and build
2023-09-21 16:23:27 +02:00
Paolo Tranquilli
53bed11e0b
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-09-21 16:11:21 +02:00
Paolo Tranquilli
ab8159054c
Add changelog entry
2023-09-20 16:33:46 +02:00
Paolo Tranquilli
765807bee7
Add RUNNER_ENVIRONMENT to the list of known default setup variables
2023-09-20 14:08:00 +02:00
Paolo Tranquilli
bf2187592f
C++: simplify CppDependencyInstallation interface
2023-09-20 14:05:12 +02:00
Paolo Tranquilli
c4c06786f2
C++: introduce automatic installation of dependencies in the autobuilder
...
This introduces the possibility to automatically install dependencies
when running the C++ autobuilder on an Ubuntu runner, that will be
available with upcoming version 2.15.0.
An experimental `cpp-autoinstall-dependencies` input is added to the
`autobuild` action. When not set, the default is driven by a feature
flag.
2023-09-20 14:05:12 +02:00
github-actions[bot]
59aaff8718
Add changelog note
2023-09-20 10:53:17 +00:00
github-actions[bot]
5897cf73c4
Update default bundle to codeql-bundle-v2.14.6
2023-09-20 10:53:12 +00:00
github-actions[bot]
d467036438
Update supported GitHub Enterprise Server versions
2023-09-20 00:10:40 +00:00
Angela P Wen
8e0b1c74b1
Add continueOnError: true for debug artifact upload ( #1895 )
2023-09-19 15:10:13 -07:00
Henry Mercer
01b8760f90
Merge pull request #1894 from github/mergeback/v2.21.8-to-main-6a28655e
...
Mergeback v2.21.8 refs/heads/releases/v2 into main
2023-09-19 12:07:52 +01:00
github-actions[bot]
74e25cdac8
Update checked-in dependencies
2023-09-19 10:40:42 +00:00
github-actions[bot]
eac8f8cd93
Update changelog and version after v2.21.8
2023-09-19 10:19:21 +00:00
Henry Mercer
6a28655e3d
Merge pull request #1893 from github/update-v2.21.8-dd1128f4f
...
Merge main into releases/v2
2023-09-19 11:17:36 +01:00
github-actions[bot]
2ca983a793
Update changelog for v2.21.8
2023-09-19 09:31:44 +00:00
dependabot[bot]
dd1128f4f1
Bump the npm group with 11 updates ( #1892 )
...
* Bump the npm group with 11 updates
Bumps the npm group with 11 updates:
| Package | From | To |
| --- | --- | --- |
| [@actions/artifact](https://github.com/actions/toolkit/tree/HEAD/packages/artifact ) | `1.1.1` | `1.1.2` |
| [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) | `1.10.0` | `1.10.1` |
| [uuid](https://github.com/uuidjs/uuid ) | `9.0.0` | `9.0.1` |
| [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid ) | `9.0.3` | `9.0.4` |
| [@types/adm-zip](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/adm-zip ) | `0.5.0` | `0.5.1` |
| [@types/js-yaml](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/js-yaml ) | `4.0.5` | `4.0.6` |
| [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver ) | `7.5.1` | `7.5.2` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `6.5.0` | `6.7.2` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `6.6.0` | `6.7.2` |
| [eslint](https://github.com/eslint/eslint ) | `8.48.0` | `8.49.0` |
| [sinon](https://github.com/sinonjs/sinon ) | `15.2.0` | `16.0.0` |
Updates `@actions/artifact` from 1.1.1 to 1.1.2
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/artifact/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/artifact )
Updates `@actions/core` from 1.10.0 to 1.10.1
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
Updates `uuid` from 9.0.0 to 9.0.1
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.0...v9.0.1 )
Updates `@types/uuid` from 9.0.3 to 9.0.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid )
Updates `@types/adm-zip` from 0.5.0 to 0.5.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/adm-zip )
Updates `@types/js-yaml` from 4.0.5 to 4.0.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/js-yaml )
Updates `@types/semver` from 7.5.1 to 7.5.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver )
Updates `@typescript-eslint/eslint-plugin` from 6.5.0 to 6.7.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.2/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.6.0 to 6.7.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.2/packages/parser )
Updates `eslint` from 8.48.0 to 8.49.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.48.0...v8.49.0 )
Updates `sinon` from 15.2.0 to 16.0.0
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v15.2.0...v16.0.0 )
---
updated-dependencies:
- dependency-name: "@actions/artifact"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@actions/core"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/uuid"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/adm-zip"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/js-yaml"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/semver"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-18 20:01:16 +00:00
Henry Mercer
f3a128e0fe
Merge pull request #1891 from github/henrymercer/fix-cgroup-limits
...
Fix reading `cgroup` limits on `ubuntu-20.04`
2023-09-18 17:25:00 +01:00
Henry Mercer
6846be007d
Address review comments
2023-09-18 16:00:59 +01:00
Henry Mercer
0e74cd1660
Handle cgroup file containing MAX_INT on ubuntu-20.04
2023-09-18 13:44:02 +01:00
Henry Mercer
379f89dc53
Log cgroup RAM limits
2023-09-18 13:05:29 +01:00
Henry Mercer
253d9cf358
Matrix CodeQL CI job over all runner images
2023-09-18 12:56:35 +01:00
Henry Mercer
4254f3a4c1
Merge pull request #1888 from github/henrymercer/constrained-ram
...
Respect RAM constraints imposed by Linux cgroups
2023-09-18 10:40:41 +01:00
Henry Mercer
9bfb9ba527
Handle files that exist but whose contents are not integers
2023-09-15 18:23:25 +01:00
Henry Mercer
d4c26876d3
Improve docs
2023-09-15 18:17:13 +01:00
Henry Mercer
d6f9faae0d
Respect RAM constraints imposed by Linux cgroups
2023-09-15 18:09:37 +01:00
Henry Mercer
c459726691
Merge pull request #1884 from github/henrymercer/deprecation-warning-for-codeql-2.10.x
...
Add a deprecation warning for CodeQL 2.10.*
2023-09-15 17:47:36 +01:00
Henry Mercer
a087b01cdd
Merge branch 'main' into henrymercer/deprecation-warning-for-codeql-2.10.x
2023-09-15 12:04:01 +01:00
Henry Mercer
f3051ed54e
Merge pull request #1883 from github/henrymercer/language-aliasing
...
Add support for aliasing languages like C/C++, Java/Kotlin, and JS/TS
2023-09-15 12:00:12 +01:00
Henry Mercer
860e98cc4a
Update changelog note
2023-09-15 11:16:37 +01:00
Henry Mercer
3ffd6c071a
Update PR check description
2023-09-15 11:12:41 +01:00
Henry Mercer
2d646a3990
Merge pull request #1887 from github/henrymercer/add-token-to-update-dependencies
...
Add GitHub token to update dependencies workflow
2023-09-15 10:23:49 +01:00
Henry Mercer
a9313c9016
Merge pull request #1881 from github/henrymercer/fix-update-ghes-versions
...
Update ignored version number in GHES versions automation
2023-09-15 10:21:57 +01:00
Chuan-kai Lin
5f18c9ab80
Merge pull request #1886 from github/mergeback/v2.21.7-to-main-04daf014
...
Mergeback v2.21.7 refs/heads/releases/v2 into main
2023-09-14 10:37:27 -07:00
Henry Mercer
2c22b37a68
Add GitHub token to update dependencies workflow
2023-09-14 18:14:24 +01:00
github-actions[bot]
c07fd68e12
Update checked-in dependencies
2023-09-14 17:03:42 +00:00
github-actions[bot]
c33f0b4fc7
Update changelog and version after v2.21.7
2023-09-14 16:58:59 +00:00
Chuan-kai Lin
04daf014b5
Merge pull request #1885 from github/update-v2.21.7-e982de4fb
...
Merge main into releases/v2
2023-09-14 09:56:54 -07:00
github-actions[bot]
bb3bc25861
Update changelog for v2.21.7
2023-09-14 16:10:20 +00:00
Henry Mercer
ac4145f467
Add a deprecation warning for CodeQL 2.10.*
2023-09-14 16:34:07 +01:00
Henry Mercer
87a64c9c4c
Add changelog note
2023-09-14 16:11:20 +01:00
Henry Mercer
897ddf2662
Add PR check
2023-09-14 16:11:20 +01:00
Henry Mercer
74714a34ca
Implement support for language aliasing
2023-09-14 16:11:20 +01:00
Chuan-kai Lin
e982de4fb4
Merge pull request #1882 from github/update-bundle/codeql-bundle-v2.14.5
...
Update default bundle to 2.14.5
2023-09-14 08:04:05 -07:00
github-actions[bot]
19c02a4d16
Add changelog note
2023-09-14 14:29:33 +00:00
github-actions[bot]
71c7e82837
Update default bundle to codeql-bundle-v2.14.5
2023-09-14 14:29:25 +00:00
Henry Mercer
8b733e71a6
Update ignored version number in GHES versions automation
2023-09-14 12:27:25 +01:00
Chuan-kai Lin
c6c77c8c2d
Merge pull request #1877 from cklin/update-dependencies
...
Remove --pr in update-dependencies.yml
2023-09-13 11:46:02 -07:00
Chuan-kai Lin
8efd40b126
Merge pull request #1876 from github/mergeback/v2.21.6-to-main-701f152f
...
Mergeback v2.21.6 refs/heads/releases/v2 into main
2023-09-13 10:20:39 -07:00
Chuan-kai Lin
77a54b68d4
Remove --pr in update-dependencies.yml
2023-09-13 09:49:02 -07:00
github-actions[bot]
f664957aa4
Update checked-in dependencies
2023-09-13 16:41:51 +00:00
github-actions[bot]
70c4c0fc21
Update changelog and version after v2.21.6
2023-09-13 16:39:21 +00:00
Chuan-kai Lin
701f152f28
Merge pull request #1875 from github/update-v2.21.6-6a6a82470
...
Merge main into releases/v2
2023-09-13 09:36:35 -07:00
Chuan-kai Lin
1b6299040a
Fix misplaced changelog entry
2023-09-13 08:43:19 -07:00
github-actions[bot]
5462f69153
Update changelog for v2.21.6
2023-09-13 14:39:25 +00:00
Chuan-kai Lin
6a6a824702
Merge pull request #1873 from github/update-bundle/codeql-bundle-v2.14.4
...
Update default bundle to 2.14.4
2023-09-12 07:18:14 -07:00
github-actions[bot]
88c7a5c4cc
Add changelog note
2023-09-08 22:29:07 +00:00
github-actions[bot]
da65035498
Update default bundle to codeql-bundle-v2.14.4
2023-09-08 22:29:04 +00:00
Henry Mercer
43750fe4fc
Merge pull request #1872 from github/henrymercer/user-errors-for-upload-sarif
...
Mark invalid SARIF errors as user errors in the `upload-sarif` Action
2023-09-07 22:46:29 +01:00
Henry Mercer
a7c12a5225
Address PR comments
2023-09-07 20:44:15 +01:00
Henry Mercer
7218de5369
Merge branch 'main' into henrymercer/user-errors-for-upload-sarif
2023-09-07 19:40:15 +01:00
Henry Mercer
4764dce02f
Merge pull request #1866 from github/henrymercer/enable-scaling-reserved-ram-ghes
...
Enable scaling reserved RAM on GHES
2023-09-07 19:38:36 +01:00
Henry Mercer
077672fa88
Merge branch 'main' into henrymercer/enable-scaling-reserved-ram-ghes
2023-09-06 18:16:42 +01:00
Henry Mercer
583a1019cc
Mark invalid SARIF errors as user errors in the upload-sarif Action
2023-09-06 18:14:30 +01:00
Henry Mercer
45d66afb31
Merge pull request #1870 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions
2023-09-06 17:57:07 +01:00
github-actions[bot]
f4683e88f3
Update supported GitHub Enterprise Server versions
2023-09-06 00:10:35 +00:00
Henry Mercer
798e74c57d
Merge pull request #1867 from github/henrymercer/remove-language-baseline-ff
...
Enable language-specific baseline configuration on GHES
2023-09-05 18:25:33 +01:00
Henry Mercer
37d8d03606
Merge pull request #1868 from github/henrymercer/improve-dependency-update
...
Improve usability of update dependencies workflow
2023-09-05 16:38:52 +01:00
Tom Bolton
7bffcb42ec
Merge pull request #1864 from github/dependabot/npm_and_yarn/npm-18a1c3fa4c
...
Bump the npm group with 3 updates
2023-09-05 16:22:51 +01:00
Tom Bolton
94293438d4
Merge pull request #1865 from github/dependabot/github_actions/actions-8a9da2b879
...
Bump the actions group with 1 update
2023-09-05 16:04:22 +01:00
Henry Mercer
e6cb4feff9
Improve usability of update dependencies workflow
2023-09-05 16:36:41 +02:00
tombolton
85cd5ad8b4
update checkout version in pr-checks/checks
2023-09-05 15:16:58 +01:00
tombolton
d5d81f40c6
bump checkout to v4 in sync.py
2023-09-05 13:54:16 +01:00
Henry Mercer
bec071acb9
Add changelog note
2023-09-05 14:48:21 +02:00
Henry Mercer
5150b5c6ab
Add changelog note
2023-09-05 14:45:00 +02:00
Henry Mercer
270788d6fd
Remove language-specific baseline configuration flag
2023-09-05 14:36:51 +02:00
Henry Mercer
10389f671b
Remove scaling reserved RAM feature flag
2023-09-05 14:30:56 +02:00
Henry Mercer
574dbbc517
Allow customizing the scaling threshold with an environment variable
2023-09-05 13:14:55 +02:00
Henry Mercer
466ed42568
Enable scaling reserved RAM on GHES
2023-09-05 12:50:34 +02:00
dependabot[bot]
321d3e057d
Bump the actions group with 1 update
...
Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout ).
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 18:00:31 +00:00
github-actions[bot]
3115e0f9c4
Update checked-in dependencies
2023-09-04 17:19:10 +00:00
dependabot[bot]
7aafc67ccf
Bump the npm group with 3 updates
...
Bumps the npm group with 3 updates: [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid ), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) and [eslint-plugin-github](https://github.com/github/eslint-plugin-github ).
Updates `@types/uuid` from 9.0.2 to 9.0.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid )
Updates `@typescript-eslint/parser` from 6.5.0 to 6.6.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.6.0/packages/parser )
Updates `eslint-plugin-github` from 4.9.2 to 4.10.0
- [Release notes](https://github.com/github/eslint-plugin-github/releases )
- [Commits](https://github.com/github/eslint-plugin-github/compare/v4.9.2...v4.10.0 )
---
updated-dependencies:
- dependency-name: "@types/uuid"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint-plugin-github
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 17:15:55 +00:00
Angela P Wen
07d42ec34e
Improve logging for Go autobuild when invoked in analyze step ( #1862 )
2023-08-31 11:39:07 +00:00
Andrew Eisenberg
c5acfe3b0d
Merge pull request #1860 from github/aeisenberg/better-error-messages
...
Add better error messages when determining merge-base
2023-08-29 13:51:10 -07:00
Andrew Eisenberg
469786860d
Address more comments from PR
2023-08-29 13:20:55 -07:00
Andrew Eisenberg
e603106d1a
Add change note
2023-08-29 13:11:48 -07:00
Andrew Eisenberg
09940b4bb9
Address comments from PR
2023-08-29 12:11:32 -07:00
dependabot[bot]
8ecc33d259
Bump the npm group with 5 updates ( #1856 )
...
* Bump the npm group with 5 updates
Bumps the npm group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver ) | `7.5.0` | `7.5.1` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `6.4.1` | `6.5.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `6.4.1` | `6.5.0` |
| [eslint](https://github.com/eslint/eslint ) | `8.47.0` | `8.48.0` |
| [typescript](https://github.com/Microsoft/TypeScript ) | `5.1.6` | `5.2.2` |
Updates `@types/semver` from 7.5.0 to 7.5.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver )
Updates `@typescript-eslint/eslint-plugin` from 6.4.1 to 6.5.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.5.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.4.1 to 6.5.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.5.0/packages/parser )
Updates `eslint` from 8.47.0 to 8.48.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.47.0...v8.48.0 )
Updates `typescript` from 5.1.6 to 5.2.2
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2 )
---
updated-dependencies:
- dependency-name: "@types/semver"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-29 04:47:41 -07:00
Andrew Eisenberg
d721f69753
Add better error messages when determining merge-base
...
Avoid printing scary error messages to console when the current
directory is not a git repo. Instead provide a better reason for the git
failure and continue on.
2023-08-28 15:50:30 -07:00
Dave Bartolomeo
b88b5503aa
Merge pull request #1859 from github/mergeback/v2.21.5-to-main-00e563ea
...
Mergeback v2.21.5 refs/heads/releases/v2 into main
2023-08-28 15:18:47 -04:00
github-actions[bot]
f644ffe4b2
Update checked-in dependencies
2023-08-28 18:54:38 +00:00
github-actions[bot]
7cd044345e
Update changelog and version after v2.21.5
2023-08-28 18:37:27 +00:00
Dave Bartolomeo
00e563ead9
Merge pull request #1858 from github/update-v2.21.5-100912429
...
Merge main into releases/v2
2023-08-28 14:35:05 -04:00
github-actions[bot]
7323c2ac6b
Update changelog for v2.21.5
2023-08-28 17:51:24 +00:00
Dave Bartolomeo
100912429f
Merge pull request #1845 from github/update-bundle/codeql-bundle-v2.14.3
...
Update default bundle to 2.14.3
2023-08-25 11:40:49 -04:00
Dave Bartolomeo
a2d14d32b8
Merge branch 'main' into update-bundle/codeql-bundle-v2.14.3
2023-08-25 10:54:01 -04:00
Ian Lynagh
ff9cb435df
Merge pull request #1853 from github/igfoo/kot1.9.10
...
Kotlin: CodeQL >= 2.13.4 supports 1.9.10.
2023-08-24 19:10:19 +01:00
Ian Lynagh
2f913c1249
npm run build
2023-08-24 17:57:40 +01:00
Ian Lynagh
7dab60079b
Put upper limit on the CodeQL versions for which we override the Kotlin limit
...
Otherwise it'll be lower than the default at some point in the future.
2023-08-24 17:56:31 +01:00
Ian Lynagh
862b2cf102
Add a changelog entry for the Kotlin 1.9.10 support
2023-08-24 17:49:56 +01:00
Ian Lynagh
070dd05edd
npm run build
2023-08-24 15:15:12 +01:00
Ian Lynagh
ff95d147d6
Kotlin: Fix lint
2023-08-24 15:14:49 +01:00
Ian Lynagh
30fe0c4907
npm run build
2023-08-24 14:57:53 +01:00
Ian Lynagh
e5813484cd
Kotlin: CodeQL >= 2.13.4 supports 1.9.10.
2023-08-24 14:57:05 +01:00
Henry Mercer
9a53fd0577
Merge pull request #1848 from sabrowning1/main
...
Update docs links in the README
2023-08-23 15:47:06 +01:00
Sam Browning
dfb560cac1
Merge branch 'github:main' into main
2023-08-23 08:13:29 -04:00
Sam Browning
5c8be669de
Merge pull request #1 from sabrowning1/sabrowning1/update-README-links
...
Update docs links in the README
2023-08-23 08:13:16 -04:00
Henry Mercer
14877a1345
Merge pull request #1847 from github/dependabot/npm_and_yarn/npm-522ac6628f
...
Bump the npm group with 4 updates
2023-08-21 19:21:24 +01:00
Henry Mercer
bc08098689
Merge pull request #1846 from github/dependabot/github_actions/dot-github/actions/setup-swift/actions-setup-swift-487d23c2d8
...
Bump the actions-setup-swift group in /.github/actions/setup-swift with 1 update
2023-08-21 19:00:04 +01:00
github-actions[bot]
02c45745e3
Update checked-in dependencies
2023-08-21 17:52:18 +00:00
dependabot[bot]
67f7ac2add
Bump the npm group with 4 updates
...
Bumps the npm group with 4 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ), [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) and [nock](https://github.com/nock/nock ).
Updates `@typescript-eslint/eslint-plugin` from 6.4.0 to 6.4.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.4.1/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.4.0 to 6.4.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.4.1/packages/parser )
Updates `eslint-plugin-import` from 2.28.0 to 2.28.1
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.0...v2.28.1 )
Updates `nock` from 13.3.2 to 13.3.3
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/compare/v13.3.2...v13.3.3 )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: nock
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-21 17:48:12 +00:00
dependabot[bot]
fbb8195699
Bump the actions-setup-swift group
...
Bumps the actions-setup-swift group in /.github/actions/setup-swift with 1 update: [swift-actions/setup-swift](https://github.com/swift-actions/setup-swift ).
- [Release notes](https://github.com/swift-actions/setup-swift/releases )
- [Commits](65540b95f5...cdcbe8e35d )
---
updated-dependencies:
- dependency-name: swift-actions/setup-swift
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: actions-setup-swift
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-21 17:39:22 +00:00
Sam Browning
66572f0900
Update README.md
2023-08-21 11:37:17 -04:00
github-actions[bot]
e755a052f0
Add changelog note
2023-08-18 23:37:40 +00:00
github-actions[bot]
37628e79a4
Update default bundle to codeql-bundle-v2.14.3
2023-08-18 23:37:35 +00:00
Ian Lynagh
e4262713b5
Merge pull request #1844 from github/igfoo/lombok_no_overwrite
...
Lombok: Don't set env var if it's already set
2023-08-18 19:57:50 +01:00
Ian Lynagh
ddf2bd2495
Tweak CHANGELOG.md
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2023-08-18 19:04:05 +01:00
Ian Lynagh
c34b59d32f
Add a changenote for the Lombok change
2023-08-18 12:31:32 +01:00
Ian Lynagh
b557ee7090
npm run build
2023-08-18 12:31:32 +01:00
Ian Lynagh
d5b5e18245
Lombok: Don't set env var if it's already set
...
If the user has manually configured it, then we let their setting stand.
2023-08-18 12:31:12 +01:00
Henry Mercer
e683046da1
Merge pull request #1840 from github/dependabot/npm_and_yarn/npm-4335ac1f11
...
Bump the npm group with 5 updates
2023-08-14 20:42:14 +01:00
Henry Mercer
af18655ef9
Merge branch 'main' into dependabot/npm_and_yarn/npm-4335ac1f11
2023-08-14 20:05:13 +01:00
Henry Mercer
314b271ce0
Merge pull request #1841 from github/henrymercer/remove-actions-cache-overrides
...
Update `@actions/cache` and remove overrides
2023-08-14 19:56:39 +01:00
Henry Mercer
4db827f313
Update @actions/cache and remove overrides
...
Now that `@actions/cache` has been updated, we can remove our manual
overrides for vulnerable dependencies.
2023-08-14 18:59:06 +01:00
github-actions[bot]
6a54608e14
Update checked-in dependencies
2023-08-14 17:46:13 +00:00
dependabot[bot]
3f55ff1327
Bump the npm group with 5 updates
...
Bumps the npm group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache ) | `3.2.1` | `3.2.2` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `6.2.1` | `6.4.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `6.2.1` | `6.4.0` |
| [eslint](https://github.com/eslint/eslint ) | `8.46.0` | `8.47.0` |
| [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript ) | `3.5.5` | `3.6.0` |
Updates `@actions/cache` from 3.2.1 to 3.2.2
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/@actions/cache@3.2.2/packages/cache )
Updates `@typescript-eslint/eslint-plugin` from 6.2.1 to 6.4.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.4.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.2.1 to 6.4.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.4.0/packages/parser )
Updates `eslint` from 8.46.0 to 8.47.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.46.0...v8.47.0 )
Updates `eslint-import-resolver-typescript` from 3.5.5 to 3.6.0
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases )
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.5.5...v3.6.0 )
---
updated-dependencies:
- dependency-name: "@actions/cache"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint-import-resolver-typescript
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-14 17:43:22 +00:00
Henry Mercer
3ecf990cd2
Merge pull request #1839 from github/mergeback/v2.21.4-to-main-a09933a1
...
Mergeback v2.21.4 refs/heads/releases/v2 into main
2023-08-14 16:04:17 +01:00
github-actions[bot]
96f00f2adf
Update checked-in dependencies
2023-08-14 14:37:28 +00:00
github-actions[bot]
2760c3e6c4
Update changelog and version after v2.21.4
2023-08-14 14:09:37 +00:00
Henry Mercer
a09933a12a
Merge pull request #1838 from github/update-v2.21.4-492a68c32
...
Merge main into releases/v2
2023-08-14 15:06:52 +01:00
Henry Mercer
37116fb629
Fix positioning of bundle update changelog note
2023-08-14 14:16:49 +01:00
github-actions[bot]
c613917766
Update changelog for v2.21.4
2023-08-14 13:13:56 +00:00
Henry Mercer
492a68c323
Merge pull request #1836 from github/henrymercer/analysis-summary-v2-ff
...
Enable language specific baselines via feature flag
2023-08-14 12:57:51 +01:00
Henry Mercer
ac49314877
Merge pull request #1834 from github/henrymercer/analysis-summary-v2-ff
...
Rename new analysis summary feature flag
2023-08-14 10:57:25 +01:00
Henry Mercer
ac35d7a02d
Merge pull request #1835 from github/henrymercer/language-baseline-config
...
Enable language specific baselines via feature flag
2023-08-14 10:57:22 +01:00
Henry Mercer
d03c744ad6
Don't pass --no- flag as it doesn't exist yet
2023-08-11 17:31:20 +01:00
Henry Mercer
a0407a8c60
Add changelog note for rollout
2023-08-11 17:20:49 +01:00
Henry Mercer
8a7b2e9c9b
Enable language specific baselines via feature flag
2023-08-11 17:20:42 +01:00
Henry Mercer
9a510d9b07
Rename new analysis summary feature flag
2023-08-11 15:51:44 +01:00
Henry Mercer
2160dd3b55
Merge pull request #1831 from github/update-bundle/codeql-bundle-v2.14.2
...
Update default bundle to 2.14.2
2023-08-11 12:08:16 +01:00
Henry Mercer
1e14fd9e7a
Merge branch 'main' into update-bundle/codeql-bundle-v2.14.2
2023-08-11 11:15:43 +01:00
Henry Mercer
2ec74e3c0e
Merge pull request #1833 from github/henrymercer/print-commands
...
Log commands manually before executing them
2023-08-10 16:26:15 +01:00
Henry Mercer
25a42462f9
Add changelog note
2023-08-10 15:35:54 +01:00
Henry Mercer
f5920c85ab
Log commands manually before executing them
2023-08-10 15:35:54 +01:00
Henry Mercer
6ed1ccdc9a
Merge pull request #1832 from github/henrymercer/nicer-toolcache-version-numbers
...
Simplify toolcache version number for semantically versioned bundles
2023-08-10 15:32:53 +01:00
Henry Mercer
ceb4b69c73
Add changelog note
2023-08-10 14:40:20 +01:00
Henry Mercer
76584bd0a0
Simplify toolcache version number for semantically versioned bundles
2023-08-10 14:36:04 +01:00
github-actions[bot]
fba32955a0
Add changelog note
2023-08-10 10:18:25 +00:00
github-actions[bot]
f4eba74c80
Update default bundle to codeql-bundle-v2.14.2
2023-08-10 10:18:20 +00:00
Henry Mercer
9e4932e291
Merge pull request #1825 from github/henrymercer/disk-telemetry
...
Add runner disk info and image version to status report
2023-08-09 16:05:09 +01:00
Henry Mercer
bd20e2b607
Add changelog note
2023-08-09 11:52:21 +01:00
Henry Mercer
c93877b070
Merge branch 'main' into henrymercer/disk-telemetry
2023-08-09 11:50:50 +01:00
Henry Mercer
4e9f8a2be4
Merge pull request #1830 from github/mergeback/v2.21.3-to-main-5b6282e0
...
Mergeback v2.21.3 refs/heads/releases/v2 into main
2023-08-08 14:29:33 +01:00
github-actions[bot]
a07ea2da0c
Update checked-in dependencies
2023-08-08 13:07:22 +00:00
github-actions[bot]
9a202d29ad
Update changelog and version after v2.21.3
2023-08-08 13:05:38 +00:00
Henry Mercer
5b6282e01c
Merge pull request #1829 from github/update-v2.21.3-f9a7c6738
...
Merge main into releases/v2
2023-08-08 14:03:24 +01:00
Ian Lynagh
f0f7a35b85
Add changenote for Lombok rollout
2023-08-08 13:25:26 +01:00
github-actions[bot]
dda4ed3db4
Update changelog for v2.21.3
2023-08-08 11:53:34 +00:00
Henry Mercer
f9a7c6738f
Merge pull request #1827 from github/dependabot/npm_and_yarn/npm-5103036bd1
...
Bump the npm group with 3 updates
2023-08-08 11:20:14 +01:00
github-actions[bot]
31b9dd18d4
Update checked-in dependencies
2023-08-07 17:18:57 +00:00
dependabot[bot]
7e2f56aae3
Bump the npm group with 3 updates
...
Bumps the npm group with 3 updates: [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon ), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ).
Updates `@types/sinon` from 10.0.15 to 10.0.16
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon )
Updates `@typescript-eslint/eslint-plugin` from 6.2.0 to 6.2.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.2.1/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.2.0 to 6.2.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.2.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@types/sinon"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-07 17:16:04 +00:00
Henry Mercer
834f08becb
Merge branch 'main' into henrymercer/disk-telemetry
2023-08-07 17:56:50 +01:00
Henry Mercer
878ae4a749
Merge pull request #1823 from github/henrymercer/setup-swift-more-consistent
...
PR checks: Make Swift setup more consistent with default setup
2023-08-07 17:39:16 +01:00
Henry Mercer
63602c0f72
Merge pull request #1824 from github/henrymercer/cli-notifications-fix
...
Only workaround invalid notifications for CodeQL CLI 2.13.0 and earlier
2023-08-07 17:38:59 +01:00
Henry Mercer
66dc883276
Merge pull request #1826 from github/henrymercer/increase-reserved-scaling-factor
...
Increase scaling factor for reserved RAM to 5%
2023-08-07 17:32:27 +01:00
Henry Mercer
97ce1b094a
Ignore test files in env vars query
2023-08-07 17:31:09 +01:00
Henry Mercer
ba5812e64f
Add ImageVersion to safe env vars for default setup
2023-08-07 17:29:12 +01:00
Henry Mercer
2203178090
Increase scaling factor for reserved RAM to 5%
2023-08-07 16:56:27 +01:00
Henry Mercer
3b25789080
Add runner image version to status report
2023-08-07 16:27:56 +01:00
Henry Mercer
7dcb3e5276
Include runner disk info in status report
2023-08-07 16:27:56 +01:00
Henry Mercer
09ce3dbf90
Sort interfaces and enums
2023-08-07 16:27:56 +01:00
Henry Mercer
c6d284324b
Pull out a dedicated status report file
2023-08-07 16:13:59 +01:00
Henry Mercer
c55207f0a2
Use vendored TypeScript version for VS Code
2023-08-07 15:08:32 +01:00
Henry Mercer
45e889b4b3
Install check-disk-space Node package
2023-08-07 15:08:26 +01:00
Henry Mercer
131cb1abb1
Suppress VS Code git limit warnings during package install
2023-08-07 11:46:47 +01:00
Henry Mercer
0ff6cfb53c
Only workaround invalid notifications for CodeQL CLI 2.13.0 and earlier
2023-08-03 22:22:31 +01:00
Henry Mercer
f128379387
Make Swift setup more consistent with default setup
2023-08-03 17:23:31 +01:00
Angela P Wen
1f63aba653
PR Checks: Test codeql-bundle.tar.gz ( #1822 )
2023-08-03 15:38:21 +00:00
Henry Mercer
a98b9bd46b
Merge pull request #1821 from github/henrymercer/pr-checks/improve-version-naming
...
PR checks: Rename `cached` to `default`
2023-08-03 12:02:16 +01:00
Henry Mercer
49e0fc2ba1
PR checks: Rename cached to default
2023-08-02 18:02:10 +01:00
Florin Coada
2192e3432b
Merge pull request #1809 from github/igfoo/code_scanning_codeql_java_lombok
...
Add support for the code_scanning_codeql_java_lombok feature flag
2023-08-02 12:47:52 +01:00
Angela P Wen
1b6e91df31
Autogenerate source map
2023-08-02 11:54:32 +02:00
Angela P Wen
c32aadf8fd
Merge branch 'main' into igfoo/code_scanning_codeql_java_lombok
2023-08-02 02:44:05 -07:00
Angela P Wen
7d646d3301
Empty commit
2023-08-02 11:40:37 +02:00
Henry Mercer
7b79062de0
Merge pull request #1820 from github/henrymercer/delete-bundle-archive
...
Clean up the bundle archive after extracting it
2023-08-01 20:16:50 +01:00
Henry Mercer
61cdd2503b
Factor out common code for cleaning up bundle artifacts
2023-08-01 19:47:57 +01:00
Henry Mercer
92c848eb82
Improve variable naming
2023-08-01 19:21:17 +01:00
Henry Mercer
f93fb8df6e
Clean up non-toolcached bundle
2023-08-01 18:50:45 +01:00
Henry Mercer
ea47b2ae40
Add changelog note
2023-08-01 17:54:33 +01:00
Henry Mercer
38adb40e7a
Delete bundle archive after extracting it
2023-08-01 17:49:21 +01:00
dependabot[bot]
e7e35baaf0
Bump the npm group with 2 updates ( #1819 )
...
* Bump the npm group with 2 updates
Bumps the npm group with 2 updates: [eslint](https://github.com/eslint/eslint ) and [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ).
Updates `eslint` from 8.45.0 to 8.46.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.45.0...v8.46.0 )
Updates `eslint-plugin-import` from 2.27.5 to 2.28.0
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.27.5...v2.28.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-01 03:35:02 -07:00
Nick Rolfe
a6b0ced86b
Merge pull request #1818 from github/nickrolfe/disable-intra-layer-parallelism
...
Pass explicit option to disable intra-layer parallelism
2023-07-31 12:15:52 +01:00
Henry Mercer
6a17359b95
Merge pull request #1816 from github/henrymercer/more-user-errors
...
Categorize more user errors correctly in telemetry
2023-07-31 11:56:57 +01:00
Henry Mercer
245422d4c0
Merge pull request #1815 from github/henrymercer/update-readme
...
Simplify README to recommend default setup and refer to docs
2023-07-31 11:56:04 +01:00
Nick Rolfe
c7b7456c9e
Pass explicit option to disable intra-layer parallelism
2023-07-31 11:47:25 +01:00
Nick Rolfe
cf445f7cf3
Merge pull request #1817 from github/nickrolfe/evaluator-intra-layer-parallelism-ff
...
Use feature flag to enable evaluator intra-layer parallelism
2023-07-31 11:03:26 +01:00
Nick Rolfe
2f8540dd31
Add CHANGELOG entry for intra-layer parallelism rollout
2023-07-31 10:08:17 +01:00
Nick Rolfe
bc068d74aa
Use feature flag to enable evaluator intra-layer parallelism
2023-07-31 09:44:35 +01:00
Henry Mercer
bcfe48982e
Improve function name
2023-07-28 18:51:43 +01:00
Henry Mercer
79690d4663
Make submitting advanced analysis when default setup on a user error
2023-07-28 18:21:38 +01:00
Henry Mercer
5691205077
Make not specifying a required input a user error
2023-07-28 18:18:27 +01:00
Henry Mercer
d9d3212c79
Simplify README to recommend default setup and refer to docs
2023-07-28 17:30:34 +01:00
Henry Mercer
81ae676e79
Merge pull request #1812 from github/henrymercer/no-loc-baseline-for-new-summary
...
Don't print the lines of code baseline when new analysis summary enabled
2023-07-28 17:18:54 +01:00
Alexander Eyers-Taylor
c8b21b59d1
Merge pull request #1814 from github/mergeback/v2.21.2-to-main-0ba42444
...
Mergeback v2.21.2 refs/heads/releases/v2 into main
2023-07-28 16:09:27 +01:00
github-actions[bot]
7c2bd355f3
Update checked-in dependencies
2023-07-28 14:10:21 +00:00
github-actions[bot]
868eec5e6d
Update changelog and version after v2.21.2
2023-07-28 14:07:45 +00:00
Alexander Eyers-Taylor
0ba4244466
Merge pull request #1813 from github/update-v2.21.2-10c6bfee1
...
Merge main into releases/v2
2023-07-28 15:05:12 +01:00
Ian Lynagh
eea148f0e6
Run "npm run build"
2023-07-28 14:56:05 +01:00
Ian Lynagh
34090feb56
Lombok: Only do anything if Java is being analysed
2023-07-28 14:55:23 +01:00
github-actions[bot]
a9a416c8f4
Update changelog for v2.21.2
2023-07-28 13:26:48 +00:00
Henry Mercer
10c6bfee12
Merge pull request #1811 from github/henrymercer/print-summary-once
...
Only print the analysis summary once
2023-07-28 14:23:58 +01:00
Henry Mercer
67e62e7b01
Don't print the lines of code baseline when new analysis summary enabled
2023-07-28 14:03:02 +01:00
Henry Mercer
feea86eed3
Merge pull request #1810 from github/henrymercer/ci/use-platform-specific-bundles
...
Use platform specific bundles in PR checks
2023-07-28 13:49:54 +01:00
Henry Mercer
2e6f8c08c1
Add changelog note
2023-07-28 13:06:35 +01:00
Henry Mercer
8342844ea7
Only print the analysis summary once
2023-07-28 12:29:10 +01:00
Henry Mercer
679aac1b20
Use platform specific bundles in PR checks
2023-07-28 12:06:57 +01:00
Alexander Eyers-Taylor
de6681ceb7
Merge pull request #1797 from github/update-bundle/codeql-bundle-v2.14.1
...
Update default bundle to 2.14.1
2023-07-27 13:16:33 +01:00
Alexander Eyers-Taylor
f6fe5c5c70
Merge branch 'main' into update-bundle/codeql-bundle-v2.14.1
2023-07-27 12:53:27 +01:00
Ian Lynagh
976ada262f
Regen
2023-07-27 12:45:19 +01:00
Ian Lynagh
c946707707
Pass codeql in to check
2023-07-27 12:45:08 +01:00
Ian Lynagh
4f6104c444
Run "npm run build"
2023-07-27 12:37:40 +01:00
Ian Lynagh
a27d3e9355
Fix lint suggestions
2023-07-27 12:36:57 +01:00
Ian Lynagh
cae6b78afc
Be more consistent
2023-07-27 12:30:08 +01:00
Ian Lynagh
097823f389
Add support for the code_scanning_codeql_java_lombok feature flag
2023-07-27 12:19:38 +01:00
Andrew Eisenberg
62762170e1
Merge pull request #1808 from github/mergeback/v2.21.1-to-main-6ca1aa8c
...
Mergeback v2.21.1 refs/heads/releases/v2 into main
2023-07-26 12:11:01 -07:00
github-actions[bot]
e4ccfbd189
Update checked-in dependencies
2023-07-26 18:38:43 +00:00
github-actions[bot]
eaa61762f4
Update changelog and version after v2.21.1
2023-07-26 18:34:36 +00:00
Henry Mercer
6ca1aa8c19
Merge pull request #1807 from github/update-v2.21.1-055b396ea
...
Merge main into releases/v2
2023-07-26 19:32:45 +01:00
github-actions[bot]
84a55d4e11
Update changelog for v2.21.1
2023-07-26 16:20:35 +00:00
Stephan Brandauer
055b396ea2
Merge pull request #1800 from github/dependabot/pip/python-setup/tests/poetry/python-3.8/certifi-2023.7.22
...
Bump certifi from 2022.12.7 to 2023.7.22 in /python-setup/tests/poetry/python-3.8
2023-07-26 13:46:36 +02:00
Stephan Brandauer
98d57a1337
Merge pull request #1801 from github/dependabot/pip/python-setup/tests/poetry/requests-3/certifi-2023.7.22
...
Bump certifi from 2022.12.7 to 2023.7.22 in /python-setup/tests/poetry/requests-3
2023-07-26 13:46:20 +02:00
Stephan Brandauer
1ba3eaa7d3
Merge pull request #1802 from github/dependabot/pip/python-setup/tests/pipenv/requests-3/certifi-2023.7.22
...
Bump certifi from 2023.5.7 to 2023.7.22 in /python-setup/tests/pipenv/requests-3
2023-07-26 13:46:05 +02:00
Stephan Brandauer
233b9834e6
Merge pull request #1803 from github/dependabot/pip/python-setup/tests/pipenv/python-3.8/certifi-2023.7.22
...
Bump certifi from 2023.5.7 to 2023.7.22 in /python-setup/tests/pipenv/python-3.8
2023-07-26 13:45:43 +02:00
Stephan Brandauer
9cbfcfde24
Merge branch 'main' into dependabot/pip/python-setup/tests/pipenv/requests-3/certifi-2023.7.22
2023-07-26 12:40:45 +02:00
Stephan Brandauer
7a8ccc55bf
Merge branch 'main' into dependabot/pip/python-setup/tests/poetry/requests-3/certifi-2023.7.22
2023-07-26 12:40:43 +02:00
Stephan Brandauer
ac0d76444a
Merge branch 'main' into dependabot/pip/python-setup/tests/poetry/python-3.8/certifi-2023.7.22
2023-07-26 12:40:39 +02:00
Stephan Brandauer
500b1fac79
Merge branch 'main' into dependabot/pip/python-setup/tests/pipenv/python-3.8/certifi-2023.7.22
2023-07-26 12:40:26 +02:00
Stephan Brandauer
d89d3764f8
Merge pull request #1804 from github/dependabot/npm_and_yarn/npm-a99d24b4d9
...
Bump the npm group with 2 updates
2023-07-26 12:39:48 +02:00
Stephan Brandauer
654518ea06
Merge branch 'main' into dependabot/npm_and_yarn/npm-a99d24b4d9
2023-07-26 10:54:26 +02:00
Andrew Eisenberg
1a480074ee
Merge pull request #1805 from jsoref/issue-1799
...
Add output for analyze action output path
2023-07-25 15:13:44 -07:00
Josh Soref
8ab72a0f47
Add output for analyze action output path
2023-07-25 16:03:16 -04:00
github-actions[bot]
658a20c06e
Update checked-in dependencies
2023-07-25 17:07:05 +00:00
dependabot[bot]
818b10d9bb
Bump the npm group with 2 updates
...
Bumps the npm group with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ).
Updates `@typescript-eslint/eslint-plugin` from 6.1.0 to 6.2.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.2.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.1.0 to 6.2.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.2.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-25 16:40:22 +00:00
dependabot[bot]
126f9c6282
Bump certifi in /python-setup/tests/pipenv/python-3.8
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2023.5.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.05.07...2023.07.22 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-25 16:40:15 +00:00
dependabot[bot]
cfd7e3df84
Bump certifi in /python-setup/tests/pipenv/requests-3
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2023.5.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.05.07...2023.07.22 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-25 16:39:45 +00:00
dependabot[bot]
c974f40fee
Bump certifi in /python-setup/tests/poetry/requests-3
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2022.12.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2022.12.07...2023.07.22 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-25 16:39:42 +00:00
dependabot[bot]
d34eb386d4
Bump certifi in /python-setup/tests/poetry/python-3.8
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2022.12.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2022.12.07...2023.07.22 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-25 16:39:37 +00:00
Angela P Wen
c57b27e4b7
Merge pull request #1798 from github/dependabot/npm_and_yarn/npm-7f457b68a6
...
Bump the npm group with 2 updates: `@schemastore/package` and `eslint-plugin-github`.
2023-07-25 18:34:52 +02:00
Angela P Wen
d1d5f4de97
Remove schemastore from Dependabot ignore
2023-07-25 18:00:43 +02:00
Angela P Wen
badeebcb1a
Ignore prior commit in git blame
2023-07-25 17:59:56 +02:00
Angela P Wen
b16296be30
Auto-fix linting errors
2023-07-25 10:34:21 +02:00
github-actions[bot]
eff6331393
Update checked-in dependencies
2023-07-24 17:15:38 +00:00
dependabot[bot]
601c5ba56e
Bump the npm group with 2 updates
...
Bumps the npm group with 2 updates: [@schemastore/package](https://github.com/ffflorian/schemastore-updater ) and [eslint-plugin-github](https://github.com/github/eslint-plugin-github ).
Updates `@schemastore/package` from 0.0.8 to 0.0.10
- [Release notes](https://github.com/ffflorian/schemastore-updater/releases )
- [Commits](https://github.com/ffflorian/schemastore-updater/commits )
Updates `eslint-plugin-github` from 4.9.0 to 4.9.2
- [Release notes](https://github.com/github/eslint-plugin-github/releases )
- [Commits](https://github.com/github/eslint-plugin-github/compare/v4.9.0...v4.9.2 )
---
updated-dependencies:
- dependency-name: "@schemastore/package"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: eslint-plugin-github
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-24 17:12:49 +00:00
Henry Mercer
57a11be8e4
Merge pull request #1795 from github/henrymercer/use-more-cli-errors
...
Improve handling of fatal CLI errors
2023-07-24 17:16:47 +01:00
Henry Mercer
7197f58bbf
Add JSDoc for extractFatalErrors
2023-07-24 16:47:33 +01:00
github-actions[bot]
3007c1e340
Add changelog note
2023-07-24 15:17:23 +00:00
github-actions[bot]
4a2e8975cd
Update default bundle to codeql-bundle-v2.14.1
2023-07-24 15:17:18 +00:00
Henry Mercer
7b6664fa89
Merge pull request #1796 from github/henrymercer/scaling-ram-larger-runners-only
...
Scale the amount of reserved RAM on large runners only
2023-07-24 12:47:48 +01:00
Henry Mercer
fda93d8ef5
Apply scaling reserved RAM to large runners only
2023-07-21 18:00:34 +01:00
Henry Mercer
18ae9813bf
Test memory flag computation across all platforms and system RAM values
2023-07-21 17:55:17 +01:00
Henry Mercer
47952bf4c2
Remove generated files associated with deleted code
2023-07-21 15:29:04 +01:00
Henry Mercer
5bbe7a2b8c
Add test for summarizing several fatal errors
2023-07-21 15:27:57 +01:00
Henry Mercer
9fc0c931c7
Add changelog note
2023-07-21 15:16:58 +01:00
Henry Mercer
fdedc91de2
Improve formatting of fatal errors
2023-07-21 14:39:30 +01:00
Henry Mercer
2eb34f2fb9
Always include exit code in first line of CommandInvocationError
2023-07-21 14:26:44 +01:00
Henry Mercer
a3ef0b984b
Include fatal error context on a single line where possible
2023-07-21 14:24:59 +01:00
Henry Mercer
65a297b952
Display the error message on one line if possible
2023-07-21 14:14:07 +01:00
Henry Mercer
0f871fa80d
Improve CommandInvocationError message
2023-07-21 14:13:17 +01:00
Henry Mercer
c84418936e
Add additional tests for database finalize behavior
2023-07-21 14:12:37 +01:00
Henry Mercer
e94e15d8dd
Fix extra whitespace in CommandInvocationError
2023-07-21 14:12:36 +01:00
Henry Mercer
21c926745f
Capture the details of fatal errors
2023-07-21 14:11:51 +01:00
Henry Mercer
76b2afaa4a
Display the CLI's no code found error for CodeQL 2.12.4+
2023-07-20 18:16:02 +01:00
Peter Newman
ce84bed594
Correct the no code found URL ( #1779 )
2023-07-20 01:20:31 -07:00
Henry Mercer
d0dd7d77b4
Merge pull request #1794 from github/henrymercer/resolve-cyclic-imports
...
Resolve cyclic imports
2023-07-19 19:24:10 +01:00
Henry Mercer
466dbc913e
Merge pull request #1792 from github/mergeback/v2.21.0-to-main-1813ca74
...
Mergeback v2.21.0 refs/heads/releases/v2 into main
2023-07-19 17:46:06 +01:00
Henry Mercer
bac7c32ff7
Resolve the final dependency cycle!
2023-07-19 17:37:43 +01:00
Henry Mercer
5658fd1df2
Fix dependency cycle between trap-caching and init
2023-07-19 17:30:33 +01:00
Henry Mercer
2637069a45
Resolve dependency cycles between actions-util and workflow
2023-07-19 17:21:33 +01:00
Henry Mercer
0bc4788cf7
Resolve dependency cycle between api-client and actions-util
2023-07-19 17:01:05 +01:00
Henry Mercer
004f976bef
Fix dependency cycle between util and config-utils
2023-07-19 16:48:21 +01:00
Henry Mercer
d577d6f6b1
Resolve dependency cycle between util and API client
2023-07-19 16:40:31 +01:00
Henry Mercer
9922e17dbb
Move code scanning config enablement into feature flags
2023-07-19 15:57:59 +01:00
Henry Mercer
bf162c4114
Enable no cyclic dependencies eslint rule
2023-07-19 15:53:39 +01:00
Henry Mercer
79ad6142b1
Update script to put unreleased section in the right place
2023-07-19 13:56:46 +01:00
github-actions[bot]
6484fb09f6
Update checked-in dependencies
2023-07-19 12:53:51 +00:00
github-actions[bot]
c1144b5fa0
Update changelog and version after v2.21.0
2023-07-19 12:49:44 +00:00
Henry Mercer
1813ca74c3
Merge pull request #1791 from github/update-v2.21.0-6ae46f7a9
...
Merge main into releases/v2
2023-07-19 13:47:34 +01:00
github-actions[bot]
6843540876
Update changelog for v2.21.0
2023-07-19 12:14:55 +00:00
Henry Mercer
6ae46f7a92
Merge pull request #1790 from github/henrymercer/aborted-user-error
...
Report user errors in the abort stage appropriately
2023-07-18 18:10:04 +01:00
Henry Mercer
0cae69e062
Report user errors in the abort stage appropriately
2023-07-18 17:22:13 +01:00
Tom Bolton
d2ed0a05b6
Merge pull request #1786 from github/dependabot/npm_and_yarn/npm-0a410f26d2
...
Bump the npm group with 6 updates
2023-07-18 14:22:17 +01:00
Henry Mercer
651d09131a
Merge pull request #1788 from github/henrymercer/fix-feature-flag-usage
...
Fixes for new analysis summary and scaling reserved RAM feature flag usage
2023-07-18 14:14:43 +01:00
Henry Mercer
e0f0892f83
Add tests for new analysis summary feature flag
2023-07-18 13:43:44 +01:00
Henry Mercer
27d3b2f857
Fix scaling reserved RAM feature flag naming
2023-07-18 13:41:05 +01:00
Henry Mercer
da4e0a06c0
Fix CodeQL version checks
2023-07-18 13:41:05 +01:00
github-actions[bot]
e266801e21
Update checked-in dependencies
2023-07-17 20:17:37 +00:00
dependabot[bot]
99c9f6a498
Bump the npm group with 6 updates
...
Bumps the npm group with 6 updates:
| Package | Update |
| --- | --- |
| [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon ) | 10.0.2 to 10.0.15 |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | 6.0.0 to 6.1.0 |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | 6.0.0 to 6.1.0 |
| [eslint](https://github.com/eslint/eslint ) | 8.44.0 to 8.45.0 |
| [eslint-plugin-github](https://github.com/github/eslint-plugin-github ) | 4.8.0 to 4.9.0 |
| [nock](https://github.com/nock/nock ) | 13.3.1 to 13.3.2 |
Updates `@types/sinon` from 10.0.2 to 10.0.15
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon )
Updates `@typescript-eslint/eslint-plugin` from 6.0.0 to 6.1.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.1.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.0.0 to 6.1.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.1.0/packages/parser )
Updates `eslint` from 8.44.0 to 8.45.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.44.0...v8.45.0 )
Updates `eslint-plugin-github` from 4.8.0 to 4.9.0
- [Release notes](https://github.com/github/eslint-plugin-github/releases )
- [Commits](https://github.com/github/eslint-plugin-github/compare/v4.8.0...v4.9.0 )
Updates `nock` from 13.3.1 to 13.3.2
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/compare/v13.3.1...v13.3.2 )
---
updated-dependencies:
- dependency-name: "@types/sinon"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint-plugin-github
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: nock
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-17 20:14:19 +00:00
Henry Mercer
942acabcd0
Merge pull request #1785 from github/henrymercer/ignore-incompatible-dependencies
...
Update Dependabot config to ignore incompatible updates
2023-07-17 21:11:35 +01:00
Henry Mercer
e0806ce653
Update Dependabot config to ignore incompatible updates
2023-07-17 19:01:20 +01:00
Henry Mercer
84e042b8a4
Merge pull request #1783 from github/henrymercer/check-sarif-node16
...
Run check-sarif Action using Node 16
2023-07-17 18:54:32 +01:00
Henry Mercer
5719ca3eb6
Run check-sarif Action using Node 16
...
`using: node12` Actions have already been running using Node 16 for
some time.
2023-07-17 18:29:59 +01:00
Henry Mercer
d85a177b9b
Merge pull request #1780 from github/henrymercer/remove-redundant-env-var
...
Remove redundant environment variable from PR check
2023-07-17 17:35:06 +01:00
Henry Mercer
2e8581811e
Remove redundant environment variable from PR check
2023-07-17 15:42:21 +01:00
Henry Mercer
262017ad69
Merge pull request #1759 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions
2023-07-17 14:13:35 +01:00
Henry Mercer
eb1ef12e40
Merge branch 'main' into update-supported-enterprise-server-versions
2023-07-17 13:35:17 +01:00
Henry Mercer
2ff6d83d07
Merge pull request #1724 from github/henrymercer/bump-minimum-codeql-version
...
Bump minimum CodeQL version to 2.9.4
2023-07-17 13:32:48 +01:00
Henry Mercer
5246291397
Merge branch 'main' into henrymercer/bump-minimum-codeql-version
2023-07-14 16:16:25 +01:00
Chuan-kai Lin
013a1d0cb2
Merge pull request #1778 from github/mergeback/v2.20.4-to-main-489225d8
...
Mergeback v2.20.4 refs/heads/releases/v2 into main
2023-07-14 07:36:36 -07:00
github-actions[bot]
aedd8c2a63
Update checked-in dependencies
2023-07-14 14:05:35 +00:00
github-actions[bot]
9a97b34d8c
Update changelog and version after v2.20.4
2023-07-14 13:59:05 +00:00
Chuan-kai Lin
489225d82a
Merge pull request #1777 from github/update-v2.20.4-a148c5807
...
Merge main into releases/v2
2023-07-14 06:57:01 -07:00
github-actions[bot]
1b6383d6be
Update changelog for v2.20.4
2023-07-14 13:16:51 +00:00
Andrew Eisenberg
a148c58075
Merge pull request #1776 from github/aeisenberg/changelog-releases
...
Add link to releases page in changelog
2023-07-13 13:51:06 -07:00
Andrew Eisenberg
50527c5dba
Add link to releases page in changelog
2023-07-13 12:24:36 -07:00
Chuan-kai Lin
814b2edab6
Merge pull request #1762 from github/update-bundle/codeql-bundle-v2.14.0
...
Update default bundle to 2.14.0
2023-07-13 09:36:56 -07:00
Chuan-kai Lin
d2baed4b69
Merge branch 'main' into update-bundle/codeql-bundle-v2.14.0
2023-07-13 08:19:40 -07:00
Henry Mercer
c5526174a5
Merge pull request #1774 from github/dependabot/npm_and_yarn/npm-a34e423e98
...
Bump the npm group with 21 updates
2023-07-13 12:14:16 +01:00
Henry Mercer
c1f49580cf
Fix dependency incompatibilities
2023-07-13 11:20:39 +01:00
github-actions[bot]
40a500c743
Update checked-in dependencies
2023-07-13 09:09:17 +00:00
dependabot[bot]
4fad06f438
Bump the npm group with 21 updates
...
Bumps the npm group with 21 updates:
| Package | Update |
| --- | --- |
| [@actions/artifact](https://github.com/actions/toolkit/tree/HEAD/packages/artifact ) | 1.1.0 to 1.1.1 |
| [@actions/io](https://github.com/actions/toolkit/tree/HEAD/packages/io ) | 1.1.2 to 1.1.3 |
| [@octokit/plugin-retry](https://github.com/octokit/plugin-retry.js ) | 5.0.2 to 6.0.0 |
| [@schemastore/package](https://github.com/ffflorian/schemastore-updater ) | 0.0.6 to 0.0.9 |
| [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid ) | 9.0.0 to 9.0.2 |
| [adm-zip](https://github.com/cthackers/adm-zip ) | 0.5.9 to 0.5.10 |
| [del](https://github.com/sindresorhus/del ) | 6.1.1 to 7.0.0 |
| [long](https://github.com/dcodeIO/long.js ) | 5.2.0 to 5.2.3 |
| [@ava/typescript](https://github.com/avajs/typescript ) | 4.0.0 to 4.1.0 |
| [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver ) | 7.3.13 to 7.5.0 |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | 5.48.2 to 6.0.0 |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | 5.56.0 to 6.0.0 |
| [ava](https://github.com/avajs/ava ) | 5.1.1 to 5.3.1 |
| [eslint](https://github.com/eslint/eslint ) | 8.32.0 to 8.44.0 |
| [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript ) | 3.5.3 to 3.5.5 |
| [eslint-plugin-github](https://github.com/github/eslint-plugin-github ) | 4.6.0 to 4.8.0 |
| [micromatch](https://github.com/micromatch/micromatch ) | 4.0.4 to 4.0.5 |
| [nock](https://github.com/nock/nock ) | 13.1.1 to 13.3.1 |
| [removeNPMAbsolutePaths](https://github.com/juanjoDiaz/removeNPMAbsolutePaths ) | 3.0.0 to 3.0.1 |
| [sinon](https://github.com/sinonjs/sinon ) | 15.0.1 to 15.2.0 |
| [typescript](https://github.com/Microsoft/TypeScript ) | 5.0.2 to 5.1.6 |
Updates `@actions/artifact` from 1.1.0 to 1.1.1
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/artifact/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/@actions/tool-cache@1.1.1/packages/artifact )
Updates `@actions/io` from 1.1.2 to 1.1.3
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/io/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/io )
Updates `@octokit/plugin-retry` from 5.0.2 to 6.0.0
- [Release notes](https://github.com/octokit/plugin-retry.js/releases )
- [Commits](https://github.com/octokit/plugin-retry.js/compare/v5.0.2...v6.0.0 )
Updates `@schemastore/package` from 0.0.6 to 0.0.9
- [Release notes](https://github.com/ffflorian/schemastore-updater/releases )
- [Commits](https://github.com/ffflorian/schemastore-updater/commits )
Updates `@types/uuid` from 9.0.0 to 9.0.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid )
Updates `adm-zip` from 0.5.9 to 0.5.10
- [Release notes](https://github.com/cthackers/adm-zip/releases )
- [Changelog](https://github.com/cthackers/adm-zip/blob/master/history.md )
- [Commits](https://github.com/cthackers/adm-zip/commits/v0.5.10 )
Updates `del` from 6.1.1 to 7.0.0
- [Release notes](https://github.com/sindresorhus/del/releases )
- [Commits](https://github.com/sindresorhus/del/compare/v6.1.1...v7.0.0 )
Updates `long` from 5.2.0 to 5.2.3
- [Release notes](https://github.com/dcodeIO/long.js/releases )
- [Commits](https://github.com/dcodeIO/long.js/compare/v5.2.0...v5.2.3 )
Updates `@ava/typescript` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/avajs/typescript/releases )
- [Commits](https://github.com/avajs/typescript/compare/v4.0.0...v4.1.0 )
Updates `@types/semver` from 7.3.13 to 7.5.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver )
Updates `@typescript-eslint/eslint-plugin` from 5.48.2 to 6.0.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.0.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 5.56.0 to 6.0.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.0.0/packages/parser )
Updates `ava` from 5.1.1 to 5.3.1
- [Release notes](https://github.com/avajs/ava/releases )
- [Commits](https://github.com/avajs/ava/compare/v5.1.1...v5.3.1 )
Updates `eslint` from 8.32.0 to 8.44.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.32.0...v8.44.0 )
Updates `eslint-import-resolver-typescript` from 3.5.3 to 3.5.5
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases )
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.5.3...v3.5.5 )
Updates `eslint-plugin-github` from 4.6.0 to 4.8.0
- [Release notes](https://github.com/github/eslint-plugin-github/releases )
- [Commits](https://github.com/github/eslint-plugin-github/compare/v4.6.0...v4.8.0 )
Updates `micromatch` from 4.0.4 to 4.0.5
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.4...4.0.5 )
Updates `nock` from 13.1.1 to 13.3.1
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/compare/v13.1.1...v13.3.1 )
Updates `removeNPMAbsolutePaths` from 3.0.0 to 3.0.1
- [Release notes](https://github.com/juanjoDiaz/removeNPMAbsolutePaths/releases )
- [Commits](https://github.com/juanjoDiaz/removeNPMAbsolutePaths/compare/v3.0.0...v3.0.1 )
Updates `sinon` from 15.0.1 to 15.2.0
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v15.0.1...v15.2.0 )
Updates `typescript` from 5.0.2 to 5.1.6
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.2...v5.1.6 )
---
updated-dependencies:
- dependency-name: "@actions/artifact"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@actions/io"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@octokit/plugin-retry"
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: npm
- dependency-name: "@schemastore/package"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@types/uuid"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: adm-zip
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: del
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: npm
- dependency-name: long
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@ava/typescript"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@types/semver"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm
- dependency-name: ava
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: eslint-import-resolver-typescript
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: eslint-plugin-github
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: micromatch
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: nock
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: removeNPMAbsolutePaths
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-13 09:06:22 +00:00
Henry Mercer
07224254ab
Merge pull request #1773 from github/henrymercer/dependabot-grouped-updates
...
Group together dependency updates
2023-07-13 10:01:14 +01:00
Rasmus Wriedt Larsen
7d35788421
Merge pull request #1772 from github/RasmusWL/fix-pipenv
...
python-setup: Fix pipenv (`--keep-outdated` deprecated)
2023-07-13 09:32:14 +02:00
Henry Mercer
36928bf506
Group together npm dependency updates
2023-07-12 18:15:29 +01:00
Rasmus Wriedt Larsen
d1a140b28e
python-setup: Fix pipenv (--keep-outdated deprecated)
...
Recently released pipenv removed support for `--keep-outdated` flag (see https://github.com/pypa/pipenv/blob/main/CHANGELOG.rst#pipenv-202379-2023-07-09 )
Local testing showed that installation was fine without this 👍
2023-07-12 17:09:00 +02:00
Henry Mercer
12aa0a6e01
Merge pull request #1771 from github/henrymercer/update-semver
...
Bump semver
2023-07-12 10:52:52 +01:00
Henry Mercer
4b7eb74ef5
Bump semver
2023-07-11 20:48:18 +01:00
Angela P Wen
863a05b28b
Nest alertCounts object in event_report.properties ( #1770 )
2023-07-11 09:20:29 -07:00
Henry Mercer
d6c8719550
Merge pull request #1769 from github/henrymercer/bump-caniuse
...
Update `caniuse-lite` dependency
2023-07-11 14:25:15 +01:00
Henry Mercer
859354c7e2
Merge pull request #1768 from github/henrymercer/no-languages-user-error
...
Telemetry: Mark configuration errors as user errors
2023-07-11 13:42:55 +01:00
Henry Mercer
0fc0483240
Update caniuse-lite dependency
2023-07-11 13:17:55 +01:00
Henry Mercer
e828ed68c6
Use Error for test errors
2023-07-11 13:08:50 +01:00
Henry Mercer
6639a31758
Mark configuration errors as user errors
2023-07-11 11:05:40 +01:00
Henry Mercer
95a5fda31a
Merge pull request #1765 from github/dependabot/npm_and_yarn/octokit/types-11.1.0
...
Bump @octokit/types from 10.0.0 to 11.1.0
2023-07-10 21:29:49 +01:00
github-actions[bot]
b3406fda8f
Update checked-in dependencies
2023-07-10 17:46:35 +00:00
dependabot[bot]
916cfef293
Bump @octokit/types from 10.0.0 to 11.1.0
...
Bumps [@octokit/types](https://github.com/octokit/types.ts ) from 10.0.0 to 11.1.0.
- [Release notes](https://github.com/octokit/types.ts/releases )
- [Commits](https://github.com/octokit/types.ts/compare/v10.0.0...v11.1.0 )
---
updated-dependencies:
- dependency-name: "@octokit/types"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-10 17:42:54 +00:00
Henry Mercer
fed45865ba
Merge branch 'main' into henrymercer/bump-minimum-codeql-version
2023-07-10 13:21:51 +01:00
Nick Rolfe
6a07b2ad43
Merge pull request #1760 from github/nickrolfe/scaling-memory
...
Respect `scaling_reserved_ram` feature flag
2023-07-10 10:25:38 +01:00
dependabot[bot]
8f80d7761c
Bump tough-cookie and @azure/ms-rest-js ( #1763 )
...
* Bump tough-cookie and @azure/ms-rest-js
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie ) and [@azure/ms-rest-js](https://github.com/Azure/ms-rest-js ). These dependencies needed to be updated together.
Updates `tough-cookie` from 4.0.0 to 4.1.3
- [Release notes](https://github.com/salesforce/tough-cookie/releases )
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3 )
Updates `@azure/ms-rest-js` from 2.6.2 to 2.7.0
- [Changelog](https://github.com/Azure/ms-rest-js/blob/master/Changelog.md )
- [Commits](https://github.com/Azure/ms-rest-js/commits )
---
updated-dependencies:
- dependency-name: tough-cookie
dependency-type: indirect
- dependency-name: "@azure/ms-rest-js"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-10 01:41:51 -07:00
github-actions[bot]
49f147856e
Add changelog note
2023-07-07 16:23:39 +00:00
github-actions[bot]
b8490d73e8
Update default bundle to codeql-bundle-v2.14.0
2023-07-07 16:23:27 +00:00
Nick Rolfe
ab9aa50acb
Add integration test for scaling_reserved_ram feature flag
2023-07-07 17:01:34 +01:00
Nick Rolfe
28e070c442
Add changenote for scaling_reserved_ram change
2023-07-07 16:46:48 +01:00
Nick Rolfe
f232722edf
Respect scaling_reserved_ram feature flag
...
The amount of RAM given to the CodeQL evaluator is the machine's total
memory size, minus a reserved amount. Currently, the reserved amount is
fixed at 1 GB (or 1.5 GB on Windows). When the scaling_reserved_ram
feature flag is enabled, we also add 2% of the total memory size to the
reserved amount. This allows for the fact that the kernel will consume
more RAM (e.g. for page tables) on machines with more physical RAM.
2023-07-07 16:46:47 +01:00
Henry Mercer
85c77f1dfc
Merge pull request #1761 from github/henrymercer/remove-fetching-releases-fallback
...
Simplify CodeQL setup now that the last two releases have semver bundles
2023-07-07 15:53:18 +01:00
Henry Mercer
dc0234b48c
Remove redundant checks
2023-07-07 15:32:20 +01:00
Henry Mercer
a41df3ae10
Add unit test for unsupported default version feature flags
2023-07-07 15:15:57 +01:00
Henry Mercer
50f2cc19ee
Remove now redundant variant property
...
Previously, this was useful for discriminating between different
`CodeQLDefaultVersion` instances. However now all instances return a
tag name.
2023-07-07 15:15:57 +01:00
Henry Mercer
bec18d1625
Remove fallback logic for mapping default CLI version to GitHub Release
...
The default version feature flags will now always point to a CLI version
with a semantically versioned bundle, so we can find the GitHub
Release directly from the CLI version.
2023-07-07 15:15:57 +01:00
Henry Mercer
395fdba990
Merge pull request #1757 from github/henrymercer/cli-deprecation-warning
...
Add a deprecation warning for CodeQL CLIs < 2.9.4
2023-07-07 14:00:45 +01:00
Henry Mercer
5499d30c79
Merge branch 'main' into henrymercer/cli-deprecation-warning
2023-07-07 13:31:06 +01:00
Henry Mercer
bc5c834c7b
Merge pull request #1758 from github/henrymercer/bundle-semantic-version-simplifications
...
Skip an API call when downloading a CodeQL version with a semver bundle
2023-07-07 13:22:56 +01:00
Henry Mercer
f6c51a38d7
Remove redundant set of env var
2023-07-07 13:06:53 +01:00
Henry Mercer
e1913859f3
Polish deprecation wording
2023-07-07 13:05:52 +01:00
Henry Mercer
177a5796c9
Tweak doc comment
2023-07-07 13:00:29 +01:00
Henry Mercer
6418c5d819
Skip an API call when downloading a CodeQL version with a semver bundle
...
Previously, we made an API call to look up the CLI version to release
mapping when the default CLI version was requested on Dotcom and that
CLI wasn't in the toolcache.
Now we compute the tag name directly for semver bundles.
2023-07-07 10:58:57 +01:00
github-actions[bot]
f60aebf286
Update supported GitHub Enterprise Server versions
2023-07-07 00:13:41 +00:00
Henry Mercer
05cb00cb77
Merge branch 'main' into henrymercer/cli-deprecation-warning
2023-07-06 18:00:18 +01:00
Dave Bartolomeo
84c057931e
Merge pull request #1755 from github/mergeback/v2.20.3-to-main-46ed16de
...
Mergeback v2.20.3 refs/heads/releases/v2 into main
2023-07-06 12:53:21 -04:00
Henry Mercer
674e180d89
Add changelog note
2023-07-06 17:37:36 +01:00
Mathias Vorreiter Pedersen
fb57c981cc
Merge pull request #1756 from github/fix-readme
...
Fix README link
2023-07-06 17:35:04 +01:00
github-actions[bot]
0bc3d1ffcf
Update checked-in dependencies
2023-07-06 16:29:43 +00:00
Henry Mercer
9b345a50dd
Only warn once about the CodeQL CLI being unsupported soon
2023-07-06 17:28:37 +01:00
Henry Mercer
3a960869ac
Simplify definitions of environment variables
2023-07-06 17:28:37 +01:00
Mathias Vorreiter Pedersen
59c6251800
Fix README link
2023-07-06 17:14:12 +01:00
Henry Mercer
485b5809e8
Add deprecation warning for CodeQL CLIs < 2.9.4
2023-07-06 16:51:58 +01:00
github-actions[bot]
e97b7675af
Update changelog and version after v2.20.3
2023-07-06 13:51:01 +00:00
Dave Bartolomeo
46ed16ded9
Merge pull request #1754 from github/update-v2.20.3-a2d725ddd
...
Merge main into releases/v2
2023-07-06 09:48:42 -04:00
github-actions[bot]
d0206e8c49
Update changelog for v2.20.3
2023-07-06 13:14:11 +00:00
Henry Mercer
a2d725ddd0
Merge pull request #1753 from github/henrymercer/new-analysis-summary
...
Add support for new analysis summaries
2023-07-06 11:46:16 +01:00
Henry Mercer
bbefc2b931
Merge branch 'main' into henrymercer/new-analysis-summary
2023-07-06 10:58:28 +01:00
Henry Mercer
8c2e08da10
Merge pull request #1752 from github/henrymercer/export-config-by-default
...
Remove feature flag for exporting the code scanning configuration
2023-07-06 10:57:31 +01:00
Henry Mercer
0c1d7efb0a
Add support for new analysis summaries
2023-07-05 18:56:55 +01:00
Henry Mercer
56beae86dd
Remove feature flag for exporting the code scanning configuration flag
2023-07-05 16:26:20 +01:00
Dave Bartolomeo
a42c0ca9fe
Merge pull request #1743 from github/update-bundle/codeql-bundle-v2.13.5
...
Update default bundle to 2.13.5
2023-07-05 11:12:27 -04:00
Angela P Wen
e960e482a4
Telemetry: send event report times as ISO strings ( #1751 )
2023-07-05 03:25:10 -07:00
Angela P Wen
bcb460dab8
Merge pull request #1747 from github/mergeback/v2.20.2-to-main-004c5de3
...
Mergeback v2.20.2 refs/heads/releases/v2 into main
2023-07-03 04:22:50 -07:00
github-actions[bot]
9f236e9f54
Update checked-in dependencies
2023-07-03 11:02:30 +00:00
github-actions[bot]
56f71445bc
Update changelog and version after v2.20.2
2023-07-03 11:00:39 +00:00
Angela P Wen
004c5de30b
Merge pull request #1746 from github/update-v2.20.2-7dfbc0e0d
...
Merge main into releases/v2
2023-07-03 03:58:33 -07:00
github-actions[bot]
cb0b0a398e
Update changelog for v2.20.2
2023-07-03 10:12:32 +00:00
dependabot[bot]
7dfbc0e0db
Bump semver from 7.3.8 to 7.5.2 ( #1745 )
...
* Bump semver from 7.3.8 to 7.5.2
Bumps [semver](https://github.com/npm/node-semver ) from 7.3.8 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v7.3.8...v7.5.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-03 07:45:09 +00:00
github-actions[bot]
66431bf9fd
Add changelog note
2023-06-30 17:50:09 +00:00
github-actions[bot]
1c88766d17
Update default bundle to codeql-bundle-v2.13.5
2023-06-30 17:50:05 +00:00
Angela P Wen
46a6823b81
Send new per-query alert count event reports for QA telemetry ( #1741 )
2023-06-30 07:53:13 -07:00
Henry Mercer
cff3d9e3c9
Merge pull request #1737 from github/mergeback/v2.20.1-to-main-f6e388eb
...
Mergeback v2.20.1 refs/heads/releases/v2 into main
2023-06-21 14:47:13 +01:00
github-actions[bot]
75c683d9b5
Update checked-in dependencies
2023-06-21 10:59:30 +00:00
github-actions[bot]
f4eef0bfda
Update changelog and version after v2.20.1
2023-06-21 10:57:02 +00:00
Henry Mercer
f6e388ebf0
Merge pull request #1736 from github/update-v2.20.1-4385ad556
...
Merge main into releases/v2
2023-06-21 11:54:43 +01:00
github-actions[bot]
2874247228
Update changelog for v2.20.1
2023-06-21 09:25:30 +00:00
Angela P Wen
4385ad5563
Send job_run_uuid to status report telemetry ( #1685 )
2023-06-20 23:45:51 -07:00
dependabot[bot]
8ba77ef4d3
Bump @octokit/types from 9.0.0 to 10.0.0 ( #1734 )
...
* Bump @octokit/types from 9.0.0 to 10.0.0
Bumps [@octokit/types](https://github.com/octokit/types.ts ) from 9.0.0 to 10.0.0.
- [Release notes](https://github.com/octokit/types.ts/releases )
- [Commits](https://github.com/octokit/types.ts/compare/v9.0.0...v10.0.0 )
---
updated-dependencies:
- dependency-name: "@octokit/types"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Angela P Wen <angelapwen@github.com >
2023-06-20 15:21:51 +00:00
Angela P Wen
82dbde173c
Fix setup-swift composite action for versions 5.8, 5.8.1 ( #1735 )
2023-06-20 07:43:31 -07:00
Henry Mercer
c6dff3470e
Merge pull request #1721 from github/update-bundle/codeql-bundle-v2.13.4
...
Update default bundle to 2.13.4
2023-06-19 20:52:42 +01:00
Henry Mercer
3e0c87dc38
Merge branch 'main' into update-bundle/codeql-bundle-v2.13.4
2023-06-19 11:57:24 +01:00
Henry Mercer
de74ca6211
Merge pull request #1732 from github/henrymercer/tolerate-unexpected-processing-statuses
...
Tolerate unexpected processing statuses for unsuccessful execution SARIF uploads
2023-06-19 10:06:30 +01:00
Henry Mercer
d6201b58de
Improve logging messages
2023-06-16 11:18:41 +01:00
Michael B. Gale
0ac18158d1
Merge pull request #1684 from github/mbg/add-resolve-environment
2023-06-15 17:50:42 +01:00
Michael B. Gale
d4006d9bc9
Improve step name in integration test
2023-06-15 15:46:54 +01:00
Henry Mercer
ee2b24e9fb
Merge pull request #1733 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions
2023-06-15 11:15:18 +01:00
Michael B. Gale
7e5bafcdb5
Use stable-v2.13.4 for integration test
2023-06-15 11:04:44 +01:00
Michael B. Gale
eb9703ee74
Reformat
2023-06-15 10:22:00 +01:00
Michael B. Gale
7a9f099940
Don't invoke CLI when command not supported
2023-06-15 10:15:03 +01:00
github-actions[bot]
b843f9522e
Update supported GitHub Enterprise Server versions
2023-06-15 00:12:06 +00:00
Michael B. Gale
899b5a286f
Continue after CLI errors
2023-06-14 16:02:54 +01:00
Henry Mercer
4d7934a07c
Tolerate unexpected processing statuses for red SARIF uploads
2023-06-14 14:20:27 +01:00
Michael B. Gale
f239f49a62
Rebuild integration test workflow
2023-06-13 20:51:45 +01:00
Michael B. Gale
c8785050e2
Improve changelog wording
2023-06-13 20:46:47 +01:00
Michael B. Gale
ba64fee9b1
Add CHANGELOG entry
2023-06-13 20:46:00 +01:00
Michael B. Gale
1c732358fa
Update working-directory description
2023-06-13 20:46:00 +01:00
Michael B. Gale
efe0e211bb
Update action description
2023-06-13 20:46:00 +01:00
Michael B. Gale
6419f994ff
Handle case where workingDir is undefined
2023-06-13 20:46:00 +01:00
Michael B. Gale
16f3f1a951
Remove validateWorkflow call
2023-06-13 20:45:59 +01:00
Michael B. Gale
8e75e1a14d
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-06-13 20:45:59 +01:00
Michael B. Gale
ef4bf4ae03
Use nightly-latest for test for now
2023-06-13 20:45:59 +01:00
Michael B. Gale
0b8c8128cf
Add integration test for resolve-environment
2023-06-13 20:45:59 +01:00
Michael B. Gale
64fa96a8b3
Report success
2023-06-13 20:45:59 +01:00
Michael B. Gale
829bba8836
Do not download CLI
2023-06-13 20:45:59 +01:00
Michael B. Gale
e08f131aab
Include CLI output in JSON error
2023-06-13 20:45:58 +01:00
Michael B. Gale
6f07b504a5
Propagate --working-dir argument
2023-06-13 20:45:58 +01:00
Michael B. Gale
fce65da29a
Remove BuildEnvironmentOS
2023-06-13 20:45:58 +01:00
Michael B. Gale
ddb13a1ac7
Rename actionName to ACTION_NAME
2023-06-13 20:45:58 +01:00
Michael B. Gale
aef016d9b5
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-06-13 20:45:58 +01:00
Michael B. Gale
8216c3a1b1
Install CodeQL as part of the action
2023-06-13 20:45:58 +01:00
Michael B. Gale
59a9e3a311
Fix formatting for runResolveBuildEnvironment
2023-06-13 20:45:57 +01:00
Michael B. Gale
527ea9408c
Add working-directory input
2023-06-13 20:45:57 +01:00
Michael B. Gale
4518431205
Fix: rename output
2023-06-13 20:45:57 +01:00
Michael B. Gale
0930314935
Add token and matrix inputs
2023-06-13 20:45:57 +01:00
Michael B. Gale
ee80b30f46
Add initial workflow code dependent on init
2023-06-13 20:45:57 +01:00
Michael B. Gale
4356c16c33
Add runResolveBuildEnvironment
2023-06-13 20:45:57 +01:00
Michael B. Gale
cc95e67380
Add resolve-environment to ActionName
2023-06-13 20:45:56 +01:00
Michael B. Gale
360d2b76b5
Update OS representation
2023-06-13 20:45:56 +01:00
Michael B. Gale
4322324628
Add resolveBuildEnvironment to CodeQL type
2023-06-13 20:45:56 +01:00
Michael B. Gale
dce63d8676
Add initial stub for resolve-environment action
2023-06-13 20:45:56 +01:00
dependabot[bot]
b8f204c619
Bump @octokit/plugin-retry from 4.0.4 to 5.0.2 ( #1726 )
...
* Bump @octokit/plugin-retry from 4.0.4 to 5.0.2
Bumps [@octokit/plugin-retry](https://github.com/octokit/plugin-retry.js ) from 4.0.4 to 5.0.2.
- [Release notes](https://github.com/octokit/plugin-retry.js/releases )
- [Commits](https://github.com/octokit/plugin-retry.js/compare/v4.0.4...v5.0.2 )
---
updated-dependencies:
- dependency-name: "@octokit/plugin-retry"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Angela P Wen <angelapwen@github.com >
2023-06-13 12:39:20 -07:00
Angela P Wen
5fa98fa5b2
Merge pull request #1731 from github/mergeback/v2.20.0-to-main-6c089f53
...
Mergeback v2.20.0 refs/heads/releases/v2 into main
2023-06-13 12:21:04 -07:00
github-actions[bot]
6bd6480037
Update checked-in dependencies
2023-06-13 18:27:20 +00:00
github-actions[bot]
e476d8b071
Update changelog and version after v2.20.0
2023-06-13 18:24:42 +00:00
Angela P Wen
6c089f53dd
Merge pull request #1730 from github/update-v2.20.0-d5b7b3823
...
Merge main into releases/v2
2023-06-13 11:22:32 -07:00
github-actions[bot]
484d2f8088
Update changelog for v2.20.0
2023-06-13 17:50:40 +00:00
Angela P Wen
d5b7b38233
Bump Action version to 2.20.0 ( #1729 )
2023-06-13 17:46:13 +00:00
Henry Mercer
64d6bfc2d6
Merge branch 'main' into update-bundle/codeql-bundle-v2.13.4
2023-06-13 14:10:34 +01:00
Henry Mercer
543e4689d0
Merge pull request #1725 from github/henrymercer/fix-flag-name
...
Fix the name of the disable Python dependency installation feature flag
2023-06-12 21:16:13 +01:00
Henry Mercer
c92053157f
Address review comments
...
Co-authored-by: Angela P Wen <angelapwen@github.com >
2023-06-12 19:31:25 +01:00
Henry Mercer
9f45792756
Update autogenerated notice to refer to specific ruamel.yaml version
2023-06-12 13:28:11 +01:00
Henry Mercer
98884904a2
Update checks formatting
2023-06-12 13:28:01 +01:00
Henry Mercer
5be8bd1c16
Pin version of ruamel.yaml to avoid checks breaking
2023-06-12 13:28:00 +01:00
Henry Mercer
eb5d323227
Bump minor version number
2023-06-12 12:02:38 +01:00
Henry Mercer
bce99ca79f
Fix the name of the disable Python dependency installation feature flag
2023-06-12 11:55:51 +01:00
Henry Mercer
e287d85c90
Merge pull request #1723 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions
2023-06-12 11:45:24 +01:00
Henry Mercer
834c357222
Add changelog note
2023-06-12 11:36:47 +01:00
Henry Mercer
7bd23b58b5
Remove support for CodeQL CLI 2.9.3 and earlier
2023-06-12 11:34:01 +01:00
Henry Mercer
f1c4784a3f
Update checks
2023-06-12 11:26:55 +01:00
Henry Mercer
a590b4afa7
Bump minimum CodeQL version to 2.9.4
2023-06-12 11:22:22 +01:00
github-actions[bot]
cd5b1ee5cf
Update supported GitHub Enterprise Server versions
2023-06-10 00:11:27 +00:00
Henry Mercer
5dcc7c296d
Merge pull request #1719 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions
2023-06-09 14:11:48 +01:00
github-actions[bot]
3437c495bd
Add changelog note
2023-06-09 12:27:30 +00:00
github-actions[bot]
c94b9997cc
Update default bundle to codeql-bundle-v2.13.4
2023-06-09 12:27:25 +00:00
github-actions[bot]
921d191150
Update supported GitHub Enterprise Server versions
2023-06-07 00:12:13 +00:00
Angela P Wen
cdcdbb5797
PR checks: stop setting experimental Swift var for new CLI versions ( #1718 )
...
Now that `latest` and `cached` are both 2.13.3, which is the version in which we GA'ed Swift, we should stop setting this experimental variable when we test these CLI versions so we can test the case where the variable is unset.
2023-06-06 08:49:09 -07:00
Henry Mercer
8b0f2cf9da
Merge pull request #1717 from github/henrymercer/fix-changelog
...
Fix changelog for 2.3.6
2023-06-05 19:44:53 +01:00
Henry Mercer
a35a881b65
Fix changelog for 2.3.6
2023-06-05 19:14:03 +01:00
Henry Mercer
d8667207b6
Merge pull request #1714 from github/mergeback/v2.3.6-to-main-83f0fe6c
...
Mergeback v2.3.6 refs/heads/releases/v2 into main
2023-06-05 19:12:50 +01:00
Henry Mercer
926a4898bc
Merge pull request #1712 from github/henrymercer/remove-unused-env-var
...
Remove unused `CODESCANNING_EVENT_NAME` environment variable
2023-06-01 18:28:45 +01:00
github-actions[bot]
5c63cc5b1c
Update checked-in dependencies
2023-06-01 15:34:00 +00:00
github-actions[bot]
30a3b9a904
Update changelog and version after v2.3.6
2023-06-01 15:27:36 +00:00
Alexander Eyers-Taylor
83f0fe6c49
Merge pull request #1713 from github/update-v2.3.6-96f284028
...
Merge main into releases/v2
2023-06-01 16:25:43 +01:00
github-actions[bot]
5c8f4be0e9
Update changelog for v2.3.6
2023-06-01 13:04:31 +00:00
Henry Mercer
96f2840282
Merge pull request #1711 from github/henrymercer/improve-supported-versions-update
...
Improve automation for updating supported versions of GHES
2023-05-31 18:26:51 +01:00
Henry Mercer
dfc31c9995
Convert actions-util docs to JSDoc
2023-05-31 17:49:42 +01:00
Henry Mercer
019a40b91a
Inline checks for producing a better error message for Dependabot PRs
2023-05-31 17:42:45 +01:00
Henry Mercer
ae005db7f8
Merge branch 'main' into henrymercer/remove-unused-env-var
2023-05-31 17:41:04 +01:00
Henry Mercer
89c4c9e65c
Merge pull request #1678 from github/henrymercer/default-setup-safeguarding
...
Flag up functionality that may not exist in default setup workflows
2023-05-31 17:33:30 +01:00
Henry Mercer
26f16a5e63
Rephrase the still supported calculation to make it clearer
2023-05-31 17:20:39 +01:00
Henry Mercer
955f8596ae
Fix sign error
2023-05-31 16:49:34 +01:00
Henry Mercer
e7cff66ce1
Fix push
2023-05-31 16:35:12 +01:00
Henry Mercer
bf419682de
Remove unused CODESCANNING_EVENT_NAME environment variable
2023-05-31 15:37:11 +01:00
Henry Mercer
afdba76326
Wait a week before dropping support for end of life GHES versions
2023-05-31 15:00:19 +01:00
Henry Mercer
07e43a2208
Open PR with gh CLI
2023-05-31 14:39:03 +01:00
Henry Mercer
9632771630
Address review comments
2023-05-31 14:23:43 +01:00
Alexander Eyers-Taylor
9d2dd7cfea
Merge pull request #1698 from github/update-bundle/codeql-bundle-20230524
...
Update default bundle to 2.13.3
2023-05-31 12:29:26 +01:00
Henry Mercer
d427c89ed7
Ignore internal Actions
2023-05-30 20:31:56 +01:00
Henry Mercer
125ff5530c
Fix deprecation warnings
2023-05-30 20:31:40 +01:00
Henry Mercer
86ead5e019
Only flag up the deepest properties
2023-05-30 19:50:56 +01:00
Henry Mercer
eb1c7a3887
Use getRefFromEnv() so ref is present on default setup
2023-05-30 19:39:53 +01:00
Henry Mercer
6bd8101752
Merge pull request #1709 from github/henrymercer/print-baseline-once
...
Only print lines of code information once
2023-05-26 21:03:22 +01:00
Henry Mercer
2408985f4e
Only print lines of code information once
...
CodeQL already prints it, so we don't need to print it again.
2023-05-26 20:34:30 +01:00
Henry Mercer
f8b1cb6997
Merge pull request #1695 from github/henrymercer/update-requests
...
PR checks: Update requests to 2.31.0
2023-05-26 11:10:44 +01:00
Andrew Eisenberg
2d031a36d6
Merge pull request #1707 from github/mergeback/v2.3.5-to-main-0225834c
...
Mergeback v2.3.5 refs/heads/releases/v2 into main
2023-05-25 12:50:21 -07:00
github-actions[bot]
1ba7713018
Update checked-in dependencies
2023-05-25 19:23:44 +00:00
github-actions[bot]
339e0d5afb
Update changelog and version after v2.3.5
2023-05-25 19:12:36 +00:00
Andrew Eisenberg
0225834cc5
Merge pull request #1706 from github/update-v2.3.5-d3314cca2
...
Merge main into releases/v2
2023-05-25 12:10:52 -07:00
Andrew Eisenberg
15f9b00614
Apply suggestions from code review
2023-05-25 11:42:54 -07:00
github-actions[bot]
ff82fd0736
Update changelog for v2.3.5
2023-05-25 18:22:27 +00:00
Andrew Eisenberg
d3314cca22
Merge pull request #1705 from github/aeisenberg/location-uri-schema-fix
2023-05-25 10:45:48 -07:00
Andrew Eisenberg
42add7b4d7
Update changelog
2023-05-25 10:21:47 -07:00
Andrew Eisenberg
9c5706e1a2
Avoid throwing validation error on invalid URIs
...
The recent update of jsonschema inadvertently caused extra validation of
`uri-reference` formatted properties. This change ensures that these
errors are converted to warnings.
Note that we cannot revert the change to jsonschema since the old
version does not handle `uniqueItems` correctly.
2023-05-25 10:18:12 -07:00
Henry Mercer
3912995667
Merge pull request #1704 from github/henrymercer/contributions-updates
...
Contributing documentation updates
2023-05-25 17:33:19 +01:00
Henry Mercer
8d7f61b8f2
Update npm version
2023-05-25 17:06:08 +01:00
Henry Mercer
50bc388cfc
Update Node version
2023-05-25 17:04:40 +01:00
Henry Mercer
4a409ace8f
Link to CONTRIBUTING doc from README
2023-05-25 17:03:48 +01:00
Henry Mercer
41499f5466
Merge pull request #1702 from github/henrymercer/update-github-actions-email
...
Fix GitHub Actions email
2023-05-25 16:19:18 +01:00
Henry Mercer
1023a086ae
Merge pull request #1694 from jsoref/fixes
...
Fix running tests on forks, and handle invalid URIs when fingerprinting
2023-05-25 15:41:27 +01:00
Josh Soref
cc5f2fb439
Gracefully handle decodeURIComponent failure
2023-05-25 09:15:55 -04:00
Josh Soref
789f65c9ee
Improving handling of uploadFailedSarifResult -> [Object object]
2023-05-25 09:15:55 -04:00
Josh Soref
a5879b7b6e
Tolerate forks of github/codeql-action
2023-05-25 09:14:30 -04:00
Henry Mercer
3da4cbfc79
Fix GitHub Actions email
2023-05-25 11:27:13 +01:00
Henry Mercer
5f061ca665
Merge pull request #1697 from github/fixInvalidNotifications-shortcut
...
Avoid parsing SARIF file when workaround for duplicate notification locations is disabled
2023-05-25 10:45:50 +01:00
Angela P Wen
11ea309db5
Merge pull request #1701 from github/mergeback/v2.3.4-to-main-f0e3dfb3
...
Mergeback v2.3.4 refs/heads/releases/v2 into main
2023-05-24 16:21:39 -07:00
github-actions[bot]
1319d54f85
Update checked-in dependencies
2023-05-24 22:19:26 +00:00
github-actions[bot]
59d27da76b
Update changelog and version after v2.3.4
2023-05-24 22:16:43 +00:00
Angela P Wen
f0e3dfb303
Merge pull request #1700 from github/update-v2.3.4-570734c55
...
Merge main into releases/v2
2023-05-24 15:14:53 -07:00
Josh Soref
dba4f66682
Grant security-events: write permissions
2023-05-24 18:14:01 -04:00
Josh Soref
8f9b20ba50
Clarify how to update workflows
2023-05-24 18:14:01 -04:00
Angela P Wen
0d65621757
Update CHANGELOG.md
2023-05-24 14:49:16 -07:00
github-actions[bot]
c3ae9dcd15
Update changelog for v2.3.4
2023-05-24 21:41:27 +00:00
Angela P Wen
570734c55c
Remove unnecessary conditional for Ruby autodetect ( #1699 )
...
We should check language autodetect for Ruby unconditionally. We can now move it into the step that checks all other languages.
2023-05-24 18:33:06 +00:00
Henry Mercer
65920dd33a
Unconditionally set up Swift in debug artifacts PR check
2023-05-24 18:28:18 +01:00
Henry Mercer
60f5c59630
Merge branch 'main' into update-bundle/codeql-bundle-20230524
2023-05-24 18:04:09 +01:00
Henry Mercer
0962265901
Merge branch 'main' into fixInvalidNotifications-shortcut
2023-05-24 18:00:28 +01:00
Henry Mercer
143b5fb429
Merge branch 'main' into henrymercer/update-requests
2023-05-24 18:00:08 +01:00
Angela P Wen
8c923c00a3
Fix Swift PR Checks on nightly-latest CLI ( #1696 )
2023-05-24 17:59:40 +01:00
github-actions[bot]
34e8e09ae4
Add changelog note
2023-05-24 16:01:57 +00:00
github-actions[bot]
4f41ff7fc8
Update default bundle to codeql-bundle-20230524
2023-05-24 16:01:53 +00:00
Stephan Brandauer
636b9eab1d
add rebuilt lib
2023-05-24 12:12:27 +00:00
Stephan Brandauer
153cab09da
jsdoc for fixInvalidNotificationsInFile
2023-05-24 12:09:28 +00:00
Stephan Brandauer
dddabd0d26
add rebuilt lib
2023-05-24 11:51:57 +00:00
Stephan Brandauer
3100e1e354
move check to calling function
...
DISABLE_DUPLICATE_LOCATION_FIX - this is to avoid needless crashes on
large sarif files
2023-05-24 11:46:19 +00:00
Henry Mercer
6e92b190d0
Bump requests to 2.31.0
2023-05-23 17:07:30 +01:00
Henry Mercer
292bb7c0b9
Parameterize check scripts over requests version
2023-05-23 17:07:30 +01:00
Henry Mercer
1245696032
Merge pull request #1687 from github/henrymercer/update-changelog-note
...
Push back semver CodeQL bundles
2023-05-22 17:11:03 +01:00
Henry Mercer
317cd34a7a
Push back semver CodeQL bundles
...
Push back the first bundle released using a semantic version number to 2.13.4 now that we're skipping 2.13.2.
2023-05-22 11:00:25 +01:00
Henry Mercer
6cfb483131
Merge pull request #1682 from github/henrymercer/semver-bundles
...
Extract semantic CLI version from URL when requesting specific tools
2023-05-18 11:32:45 +01:00
Henry Mercer
a5f4123fb0
Improve changelog note
2023-05-17 18:23:54 +01:00
Henry Mercer
50931b43dd
Add changelog note
2023-05-17 14:57:27 +01:00
Henry Mercer
f54f0731d1
Merge branch 'main' into henrymercer/semver-bundles
2023-05-17 14:45:33 +01:00
Henry Mercer
ca6b925548
Merge pull request #1681 from github/henrymercer/remove-redundant-flag
...
Remove redundant query help version flag
2023-05-16 19:50:47 +01:00
Henry Mercer
d439786b65
Merge branch 'main' into henrymercer/remove-redundant-flag
2023-05-16 19:21:22 +01:00
Henry Mercer
f5159143cd
Merge pull request #1680 from github/henrymercer/handle-swift-promotion
...
Use `resolve extractor` when finding autobuild scripts
2023-05-16 19:19:11 +01:00
Henry Mercer
a1be09ed8a
Remove redundant query help version flag
2023-05-16 18:20:13 +01:00
Henry Mercer
2bf10dc4b9
Extract semantic CLI version from URL when requesting specific tools
2023-05-16 14:47:32 +01:00
Henry Mercer
e422b64793
Use resolve extractor when finding autobuild scripts
2023-05-16 11:18:16 +01:00
Henry Mercer
eac5e24aee
Downgrade query severity to warning
2023-05-16 11:06:13 +01:00
Rasmus Wriedt Larsen
5489416722
Merge pull request #1676 from github/rasmuswl/python-disable-dependency-installation
...
Feature flag to disable python dependency installation
2023-05-16 10:40:47 +02:00
Rasmus Wriedt Larsen
dc0f6da426
Update CHANGELOG.md
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-05-15 12:38:10 +02:00
Rasmus Wriedt Larsen
e1cca2565c
Generate JS
2023-05-15 12:05:50 +02:00
Rasmus Wriedt Larsen
cf58ef4480
Update wording for CODEQL_PYTHON warning
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-05-15 12:05:03 +02:00
Henry Mercer
8065746a2a
Add query to find context variables that may not work with default setup
2023-05-12 19:35:08 +01:00
Henry Mercer
abb267d186
Add query to identify env vars that may not work with default setup
2023-05-12 18:46:31 +01:00
Rasmus Wriedt Larsen
fce87bbc67
Generate JS
2023-05-12 10:00:31 +02:00
Rasmus Wriedt Larsen
cc641561b7
Improve python warning message
...
The last dot in `=3.11.` is just slightly confusing, so added single
quotes around the environment variable assignments to make it 100% clear
2023-05-12 09:59:20 +02:00
Rasmus Wriedt Larsen
c237da1a2f
Fix linting errors
2023-05-12 09:58:30 +02:00
Rasmus Wriedt Larsen
cbc79bf64b
Merge branch 'main' into rasmuswl/python-disable-dependency-installation
2023-05-12 09:55:57 +02:00
Rasmus Wriedt Larsen
b8f39fe0f5
Use features properly in setupPythonExtractor
2023-05-12 09:55:22 +02:00
Henry Mercer
9953504776
Use new packaging mechanism for internal queries
2023-05-11 18:43:36 +01:00
Henry Mercer
130884e4e1
Merge pull request #1675 from shaikhul/remove-consts
...
Remove MismatchedBranches check from code scanning workflow validation
2023-05-11 15:45:33 +01:00
Shaikhul Islam
a0755a79b6
Update CHANGELOG.md
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-05-11 10:22:57 -04:00
Shaikhul Islam
903cb278c5
recompile src
2023-05-11 14:16:34 +00:00
Shaikhul Islam
e5fdcd4a8f
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-05-11 09:29:25 -04:00
Rasmus Wriedt Larsen
eb8a70647a
Update CHANGELOG.md
2023-05-11 12:18:29 +02:00
Rasmus Wriedt Larsen
0ccdbf8cd5
Feature flag to disable python dependency installation
2023-05-11 12:14:04 +02:00
Shaikhul Islam
c26fc558ba
revert MissingPushHook checks changes
2023-05-10 20:37:56 +00:00
Shaikhul Islam
f8707c9939
update changelog
2023-05-10 15:01:33 +00:00
Shaikhul Islam
699855c048
fix linter issue
2023-05-09 15:05:36 +00:00
Shaikhul Islam
edb138ff88
remove consts MismatchedBranches and MissingPushHook
2023-05-09 14:39:49 +00:00
Andrew Eisenberg
95cfca769b
Merge pull request #1673 from github/dependabot/github_actions/peter-evans/create-pull-request-5.0.1
...
Bump peter-evans/create-pull-request from 5.0.0 to 5.0.1
2023-05-08 12:25:32 -07:00
dependabot[bot]
9c51a58355
Bump peter-evans/create-pull-request from 5.0.0 to 5.0.1
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](5b4a9f6a9e...284f54f989 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-08 18:00:47 +00:00
Aditya Sharad
deb312c60b
Merge pull request #1672 from github/aeisenberg/sarif-again
...
Fix broken regex
2023-05-05 12:53:12 -07:00
Andrew Eisenberg
9824588133
Fix broken regex
...
`($i)` is not valid for javascript regexes.
2023-05-05 12:02:19 -07:00
Andrew Eisenberg
11fba50273
Merge pull request #1668 from github/aeisenberg/update-sarif-schema
2023-05-05 09:14:24 -07:00
Andrew Eisenberg
684c4b5c77
Update CHANGELOG.md
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2023-05-05 08:41:11 -07:00
Dave Bartolomeo
1e1aca8165
Merge pull request #1670 from github/mergeback/v2.3.3-to-main-29b1f65c
...
Mergeback v2.3.3 refs/heads/releases/v2 into main
2023-05-04 15:27:32 -04:00
github-actions[bot]
898fba281b
Update checked-in dependencies
2023-05-04 19:02:16 +00:00
github-actions[bot]
913b8b11ad
Update changelog and version after v2.3.3
2023-05-04 18:53:44 +00:00
Dave Bartolomeo
29b1f65c5e
Merge pull request #1669 from github/update-v2.3.3-318bcc7f8
...
Merge main into releases/v2
2023-05-04 14:52:14 -04:00
github-actions[bot]
140500d80a
Update changelog for v2.3.3
2023-05-04 18:24:50 +00:00
Dave Bartolomeo
318bcc7f84
Merge pull request #1664 from github/update-bundle/codeql-bundle-20230428
...
Update default bundle to 2.13.1
2023-05-04 00:32:01 -04:00
Dave Bartolomeo
f72bf5dfb3
Fix workflow formatting
2023-05-03 21:43:47 -04:00
Dave Bartolomeo
33461954a5
Merge branch 'main' into update-bundle/codeql-bundle-20230428
2023-05-03 19:02:27 -04:00
Andrew Eisenberg
3df80238a3
Re-run sync.py with new ruamel.yaml
2023-05-02 15:19:05 -07:00
Andrew Eisenberg
ef88842204
Update jsonschema version
...
Fixes bug in `uniqueItems` property.
2023-05-02 14:26:17 -07:00
Andrew Eisenberg
ece3cbc8ec
Update changelog
2023-05-02 13:52:28 -07:00
Andrew Eisenberg
febbadf751
Update the sarif schema file
...
The version we were using is quite old. Copied the latest from
123e95847b/Schemata/sarif-schema-2.1.0.json
I do not think the sarif spec will be changing any more without
an explicit version update, so this is fine for now.
2023-05-02 13:46:24 -07:00
Andrew Eisenberg
8ca5570701
Merge pull request #1666 from github/aeisenberg/readme-update
...
Add link to changenote for custom config
2023-05-01 15:07:45 -07:00
Andrew Eisenberg
b1b3d00b62
Add link to changenote for custom config
...
Also, use a better link in the readme.
2023-05-01 11:06:31 -07:00
Andrew Eisenberg
d2f6dfd52d
Merge pull request #1665 from github/aeisenberg/config-param
...
Add new configuration Parameter
2023-05-01 10:26:31 -07:00
Andrew Eisenberg
cba5616040
Update CHANGELOG.md
2023-05-01 09:21:50 -07:00
github-actions[bot]
40c95932fe
Add changelog note
2023-05-01 03:46:54 +00:00
github-actions[bot]
234badad23
Update default bundle to codeql-bundle-20230428
2023-05-01 03:46:50 +00:00
Andrew Eisenberg
824d18c689
Merge remote-tracking branch 'upstream/main' into issue-1589-config-param
2023-04-28 11:34:52 -07:00
Angela P Wen
f31a31c052
Merge pull request #1663 from github/mergeback/v2.3.2-to-main-f3feb00a
...
Mergeback v2.3.2 refs/heads/releases/v2 into main
2023-04-27 14:00:39 -07:00
github-actions[bot]
e3395de200
Update checked-in dependencies
2023-04-27 18:52:55 +00:00
github-actions[bot]
1cccbfcedc
Update changelog and version after v2.3.2
2023-04-27 18:51:28 +00:00
Angela P Wen
f3feb00acb
Merge pull request #1662 from github/update-v2.3.2-8b12d99ee
...
Merge main into releases/v2
2023-04-27 11:49:50 -07:00
github-actions[bot]
1c9e206df3
Update changelog for v2.3.2
2023-04-27 18:18:58 +00:00
Angela P Wen
8b12d99ee5
Fix bug where run attempt was reported as run ID ( #1661 )
2023-04-27 18:05:34 +00:00
Angela P Wen
dcf71cf79b
Merge pull request #1660 from github/mergeback/v2.3.1-to-main-8662eabe
...
Mergeback v2.3.1 refs/heads/releases/v2 into main
2023-04-26 14:15:40 -07:00
github-actions[bot]
194450bdd6
Update checked-in dependencies
2023-04-26 20:48:31 +00:00
github-actions[bot]
e78ef455a8
Update changelog and version after v2.3.1
2023-04-26 20:44:18 +00:00
Angela P Wen
8662eabe0e
Merge pull request #1659 from github/update-v2.3.1-da583b07a
...
* Update changelog and version after v2.3.0
* Update checked-in dependencies
* Throw full error for CLI bundle download (#1657 )
* Add `workload_run_attempt` to analysis upload (#1658 )
* Refactor status report upload logic
Previously we had duplicated the logic to check `GITHUB_RUN_ID`. We now call the `getWorkflowRunID()` method for the status report upload method, and move the logic for the run attempt to `getWorkflowRunAttempt()`
* Add `workflow_run_attempt` to analysis payload
* Stop allowing `undefined` run IDs and attempts
Because we already throw an error if the ID or attempt aren't numbers, we don't have to allow `undefined` values into the payload.
* Update changelog for v2.3.1
---------
Co-authored-by: github-actions[bot] <github-actions@github.com >
Co-authored-by: Chuan-kai Lin <cklin@github.com >
Co-authored-by: Angela P Wen <angelapwen@github.com >
2023-04-26 13:42:37 -07:00
github-actions[bot]
1f2f707d99
Update changelog for v2.3.1
2023-04-26 20:16:15 +00:00
Angela P Wen
da583b07a7
Add workload_run_attempt to analysis upload ( #1658 )
...
* Refactor status report upload logic
Previously we had duplicated the logic to check `GITHUB_RUN_ID`. We now call the `getWorkflowRunID()` method for the status report upload method, and move the logic for the run attempt to `getWorkflowRunAttempt()`
* Add `workflow_run_attempt` to analysis payload
* Stop allowing `undefined` run IDs and attempts
Because we already throw an error if the ID or attempt aren't numbers, we don't have to allow `undefined` values into the payload.
2023-04-26 02:13:27 +00:00
Angela P Wen
a9648ea7c6
Throw full error for CLI bundle download ( #1657 )
2023-04-24 07:46:45 -07:00
Chuan-kai Lin
c5f3f016ae
Merge pull request #1656 from github/mergeback/v2.3.0-to-main-b2c19fb9
...
Mergeback v2.3.0 refs/heads/releases/v2 into main
2023-04-21 12:43:38 -07:00
github-actions[bot]
90f053271e
Update checked-in dependencies
2023-04-21 19:12:19 +00:00
github-actions[bot]
0f085f964c
Update changelog and version after v2.3.0
2023-04-21 19:09:10 +00:00
Chuan-kai Lin
b2c19fb9a2
Merge pull request #1655 from github/update-v2.3.0-a8affb063
...
Merge main into releases/v2
2023-04-21 12:07:18 -07:00
github-actions[bot]
b203f98343
Update changelog for v2.3.0
2023-04-21 18:24:50 +00:00
Chuan-kai Lin
a8affb0639
Merge pull request #1649 from github/cklin/codeql-cli-2.13.0
...
Update default CodeQL bundle version to 2.13.0
2023-04-20 07:39:38 -07:00
Henry Mercer
b8cc643a23
Merge branch 'main' into cklin/codeql-cli-2.13.0
2023-04-20 11:23:25 +01:00
Henry Mercer
7019a9c6fd
Merge pull request #1618 from github/henrymercer/remove-legacy-tracing
...
Remove legacy tracing
2023-04-20 11:22:32 +01:00
Henry Mercer
66f62df188
Merge branch 'main' into henrymercer/remove-legacy-tracing
2023-04-19 15:56:42 +01:00
Henry Mercer
afdf30f311
Merge pull request #1652 from github/henrymercer/fix-bundle-version
...
Fix the `bundleVersion` field set by the automated bundle update PR
2023-04-18 21:04:26 +01:00
Henry Mercer
55a2e70992
Autoformat index.ts
2023-04-18 18:59:36 +01:00
Henry Mercer
1c2f282107
Fix bundle version
...
It's the whole tag, we don't want to remove the `codeql-bundle-` prefix.
2023-04-18 18:59:09 +01:00
tgrall
47cec7ab01
add test with config file and input together
2023-04-18 06:01:33 +02:00
tgrall
7b876ae4f4
remove space from json string
2023-04-18 05:46:51 +02:00
tgrall
f398a65921
fix after review from @henrymercer
2023-04-18 05:43:21 +02:00
dependabot[bot]
9a866ed452
Bump swift-actions/setup-swift in /.github/actions/setup-swift ( #1650 )
...
Bumps [swift-actions/setup-swift](https://github.com/swift-actions/setup-swift ) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/swift-actions/setup-swift/releases )
- [Commits](da0e3e04b5...65540b95f5 )
---
updated-dependencies:
- dependency-name: swift-actions/setup-swift
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 19:16:10 +00:00
Chuan-kai Lin
7867d03591
Update default CodeQL bundle version to 2.13.0
2023-04-14 15:28:21 -07:00
Chuan-kai Lin
be2b53b5c7
Merge pull request #1648 from github/cklin/update-bundle-trigger
...
Fix pre-release trigger for update-bundle action
2023-04-14 15:11:42 -07:00
Chuan-kai Lin
ae24b75fca
Fix pre-release trigger for update-bundle action
...
This PR switches the update-bundle release trigger from `prereleased` to `published` because the former has been documented not to work.
From https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release :
> Note: The prereleased type will not trigger for pre-releases published from draft releases, but the published type will trigger. If you want a workflow to run when stable and pre-releases publish, subscribe to published instead of released and prereleased.
2023-04-14 14:50:37 -07:00
Henry Mercer
dc046388f3
Merge pull request #1647 from github/mergeback/v2.2.12-to-main-7df0ce34
...
Mergeback v2.2.12 refs/heads/releases/v2 into main
2023-04-13 17:23:16 +01:00
github-actions[bot]
b4fa971e40
Update checked-in dependencies
2023-04-13 15:50:19 +00:00
github-actions[bot]
7879209bb2
Update changelog and version after v2.2.12
2023-04-13 14:03:50 +00:00
Henry Mercer
7df0ce3489
Merge pull request #1646 from github/update-v2.2.12-d944b3423
...
Merge main into releases/v2
2023-04-13 15:01:19 +01:00
github-actions[bot]
fbedecac34
Update changelog for v2.2.12
2023-04-13 11:35:13 +00:00
Henry Mercer
d944b3423d
Merge pull request #1619 from github/henrymercer/default-setup-workflow
...
Allow workflow to be passed via an environment variable for default setup
2023-04-13 10:17:54 +01:00
Henry Mercer
e3210d8ce3
Add changelog note
2023-04-12 19:18:17 +01:00
Henry Mercer
599f4927f2
Allow passing the workflow via an environment variable
2023-04-12 14:14:43 +01:00
Henry Mercer
ed6c4995fc
Merge pull request #1645 from github/henrymercer/remove-dependencies
...
Remove unused dependencies
2023-04-11 16:27:15 +01:00
Henry Mercer
c2b5d643fd
Require xml2js >=0.5.0 to address CVE-2023-0842
2023-04-11 13:33:36 +01:00
Henry Mercer
8a093aa1a5
Merge branch 'main' into henrymercer/remove-legacy-tracing
2023-04-11 12:25:45 +01:00
Henry Mercer
9c13316a15
Remove unused dependencies
2023-04-11 12:17:38 +01:00
Angela P Wen
98f7bbd610
Add workflow_run_attempt data to status report ( #1640 )
2023-04-10 20:02:23 +00:00
dependabot[bot]
d7b9dcdb85
Bump peter-evans/create-pull-request from 4.2.4 to 5.0.0 ( #1643 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 4.2.4 to 5.0.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](38e0b6e68b...5b4a9f6a9e )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 11:27:05 -07:00
tgrall
fc374f5e9a
remove the documentation about workflow parameters
2023-04-10 07:59:26 +02:00
tgrall
b4e6f81a72
resolve comments from @henrymercer
2023-04-10 07:56:09 +02:00
Tugdual Grall
0b75f471b1
Update CHANGELOG.md : during PR Review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-04-10 07:38:51 +02:00
Tugdual Grall
c9f360d9af
Update README.md : during PR Review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-04-10 07:38:31 +02:00
Tugdual Grall
d2950c11f0
Update README.md : during PR Review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-04-10 07:37:52 +02:00
Tugdual Grall
a9fb7d923c
Update init/action.yml : PR review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-04-10 07:37:20 +02:00
Tugdual Grall
696504dcab
Accept change in PR
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-04-10 07:35:57 +02:00
Tugdual Grall
18f13455eb
Merge branch 'main' into issue-1589-config-param
2023-04-10 07:33:09 +02:00
Henry Mercer
988e1bc941
Merge pull request #1639 from github/mergeback/v2.2.11-to-main-d186a2a3
...
Mergeback v2.2.11 refs/heads/releases/v2 into main
2023-04-06 19:20:52 +01:00
github-actions[bot]
e12fed6a79
Update checked-in dependencies
2023-04-06 17:58:48 +00:00
github-actions[bot]
ca89579b06
Update changelog and version after v2.2.11
2023-04-06 17:31:29 +00:00
Henry Mercer
d186a2a36c
Merge pull request #1638 from github/update-v2.2.11-518b24fea
...
Merge main into releases/v2
2023-04-06 18:29:23 +01:00
github-actions[bot]
748f83eaab
Update changelog for v2.2.11
2023-04-06 17:08:10 +00:00
Henry Mercer
518b24fea4
Merge pull request #1637 from github/henrymercer/fix-init-exception-reporting
...
Report exceptions to telemetry in init Action
2023-04-06 17:57:29 +01:00
Henry Mercer
69371ffa95
Merge branch 'main' into henrymercer/fix-init-exception-reporting
2023-04-06 17:05:02 +01:00
Henry Mercer
e5c2f32a9f
Consistently wrap errors
2023-04-06 17:04:21 +01:00
Henry Mercer
c28edf06a1
Merge pull request #1636 from github/henrymercer/re-enable-duplicate-sarif-workaround
...
Re-enable duplicate SARIF notification location workaround
2023-04-06 16:45:06 +01:00
Henry Mercer
555b602b2f
Report exceptions to telemetry in init Action
2023-04-06 15:08:48 +01:00
Henry Mercer
7193623f40
Re-enable duplicate SARIF notification location workaround
2023-04-06 14:48:04 +01:00
Henry Mercer
2058418de9
Don't expect Swift baseline info on Windows
2023-04-05 20:41:23 +01:00
Henry Mercer
5da64f56c0
Set up Swift in unset environment workflow
2023-04-05 20:27:02 +01:00
Henry Mercer
322cea6439
Set up Swift in local bundle workflow
2023-04-05 19:31:20 +01:00
Henry Mercer
f7a67e4341
Merge branch 'main' into henrymercer/remove-legacy-tracing
2023-04-05 18:39:27 +01:00
Alexander Eyers-Taylor
f32426ba96
Merge pull request #1635 from github/mergeback/v2.2.10-to-main-8c8d71dd
...
Mergeback v2.2.10 refs/heads/releases/v2 into main
2023-04-05 18:13:33 +01:00
github-actions[bot]
173a94ca3f
Update checked-in dependencies
2023-04-05 16:53:56 +00:00
github-actions[bot]
8efbd5b301
Update changelog and version after v2.2.10
2023-04-05 16:15:52 +00:00
Alexander Eyers-Taylor
8c8d71dde4
Merge pull request #1634 from github/update-v2.2.10-66aeadb4c
...
Merge main into releases/v2
2023-04-05 17:13:56 +01:00
github-actions[bot]
d53297ef61
Update changelog for v2.2.10
2023-04-05 15:35:01 +00:00
Henry Mercer
66aeadb4c9
Merge pull request #1631 from github/henrymercer/duplicate-diagnostics-fixed-in-cli
...
Skip the SARIF notification object workaround for CLIs that have fixed this bug
2023-04-05 10:46:12 +01:00
Andrew Eisenberg
fa7cce4d4b
Merge pull request #1632 from github/aeisenberg/codeql-testing-org
...
Move to the codeql-testing org
2023-04-04 14:38:19 -07:00
Andrew Eisenberg
2754e10472
Move to the codeql-testing org
...
Refer to the packages in codeql-testing, not in dsp-testing.
2023-04-04 13:39:56 -07:00
Henry Mercer
3bba073180
Skip the SARIF notification object workaround for fixed CLIs
2023-04-04 18:19:05 +01:00
Alexander Eyers-Taylor
ae0109a777
Merge pull request #1629 from github/alexet/update-2.12.6-2
...
Update default CodeQL bundle version to 2.12.6
2023-04-04 16:32:13 +01:00
Alexander Eyers-Taylor
9c869ebf0d
Update default CodeQL bundle version to 2.12.6
2023-04-04 16:01:04 +01:00
Henry Mercer
f0a422fa27
Merge pull request #1630 from github/henrymercer/automate-bundle-upgrade
...
Automate the bundle upgrade
2023-04-03 20:07:03 +01:00
Henry Mercer
98173be3f0
Add a comment about lib/defaults.json
2023-04-03 19:39:22 +01:00
Henry Mercer
f6091a09eb
Use tee when setting env vars to improve debugging
2023-04-03 19:34:20 +01:00
Henry Mercer
a86046f817
Explain CLI version marker files
2023-04-03 19:32:03 +01:00
Henry Mercer
33f30874a7
Format .github/actions/update-bundle/index.ts
2023-04-03 19:30:07 +01:00
Henry Mercer
1c0a788663
Add workflow to automatically update the bundle
2023-04-03 19:10:01 +01:00
Henry Mercer
e85546ccca
Move internal Actions into .github/actions
...
This is a more standard location for these custom Actions.
2023-04-03 18:29:29 +01:00
tgrall
fe4a785361
rename new parameter from configuration to config
2023-04-01 07:13:01 +02:00
Henry Mercer
bb28e7e59e
Merge pull request #1626 from github/henrymercer/diagnostics-ghes
...
Enable diagnostics functionality on GHES
2023-03-30 10:22:39 +01:00
Henry Mercer
69aec345f1
Pass negative SARIF include diagnostics flag when feature is disabled
...
In preparation for enabling this flag by default in the CLI
2023-03-29 18:56:19 +01:00
Henry Mercer
29a4713933
Enable diagnostics functionality on GHES
2023-03-29 18:45:27 +01:00
Henry Mercer
d838bacfbe
Simplify matrix
2023-03-29 15:48:13 +01:00
Robin Neatherway
dc81ae3368
Merge pull request #1625 from github/rneatherway/rm-old-checks
...
Remove checks for triggering on specific paths
2023-03-29 13:28:57 +01:00
Henry Mercer
72d018e267
Improve serialization of Swift environment variable if expression
2023-03-29 13:15:59 +01:00
Henry Mercer
9975b733f4
Fix bundle version comments
2023-03-29 13:03:45 +01:00
Henry Mercer
6cd5121600
Merge branch 'main' into henrymercer/remove-legacy-tracing
2023-03-29 13:03:14 +01:00
Robin Neatherway
f6e4cff38a
Remove checks for triggering on specific paths
...
These are no longer necessary with the new approach to selecting
alerts to show on pull requests.
2023-03-29 11:02:16 +02:00
Henry Mercer
fff3a80b5b
Merge pull request #1620 from github/henrymercer/disable-flaky-check
...
Disable flaky Swift autobuild checks
2023-03-28 21:01:11 +01:00
Henry Mercer
ff39eb8d6a
Disable flaky Swift autobuild checks
2023-03-28 20:40:23 +01:00
Henry Mercer
6ef37003ca
Update CodeQL releases used in PR checks
2023-03-28 20:07:09 +01:00
Henry Mercer
d13d683355
Bump minor version number and add changelog note
2023-03-28 18:53:47 +01:00
Henry Mercer
d8fe76e161
Delete legacy tracing
2023-03-28 18:53:43 +01:00
Henry Mercer
4772c1d99f
Bump minimum version to 2.8.5
2023-03-28 17:24:45 +01:00
Andrew Eisenberg
f9c159f4fd
Merge pull request #1613 from github/aeisenberg/codeql-testing
...
Use new location for external queries
2023-03-27 17:35:01 -07:00
Andrew Eisenberg
0af0653ef4
Use new location for external queries
...
They have moved from `dsp-testing` to `codeql-testing`.
2023-03-27 16:11:45 -07:00
Henry Mercer
bc0ed6a6c3
Merge pull request #1610 from github/henrymercer/diagnostics-workaround-improvements
...
Follow-up improvements to the diagnostics workaround
2023-03-27 17:12:07 +01:00
Henry Mercer
b0e191ecbc
Merge pull request #1609 from github/mergeback/v2.2.9-to-main-04df1262
...
Mergeback v2.2.9 refs/heads/releases/v2 into main
2023-03-27 16:42:07 +01:00
Henry Mercer
57eca7cbb2
Use Array.isArray
2023-03-27 15:59:29 +01:00
Henry Mercer
1e7a38893c
Wrap reading and writing SARIF files
2023-03-27 15:44:47 +01:00
github-actions[bot]
2deae45400
Update checked-in dependencies
2023-03-27 14:03:17 +00:00
github-actions[bot]
32daed70e7
Update changelog and version after v2.2.9
2023-03-27 13:41:15 +00:00
Henry Mercer
04df1262e6
Merge pull request #1608 from github/update-v2.2.9-fb32c3fef
...
Merge main into releases/v2
2023-03-27 14:36:30 +01:00
Henry Mercer
f0988cbd79
Move changelog note to correct section
2023-03-27 11:57:26 +01:00
github-actions[bot]
fef20d6c35
Update changelog for v2.2.9
2023-03-27 10:53:14 +00:00
Henry Mercer
fb32c3fefd
Merge pull request #1605 from github/henrymercer/diagnostics-grouping-workaround
...
Work around duplicate locations bug in diagnostics export
2023-03-27 11:43:33 +01:00
Henry Mercer
329c022f48
Just check the number of locations
...
Only tests the property we are looking for and avoids problems with
different cross-platform behavior.
2023-03-24 21:50:26 +00:00
Henry Mercer
c8935d5a9d
Remove duplicate locations from failed run SARIF
2023-03-24 20:30:57 +00:00
Henry Mercer
ade432fd68
Remove duplicate locations from output of database interpret-results
2023-03-24 20:30:57 +00:00
Henry Mercer
6f852eeb38
Implement removing duplicate locations from a SARIF file
2023-03-24 20:30:57 +00:00
Henry Mercer
097ab4665f
Speed up checks a bit by just running the standard suite
2023-03-24 20:30:57 +00:00
Henry Mercer
befd804b8b
Extend diagnostics export integration test to capture location bug
2023-03-24 19:48:36 +00:00
Angela P Wen
a21bb7f968
Update upload input values and logic ( #1598 )
...
- The `upload` input to the `analyze` Action now accepts the following values:
- `always` is the default value, which uploads the SARIF file to Code Scanning for successful and failed runs.
- `failure-only` is recommended for customers post-processing the SARIF file before uploading it to Code Scanning. This option uploads debugging information to Code Scanning for failed runs to improve the debugging experience.
- `never` avoids uploading the SARIF file to Code Scanning even if the code scanning run fails. This is not recommended for external users since it complicates debugging.
- The legacy `true` and `false` options will be interpreted as `always` and `failure-only` respectively.
---------
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-03-23 17:23:25 +00:00
Charis Kyriakou
0214d1d378
Merge pull request #1603 from github/charisk/default-branch-analayzing-override
...
Add override for code scanning analysis of default branch
2023-03-23 14:21:05 +00:00
Charis Kyriakou
94cc1dea00
Add override for code scanning analysis of default branch
2023-03-23 13:31:00 +00:00
Henry Mercer
04f256d7e2
Merge pull request #1602 from github/mergeback/v2.2.8-to-main-67a35a08
...
Mergeback v2.2.8 refs/heads/releases/v2 into main
2023-03-22 19:48:28 +00:00
github-actions[bot]
0b08c9f2ff
Update checked-in dependencies
2023-03-22 19:14:19 +00:00
github-actions[bot]
1196b1ac0c
Update changelog and version after v2.2.8
2023-03-22 19:04:40 +00:00
Henry Mercer
67a35a0858
Merge pull request #1601 from github/update-v2.2.8-066b6343e
...
Merge main into releases/v2
2023-03-22 19:02:35 +00:00
github-actions[bot]
57571ab0cd
Update changelog for v2.2.8
2023-03-22 18:32:36 +00:00
Henry Mercer
066b6343ef
Merge pull request #1599 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions.
2023-03-22 18:26:37 +00:00
Robin Neatherway
aefd9896b1
Merge pull request #1597 from github/rneatherway/ghe-dotcom
...
Account for versioning of ghe.com
2023-03-22 17:21:10 +00:00
Robin Neatherway
3ca2260643
Account for versioning of ghe.com
2023-03-22 16:47:23 +00:00
GitHub
5f20b2c372
Update supported GitHub Enterprise Server versions.
2023-03-22 00:10:22 +00:00
Angela P Wen
760583e70d
Bump setup-go from v3 to v4 ( #1595 )
...
* Bump actions/setup-go from 3 to 4
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update autogenerated workflows
* Bump setup-go from v3 to v4
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 10:22:27 -07:00
Henry Mercer
0ef7eda548
Merge pull request #1585 from github/henrymercer/bundle-2.12.5
...
Update default bundle version to 2.12.5
2023-03-21 14:59:16 +00:00
Henry Mercer
86128131fa
Merge branch 'main' into henrymercer/bundle-2.12.5
2023-03-21 12:18:07 +00:00
Henry Mercer
ebbe965b43
Merge pull request #1588 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions.
2023-03-21 00:04:32 +00:00
Angela P Wen
3cbd063679
Upload per-database diagnostic SARIFs on green and red runs ( #1556 )
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-03-20 21:09:04 +00:00
dependabot[bot]
b4fba292aa
Bump typescript from 4.9.4 to 5.0.2 ( #1592 )
...
* Bump typescript from 4.9.4 to 5.0.2
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.9.4 to 5.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.9.4...v5.0.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
* Bump @typescript-eslint/parser for TS 5 compat
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions@github.com >
Co-authored-by: Henry Mercer <henrymercer@github.com >
2023-03-20 13:32:50 -07:00
dependabot[bot]
b55762b0a6
Bump actions/setup-go from 3 to 4 ( #1593 )
...
* Bump actions/setup-go from 3 to 4
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update autogenerated workflows
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Angela P Wen <angelapwen@github.com >
2023-03-20 13:31:56 -07:00
dependabot[bot]
91fb7b5c11
Bump peter-evans/create-pull-request from 4.2.3 to 4.2.4 ( #1594 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 4.2.3 to 4.2.4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](2b011faafd...38e0b6e68b )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 11:57:08 -07:00
Tugdual Grall
34231cfd52
fix CI failure - check js
2023-03-18 16:51:49 +00:00
Tugdual Grall
f1fb80a041
Update README.md
2023-03-18 16:17:44 +01:00
Tugdual Grall
f81f52702f
Update README.md - typo
2023-03-18 16:17:16 +01:00
Tugdual Grall
2f141340f0
fix linter issues
2023-03-18 15:14:34 +00:00
Tugdual Grall
94786b354b
update changelog
2023-03-18 13:48:45 +00:00
Tugdual Grall
ee44252240
- Add new configuration Parameter
...
- Write test to check it is read from configuration
- Update documentation
2023-03-18 13:40:54 +00:00
GitHub
978bc50f9b
Update supported GitHub Enterprise Server versions.
2023-03-18 00:11:16 +00:00
Henry Mercer
fb75ebd750
Merge pull request #1586 from github/henrymercer/enterprise-releases-ignore-classic-version
...
Ignore classic GHES version when updating supported versions
2023-03-17 18:03:36 +00:00
Henry Mercer
a2527628e8
Add a workflow_dispatch trigger
2023-03-17 13:54:10 +00:00
Henry Mercer
16b3d998b4
Ignore classic GHES version when updating supported versions
2023-03-17 13:53:24 +00:00
Henry Mercer
98a90dcce7
Update default bundle version to 2.12.5
2023-03-17 13:42:17 +00:00
Henry Mercer
d23060145b
Merge pull request #1582 from github/mergeback/v2.2.7-to-main-168b99b3
...
Mergeback v2.2.7 refs/heads/releases/v2 into main
2023-03-15 12:15:14 +00:00
github-actions[bot]
bd8fec7f9f
Update checked-in dependencies
2023-03-15 11:51:19 +00:00
github-actions[bot]
6a8522e57e
Update changelog and version after v2.2.7
2023-03-15 11:44:17 +00:00
Henry Mercer
168b99b3c2
Merge pull request #1581 from github/update-v2.2.7-433fe88bf
...
Merge main into releases/v2
2023-03-15 11:42:20 +00:00
github-actions[bot]
bc7318da91
Update changelog for v2.2.7
2023-03-15 10:39:32 +00:00
Andrew Eisenberg
433fe88bf3
Merge pull request #1579 from github/aeisenberg/no-upload-database
...
Avoid uploading databases after integration tests
2023-03-14 15:39:16 -07:00
Andrew Eisenberg
c208575433
Avoid uploading databases after integration tests
...
We are still getting coverage of the upload capability through the
standard codeql analysis workflow.
2023-03-14 14:55:58 -07:00
Henry Mercer
b8ea587211
Merge pull request #1578 from github/henrymercer/fix-circular-dependency
...
Fix a circular dependency that led a minimum version to be `undefined`
2023-03-14 21:31:47 +00:00
Henry Mercer
65f42e3768
Inline minimum version number to avoid circular dependency
2023-03-14 21:04:34 +00:00
Henry Mercer
d9ceda3823
Add debug logging for feature flag enablement
2023-03-14 20:57:55 +00:00
dependabot[bot]
19f00dc212
Bump @ava/typescript from 3.0.1 to 4.0.0 ( #1576 )
...
* Bump @ava/typescript from 3.0.1 to 4.0.0
Bumps [@ava/typescript](https://github.com/avajs/typescript ) from 3.0.1 to 4.0.0.
- [Release notes](https://github.com/avajs/typescript/releases )
- [Commits](https://github.com/avajs/typescript/compare/v3.0.1...v4.0.0 )
---
updated-dependencies:
- dependency-name: "@ava/typescript"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update checked-in dependencies
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions@github.com >
2023-03-13 14:10:40 -07:00
Henry Mercer
ec298233c1
Merge pull request #1565 from github/henrymercer/diagnostics-code-scanning-config
...
Export configuration information to SARIF
2023-03-13 16:44:23 +00:00
Henry Mercer
a92a14621b
Prefer core.info to console.log
2023-03-13 12:45:15 +00:00
Dave Bartolomeo
204eadab9d
Merge pull request #1571 from github/mergeback/v2.2.6-to-main-16964e90
...
Mergeback v2.2.6 refs/heads/releases/v2 into main
2023-03-12 10:03:48 -04:00
github-actions[bot]
0e50a19ce3
Update checked-in dependencies
2023-03-12 13:39:54 +00:00
github-actions[bot]
4775eab92e
Update changelog and version after v2.2.6
2023-03-10 18:11:39 +00:00
Dave Bartolomeo
16964e90ba
Merge pull request #1570 from github/update-v2.2.6-e12a2ecd4
...
Merge main into releases/v2
2023-03-10 13:08:52 -05:00
github-actions[bot]
74cbab4958
Update changelog for v2.2.6
2023-03-10 15:48:11 +00:00
Henry Mercer
b36480d849
Specify SARIF path via env variable
2023-03-09 19:24:49 +00:00
Henry Mercer
53f80edaf6
Merge branch 'main' into henrymercer/diagnostics-code-scanning-config
2023-03-09 18:47:43 +00:00
Henry Mercer
b31d983f22
Add PR check
2023-03-09 18:37:44 +00:00
Henry Mercer
485cc11a24
Rename featureEnablement to features
...
This is more succinct and removes a few line breaks
2023-03-09 16:46:51 +00:00
Henry Mercer
fc1366f6ec
Gate config export behind a feature flag
2023-03-09 16:44:45 +00:00
Dave Bartolomeo
e12a2ecd45
Merge pull request #1561 from github/dbartol/bundle-2.12.4
...
Update bundle to 2.12.4
2023-03-09 10:22:39 -05:00
Dave Bartolomeo
d47d4c8047
Merge branch 'main' into dbartol/bundle-2.12.4
2023-03-09 09:45:34 -05:00
Andrew Eisenberg
f13b180fb8
Merge pull request #1567 from github/aeisenberg/config-parsing-ghes
...
Add default values to feature flags
2023-03-08 09:44:44 -08:00
Angela P Wen
a3cf96418e
Add security-experimental to codeql-config.yml ( #1566 )
2023-03-08 08:39:00 -08:00
Andrew Eisenberg
0c27d0da4a
Add default values to feature flags
...
This changes adds default values to feature flags. These default values
will be used whenever the full set of feature flags are not available
(for example on GHES or if the flag request fails).
The goal is to enable cli config parsing on GHES without removing the
feature flag on dotcom.
2023-03-07 16:24:55 -08:00
Henry Mercer
4b1f530308
Export configuration information for green runs
2023-03-07 21:22:43 +00:00
Henry Mercer
d98eadb536
Export configuration information for red runs
2023-03-07 21:21:47 +00:00
Andrew Eisenberg
e4b846c482
Merge pull request #1564 from github/aeisenberg/qlconfig-file
...
Fix --qlconfig-file option
2023-03-07 13:15:20 -08:00
Henry Mercer
c310f094dd
Fix name of qlconfig file argument
2023-03-07 08:46:58 -08:00
Henry Mercer
4366485427
Avoid passing an undefined qlconfig arg
2023-03-07 08:46:57 -08:00
Henry Mercer
8340258886
Avoid writing user-config.yaml file while running tests
2023-03-07 08:46:57 -08:00
Henry Mercer
6ef6e50882
Merge pull request #1563 from github/dependabot/npm_and_yarn/glob-9.2.1
...
Bump glob from 8.0.1 to 9.2.1
2023-03-06 17:02:10 +00:00
Henry Mercer
eb40427b00
Fix name of qlconfig file argument
2023-03-06 10:48:14 +00:00
github-actions[bot]
7806af3040
Update checked-in dependencies
2023-03-06 10:44:50 +00:00
dependabot[bot]
abf1cea835
Bump glob from 8.0.1 to 9.2.1
...
Bumps [glob](https://github.com/isaacs/node-glob ) from 8.0.1 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v8.0.1...v9.2.1 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-06 10:36:27 +00:00
Henry Mercer
e5ade42937
Merge branch 'main' into dbartol/bundle-2.12.4
2023-03-06 10:33:06 +00:00
Angela P Wen
6f079be771
Bump setup-swift and re-configure dependabot ( #1560 )
...
* Update `setup-swift` to v1.22.0
* Configure dependabot to scan `setup-swift` dir
* Add reminder to manually update the SHA in CLI test
* Add comment on new Dependabot directory
2023-03-06 10:32:10 +00:00
Henry Mercer
100bd7bbef
Avoid passing an undefined qlconfig arg
2023-03-06 10:26:34 +00:00
Henry Mercer
a6d3a44519
Avoid writing user-config.yaml file while running tests
2023-03-06 10:23:28 +00:00
Dave Bartolomeo
5e4af3a25d
Update bundle to 2.12.4
2023-03-05 20:52:06 -05:00
Dave Bartolomeo
e812e63bb6
Update bundle to 2.12.4
2023-03-05 20:50:59 -05:00
Andrew Eisenberg
a589d4087e
Merge pull request #1527 from github/aeisenberg/qlconfig-in-cli
...
Ensure qlconfig file is created when config parsing in cli is on
2023-02-27 10:26:08 -08:00
Andrew Eisenberg
98d24e5629
Address comments from PR
2023-02-27 09:59:16 -08:00
Henry Mercer
903be79953
Merge pull request #1548 from github/mergeback/v2.2.5-to-main-32dc4993
...
Mergeback v2.2.5 refs/heads/releases/v2 into main
2023-02-27 11:02:00 +00:00
github-actions[bot]
18ff14b615
Update checked-in dependencies
2023-02-27 09:35:51 +00:00
Henry Mercer
36a249f5ae
Merge branch 'main' into mergeback/v2.2.5-to-main-32dc4993
2023-02-27 09:33:05 +00:00
Henry Mercer
041757fc59
Merge pull request #1549 from github/henrymercer/fix-update-dependencies
...
Fix workflow to update dependencies
2023-02-27 09:11:46 +00:00
Andrew Eisenberg
8f19113f88
Merge branch 'main' into aeisenberg/qlconfig-in-cli
2023-02-26 18:35:21 -08:00
Henry Mercer
cf1855ae37
Fix workflow to update dependencies
...
Port over the fix from
https://github.com/github/codeql-action/pull/1544
and share code so these scripts don't get out of sync again.
2023-02-24 20:25:21 +00:00
github-actions[bot]
652709d1b9
Update changelog and version after v2.2.5
2023-02-24 19:28:26 +00:00
Henry Mercer
32dc499307
Merge pull request #1547 from github/update-v2.2.5-237a258d2
...
Merge main into releases/v2
2023-02-24 19:26:08 +00:00
github-actions[bot]
b742728ac2
Update changelog for v2.2.5
2023-02-24 19:01:14 +00:00
Alexander Eyers-Taylor
237a258d2b
Merge pull request #1543 from github/alexet/update-2.12.3
...
Update default CodeQL bundle version to 2.12.3
2023-02-23 15:46:39 +00:00
Alexander Eyers-Taylor
5972e6d72e
Fix lib file
2023-02-22 18:38:46 +00:00
Alexander Eyers-Taylor
164027e682
Fix bundle versions
2023-02-22 18:18:37 +00:00
Andrew Eisenberg
736263f8fe
Update src/codeql.ts
2023-02-17 13:22:25 -08:00
Chuan-kai Lin
3dde1f3512
Merge pull request #1540 from cklin/expect-discarded-cache
...
Set --expect-discarded-cache option
2023-02-17 12:36:05 -08:00
Chuan-kai Lin
d7d7567b0e
Unit tests for optimizeForLastQueryRun
2023-02-17 11:19:38 -08:00
Chuan-kai Lin
0e4e857bab
Set optimizeForLastQueryRun on last run
2023-02-17 11:17:42 -08:00
Chuan-kai Lin
08d1f21d4f
Calculate customQueryIndices early
...
This refactoring commit changes runQueries() to calculate the set of
indices with non-empty custom queries early. Doing so allows us to check
early on whether there are any custom queries to run.
2023-02-17 11:14:08 -08:00
Andrew Eisenberg
f3bd25eefa
Merge pull request #1544 from github/aeisenberg/clean-cache
...
Clean the npm cache before running install
2023-02-17 10:50:03 -08:00
Andrew Eisenberg
41f1810e52
Clean the npm cache before running install
2023-02-17 09:54:53 -08:00
Alexander Eyers-Taylor
d87ad69338
Update default CodeQL bundle version to 2.12.3
2023-02-17 15:49:39 +00:00
Chuan-kai Lin
8242edb8ed
databaseRunQueries(): add optimizeForLastQueryRun parameter
2023-02-15 08:45:13 -08:00
Chuan-kai Lin
3095a09bb0
databaseRunQueries(): accept a list of flags
...
This refactoring commit changes databaseRunQueries() to accept a list of
flags instead of separate memory and threads flags.
2023-02-14 11:53:52 -08:00
Andrew Eisenberg
e00cd12e3e
Merge pull request #1539 from github/aeisenberg/unref-delay
...
Avoid unref-ing timer while awaiting status upload
2023-02-13 15:24:43 -08:00
Angela P Wen
a25536bc80
Optionally send tools download telemetry ( #1538 )
2023-02-13 21:45:54 +00:00
Andrew Eisenberg
a2487fb969
Avoid unref-ing timer while awaiting status upload
...
We had a problem where `waitForProcessing` was not completing before
the node process ends. This is because using `unref` would allow the
node process to end without having the `delay` function complete.
2023-02-13 13:43:18 -08:00
Chuan-kai Lin
e187d074ed
Merge pull request #1533 from cklin/trap-caching-feature-flag
...
Remove TRAP caching feature flag
2023-02-13 06:25:11 -08:00
Angela P Wen
89c5165e5a
Remove v1 from release docs ( #1536 )
2023-02-10 12:40:45 -08:00
Angela P Wen
ba216f7d34
Merge pull request #1535 from github/mergeback/v2.2.4-to-main-17573ee1
...
Mergeback v2.2.4 refs/heads/releases/v2 into main
2023-02-10 10:57:09 -08:00
github-actions[bot]
68f4f0d3bb
Update checked-in dependencies
2023-02-10 18:30:00 +00:00
github-actions[bot]
12d9a244fa
Update changelog and version after v2.2.4
2023-02-10 18:23:25 +00:00
Angela P Wen
17573ee1cc
Merge pull request #1534 from github/update-v2.2.4-40babc141
...
Merge main into releases/v2
2023-02-10 10:20:44 -08:00
github-actions[bot]
b6975b4b1a
Update changelog for v2.2.4
2023-02-10 17:42:05 +00:00
Chuan-kai Lin
b011dbdedf
Remove TRAP caching feature flag
2023-02-10 09:27:16 -08:00
Angela P Wen
40babc141f
Tools telemetry: accurately report when feature flags were inaccessible ( #1532 )
...
* Cache whether feature flags are accessible
* Small comment fixup from linting change
2023-02-10 09:06:43 -08:00
Andrew Eisenberg
5492b7d104
Add tests for generateRegistries with an existing CODEQL_REGISTRIES_AUTH
2023-02-09 13:37:08 -08:00
Andrew Eisenberg
3c81243bb1
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-02-09 12:25:33 -08:00
Andrew Eisenberg
e2f72f11e4
Merge remote-tracking branch 'upstream/main' into aeisenberg/qlconfig-in-cli
2023-02-09 09:47:43 -08:00
Chuan-kai Lin
7ba5ed7eed
Merge pull request #1531 from github/mergeback/v2.2.3-to-main-8775e868
...
Mergeback v2.2.3 refs/heads/releases/v2 into main
2023-02-08 13:06:40 -08:00
github-actions[bot]
21f3020df6
Update checked-in dependencies
2023-02-08 20:40:37 +00:00
github-actions[bot]
b872c5adfd
Update changelog and version after v2.2.3
2023-02-08 20:37:07 +00:00
Chuan-kai Lin
8775e86802
Merge pull request #1530 from github/update-v2.2.3-c4e22e9fc
...
Merge main into releases/v2
2023-02-08 12:35:06 -08:00
github-actions[bot]
a2ad80b966
Update changelog for v2.2.3
2023-02-08 19:08:32 +00:00
Henry Mercer
c4e22e9fce
Merge pull request #1529 from github/henrymercer/remove-bypass-toolcache-flags
...
Remove feature flags for bypassing the toolcache
2023-02-08 18:13:01 +00:00
Henry Mercer
db534af2ae
Remove feature flags for bypassing the toolcache
...
- We can now use the default bundle version feature flags to remediate a
bad bundle update.
- Controlled switchover ensures that a repo consistently gets the same
bundle version, so we no longer have alert churn concerns with Kotlin
and Swift.
2023-02-08 15:20:51 +00:00
Andrew Eisenberg
bbe8d375fd
Ensure qlconfig file is created when config parsing in cli is on
...
Previously, with the config parsing in the cli feature flag turned on,
the CLI was not able to download packs from other registries. This PR
adds the codeql-action changes required for this. The CLI changes will
be in a separate, internal PR.
2023-02-07 10:40:56 -08:00
Chuan-kai Lin
4369dda4ae
Merge pull request #1518 from github/cklin/codeql-cli-2.12.2
...
Bump default CodeQL version to 2.12.2
2023-02-07 10:27:54 -08:00
Chuan-kai Lin
4f08c2cf20
Bump default CodeQL version to 2.12.2
2023-02-07 08:10:01 -08:00
Angela P Wen
81644f35ff
Add max line length of 120 to linter ( #1524 )
2023-02-07 14:09:33 +00:00
Henry Mercer
9ab6aa64a0
Merge pull request #1526 from github/mergeback/v2.2.2-to-main-39d8d7e7
...
Mergeback v2.2.2 refs/heads/releases/v2 into main
2023-02-06 20:23:48 +00:00
github-actions[bot]
256973e279
Update checked-in dependencies
2023-02-06 20:02:57 +00:00
github-actions[bot]
59b25b480f
Update changelog and version after v2.2.2
2023-02-06 19:48:14 +00:00
Henry Mercer
39d8d7e78f
Merge pull request #1525 from github/update-v2.2.2-927de483f
...
Merge main into releases/v2
2023-02-06 19:46:06 +00:00
Angela P Wen
39c954c513
Support security-experimental as a well-known suite ( #1519 )
2023-02-06 19:26:03 +00:00
github-actions[bot]
8af83634ca
Update changelog for v2.2.2
2023-02-06 19:16:08 +00:00
Henry Mercer
927de483f0
Merge pull request #1523 from github/henrymercer/fix/cli-version-for-different-bundles
...
Fix toolcache behavior when downloading bundle from another repo
2023-02-06 19:05:45 +00:00
Henry Mercer
e4c0a1b24d
Merge branch 'main' into henrymercer/fix/cli-version-for-different-bundles
2023-02-06 18:24:11 +00:00
Henry Mercer
d3962273b3
Merge pull request #1517 from github/henrymercer/fix/not-all-bundle-urls-contain-tag
...
Fix assumption that all CodeQL bundle URLs contain the tag name of the bundle
2023-02-06 18:20:21 +00:00
Henry Mercer
c3cb270725
Merge pull request #1521 from MahmoudMabrok/patch-1
...
docs: add direct link to website
2023-02-06 16:34:01 +00:00
Henry Mercer
2b674f7ab9
Fix toolcache behavior when downloading bundle from another repo
2023-02-06 16:25:07 +00:00
Henry Mercer
6d47a7c8b1
Add regression test for bundle from different repo
2023-02-06 16:25:07 +00:00
Henry Mercer
c6ff11c1c4
Add changelog note
2023-02-06 16:24:25 +00:00
Henry Mercer
d3f2b2e6d2
Warn when multiple bundles for a single CLI are found in the toolcache
2023-02-06 12:28:33 +00:00
Henry Mercer
d49282c3b5
Rename forceLatest to forceShippedTools
2023-02-06 11:57:48 +00:00
Mahmoud Mabrok Fouad
c5c475188a
docs: add direct link to website
...
To make it easy for users to go to website for more info.
2023-02-05 13:56:35 +02:00
Henry Mercer
f140af5e28
Refactor setting up CodeQL to handle bundle URLs without tags
2023-02-03 19:15:06 +00:00
Henry Mercer
e0fc1c91b2
Add regression test for a bundle URL without a tag
2023-02-03 19:13:24 +00:00
Arthur Baars
b95df0b2e7
Merge pull request #1516 from aibaars/auth-parameter
...
Supply authorization parameter to toolcache.downloadTool()
2023-02-03 20:02:59 +01:00
Arthur Baars
2fed02cbe2
Supply authorization parameter to toolcache.downloadTool()
...
Previously we supplied the authorization information via the 'headers'
parameter. This works fine, except in some cases when the request is
retried.
2023-02-03 14:56:00 +01:00
Angela P Wen
0b2a40fa4a
Merge pull request #1515 from github/mergeback/v2.2.1-to-main-3ebbd71c
...
Mergeback v2.2.1 refs/heads/releases/v2 into main
2023-01-27 02:02:26 -08:00
github-actions[bot]
395ec04a8b
Update checked-in dependencies
2023-01-27 09:37:04 +00:00
github-actions[bot]
e1070bd101
Update changelog and version after v2.2.1
2023-01-27 09:30:07 +00:00
Angela P Wen
3ebbd71c74
Merge pull request #1514 from github/update-v2.2.1-4664f3969
...
Merge main into releases/v2
2023-01-27 01:28:20 -08:00
github-actions[bot]
2ae6e13cc3
Update changelog for v2.2.1
2023-01-27 09:06:39 +00:00
Angela P Wen
4664f39699
Ensure that tools_download_duration_ms is int ( #1513 )
2023-01-27 09:03:57 +00:00
Henry Mercer
b2e16761f3
Merge pull request #1512 from github/mergeback/v2.2.0-to-main-436dbd91
...
Mergeback v2.2.0 refs/heads/releases/v2 into main
2023-01-26 17:44:11 +00:00
github-actions[bot]
592a896a53
Update checked-in dependencies
2023-01-26 16:40:56 +00:00
github-actions[bot]
4a6b5a54c2
Update changelog and version after v2.2.0
2023-01-26 16:39:29 +00:00
Henry Mercer
436dbd9100
Merge pull request #1511 from github/update-v2.2.0-43f1a6c70
...
Merge main into releases/v2
2023-01-26 16:37:04 +00:00
Henry Mercer
d966969093
Remove $ from version number
2023-01-26 15:22:33 +00:00
github-actions[bot]
f6d03f448d
Update changelog for v2.2.0
2023-01-26 15:18:19 +00:00
Henry Mercer
43f1a6c701
Merge pull request #1510 from github/henrymercer/fix-fallback-version-number
...
Fix computation of fallback version number
2023-01-26 14:17:40 +00:00
Henry Mercer
75ae065ae6
Fix computation of fallback version
2023-01-26 11:49:51 +00:00
Henry Mercer
0a9e9db27f
Add failing regression test
2023-01-26 11:49:24 +00:00
Angela P Wen
24ca6b0400
Send tools telemetry to init status report ( #1497 )
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-01-25 11:09:18 -08:00
Andrew Eisenberg
ebf6415a7d
Merge pull request #1493 from github/aeisenberg/upload-sarif-limits
...
Update CHANGELOG.md with new limits on uploading SARIF
2023-01-25 08:32:05 -08:00
Henry Mercer
a58e90a9da
Merge pull request #1508 from github/henrymercer/default-version-fallback
...
Fall back to the `defaults.json` CLI version if feature flags misconfigured
2023-01-24 20:01:47 +00:00
Andrew Eisenberg
fdff4b0a17
Update CHANGELOG.md
...
Remove apiVersion parameter.
2023-01-24 08:25:23 -08:00
Andrew Eisenberg
8840544b91
Merge branch 'main' into aeisenberg/upload-sarif-limits
2023-01-24 08:23:50 -08:00
Henry Mercer
af42a70c34
Merge pull request #1504 from github/dependabot/npm_and_yarn/octokit/types-9.0.0
...
Bump @octokit/types from 8.0.0 to 9.0.0
2023-01-24 12:28:00 +00:00
Henry Mercer
824a20f6aa
Merge pull request #1507 from github/henrymercer/swift-autobuild-timeout
...
Limit Swift autobuild runtime in PR check to 10 minutes
2023-01-23 20:16:40 +00:00
Henry Mercer
fa47d5ade1
Merge pull request #1505 from github/henrymercer/more-node-12-cleanup
...
More cleanup as a result of dropping Node 12
2023-01-23 20:11:32 +00:00
github-actions[bot]
71109eca74
Update checked-in dependencies
2023-01-23 20:03:33 +00:00
Henry Mercer
5d931ea2a2
Fall back to the default.json CLI version if feature flags misconfigured
2023-01-23 20:00:44 +00:00
dependabot[bot]
6b17e95b97
Bump @octokit/types from 8.0.0 to 9.0.0
...
Bumps [@octokit/types](https://github.com/octokit/types.ts ) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/octokit/types.ts/releases )
- [Commits](https://github.com/octokit/types.ts/compare/v8.0.0...v9.0.0 )
---
updated-dependencies:
- dependency-name: "@octokit/types"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-23 19:48:29 +00:00
Henry Mercer
14c4412c63
Merge pull request #1506 from github/henrymercer/prepare-test-fail-early
...
Fail `prepare-test` early when `gh release list` fails
2023-01-23 19:39:31 +00:00
Henry Mercer
ebdd5a069f
Remove perf_hooks Node 12 comment
...
We don't need the import for Node 12 compat, but we do need it to make
the file compile.
2023-01-23 19:16:03 +00:00
Henry Mercer
5da183dcc2
Bump npm to v9.2.0
...
npm v9.3.0 is out, but seems to have a bug with `npm ci` on macOS
where it will complain that `node_modules/.bin` is a directory.
We specify an exact version for reproducibility of builds.
2023-01-23 19:15:21 +00:00
Henry Mercer
b873a18a2f
Limit Swift autobuild runtime to 10 minutes
...
There's a known issue that causes the Swift autobuilder to hang. By
setting a timeout, we'll fail earlier and we can rerun the check
earlier.
2023-01-23 19:12:27 +00:00
Henry Mercer
66ed6f46ba
Merge pull request #1503 from github/dependabot/npm_and_yarn/octokit/plugin-retry-4.0.4
...
Bump @octokit/plugin-retry from 3.0.9 to 4.0.4
2023-01-23 18:53:46 +00:00
Henry Mercer
90bbfad4eb
Fail prepare-test early when gh release list fails
2023-01-23 18:50:59 +00:00
Henry Mercer
05d21eda44
Merge pull request #1501 from github/henrymercer/codeql-cli-2.12.1
...
Bump default CodeQL version to 2.12.1
2023-01-23 18:02:27 +00:00
github-actions[bot]
45eb0a66d5
Update checked-in dependencies
2023-01-23 17:26:40 +00:00
dependabot[bot]
78f2db88fc
Bump @octokit/plugin-retry from 3.0.9 to 4.0.4
...
Bumps [@octokit/plugin-retry](https://github.com/octokit/plugin-retry.js ) from 3.0.9 to 4.0.4.
- [Release notes](https://github.com/octokit/plugin-retry.js/releases )
- [Commits](https://github.com/octokit/plugin-retry.js/compare/v3.0.9...v4.0.4 )
---
updated-dependencies:
- dependency-name: "@octokit/plugin-retry"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-23 17:02:48 +00:00
Andrew Eisenberg
604a6c3f8e
Merge branch 'main' into aeisenberg/upload-sarif-limits
2023-01-23 08:35:54 -08:00
Andrew Eisenberg
fe9baed306
Fix typo in CHANGELOG.md
...
Co-authored-by: Jenny Rukman <jennyrocku@github.com >
2023-01-23 08:35:27 -08:00
Henry Mercer
f9ae0b9ced
Merge branch 'main' into henrymercer/codeql-cli-2.12.1
2023-01-23 13:27:47 +00:00
Henry Mercer
5794d966f2
Merge pull request #1502 from github/henrymercer/python-packages-use-path-from-action
...
Use CodeQL path from `init` Action in Windows Python dependencies PR checks
2023-01-23 13:26:24 +00:00
Henry Mercer
64580b3179
Update workflow name to reflect Windows tests
2023-01-23 13:01:27 +00:00
Henry Mercer
e05bd5a671
Use CodeQL path from init Action in Windows Python deps PR checks
2023-01-23 13:01:11 +00:00
Henry Mercer
d37dce28f6
Bump default CodeQL version to 2.12.1
2023-01-23 11:25:09 +00:00
Henry Mercer
421a1b344f
Merge pull request #1496 from github/henrymercer/no-cache-nightlies
...
Increase strictness of tool caching threshold to avoid caching nightlies
2023-01-20 17:57:55 +00:00
Andrew Eisenberg
42fb057842
Update CHANGELOG.md
2023-01-20 09:41:08 -08:00
Henry Mercer
54f4ea7a62
Merge branch 'main' into henrymercer/no-cache-nightlies
2023-01-20 17:35:04 +00:00
Henry Mercer
6456115682
Merge pull request #1494 from github/henrymercer/avoid-waiting-for-timeout
...
Fix a bug that forced the `init` Action to run for at least two minutes on JavaScript
2023-01-20 17:24:48 +00:00
Henry Mercer
8e4a1d6e60
Merge branch 'main' into henrymercer/avoid-waiting-for-timeout
2023-01-20 16:29:49 +00:00
Andrew Eisenberg
4dc41e1d1e
Update CHANGELOG.md
2023-01-20 08:28:46 -08:00
Henry Mercer
4827181940
Merge pull request #1492 from github/henrymercer/upgrade-typescript
...
Upgrade to TypeScript 9.2.0
2023-01-20 16:28:14 +00:00
Henry Mercer
291cc75959
Add test case
2023-01-20 15:30:57 +00:00
Henry Mercer
2014c859f1
Increase strictness of tool caching threshold to avoid caching nightlies
2023-01-20 15:23:27 +00:00
Henry Mercer
4beb39593b
Explain why we're using --format=json to get the extractor path
2023-01-20 15:01:38 +00:00
Henry Mercer
be8f7b01a2
Add types for package.json via @schemastore/package
2023-01-20 15:01:35 +00:00
Henry Mercer
1b508953b4
Remove checkActionVersion
...
This is no longer needed now that we only release v2
2023-01-20 15:01:35 +00:00
Henry Mercer
cb9be70046
Install @types/uuid and eliminate a cast
2023-01-20 15:01:35 +00:00
Henry Mercer
85f0d840c9
Use a more Promise-oriented approach for the timeout system
2023-01-19 20:25:55 +00:00
Henry Mercer
ffb06d7053
Add changelog note
2023-01-19 20:03:37 +00:00
Henry Mercer
b61b299591
Immediately unref timers to avoid waiting for them before exit
2023-01-19 18:09:06 +00:00
Andrew Eisenberg
68a248623f
Update CHANGELOG.md with new limits on uploading SARIF
2023-01-19 09:57:22 -08:00
Henry Mercer
ba93815e25
Merge branch 'main' into henrymercer/upgrade-typescript
2023-01-19 16:15:51 +00:00
Henry Mercer
60e5868d6e
Merge pull request #1475 from github/henrymercer/controlled-switchover
...
Enable a controlled switchover between CodeQL releases
2023-01-19 09:42:22 +00:00
Henry Mercer
9012214c80
Merge branch 'main' into henrymercer/controlled-switchover
2023-01-18 22:38:54 +00:00
Henry Mercer
4306b97e96
Add a .DS_Store file shipped with a dependency
...
We should be checking in all contents of the dependencies, including OS
junk!
2023-01-18 21:10:30 +00:00
Henry Mercer
d5dcff5766
Remove Node 12 compatibility check
2023-01-18 21:07:41 +00:00
Henry Mercer
0a11e3fdd9
Bump packages to fix linter
2023-01-18 21:00:07 +00:00
Henry Mercer
ed9506bbaf
Bump eslint-plugin-import to avoid vulnerability in dependency
2023-01-18 21:00:05 +00:00
Henry Mercer
10695e6a20
Fix linter errors
2023-01-18 21:00:05 +00:00
Henry Mercer
5f644f971e
Upgrade TypeScript to 9.2.0
2023-01-18 20:59:57 +00:00
Henry Mercer
40a75182e7
Merge pull request #1483 from github/henrymercer/remove-v1-checks
...
Remove PR checks for v1
2023-01-18 19:27:56 +00:00
Henry Mercer
48ae29987c
Merge pull request #1482 from github/henrymercer/remove-v1-from-release-process
...
Remove v1 from the release process
2023-01-18 19:26:38 +00:00
Henry Mercer
16d8967389
Merge pull request #1490 from github/mergeback/v2.1.39-to-main-a34ca99b
...
Mergeback v2.1.39 refs/heads/releases/v2 into main
2023-01-18 19:26:15 +00:00
github-actions[bot]
6d37d7534f
Update checked-in dependencies
2023-01-18 18:27:52 +00:00
github-actions[bot]
bb36dc476d
Update changelog and version after v2.1.39
2023-01-18 18:16:09 +00:00
Henry Mercer
a34ca99b46
Merge pull request #1489 from github/update-v2.1.39-597c2041
...
Merge main into releases/v2
2023-01-18 18:14:06 +00:00
github-actions[bot]
48fa82899a
Update changelog for v2.1.39
2023-01-18 17:27:01 +00:00
Henry Mercer
597c204127
Merge pull request #1481 from github/henrymercer/discontinue-v1
...
Update deprecation notice to state that CodeQL Action v1 is discontinued
2023-01-18 17:24:19 +00:00
Henry Mercer
3d62f02555
Update changelog note
2023-01-18 15:59:07 +00:00
Henry Mercer
8a4abfd10a
Support cli-version-x.y.z-pre.txt marker files
2023-01-18 15:55:23 +00:00
Henry Mercer
5f1362dd53
Merge branch 'main' into henrymercer/controlled-switchover
2023-01-18 15:37:28 +00:00
Andrew Eisenberg
e0fd640b0c
Merge pull request #1487 from github/aeisenberg/queries-check
...
Fix a bug in cli config parsing
2023-01-18 07:29:34 -08:00
Henry Mercer
d731c012c4
Merge pull request #1486 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions.
2023-01-18 12:57:55 +00:00
Henry Mercer
6dfc772b5f
Add link to new changelog post
2023-01-18 12:42:11 +00:00
Henry Mercer
60e58b4a21
Merge branch 'main' into henrymercer/discontinue-v1
2023-01-18 12:19:49 +00:00
Andrew Eisenberg
9b1206e898
Fix a bug in cli config parsing
...
When the config specifies queries in external repositories and no other
queries and cli config parsing is enabled, the analyze job is not able
to find any queries to run and it fails. This PR fixes the problem.
Also add some logging statements when writing a copy of the user config
file.
2023-01-17 20:59:36 -08:00
Andrew Eisenberg
40cfcb0a3f
Merge pull request #1485 from github/aeisenberg/comitoid-message
...
Hide error message and stack for non-error
2023-01-17 17:21:14 -08:00
GitHub
e199504667
Update supported GitHub Enterprise Server versions.
2023-01-18 00:12:15 +00:00
Andrew Eisenberg
e6e3bf4923
Update src/actions-util.ts
...
Co-authored-by: Angela P Wen <angelapwen@github.com >
2023-01-17 15:53:14 -08:00
Andrew Eisenberg
5b9b480165
Update changelog
2023-01-17 15:05:22 -08:00
Andrew Eisenberg
b625b628b7
Hide error message and stack for non-error
...
Avoid printing the error message and stack when we fail to find the
commit. This will happen in several non-error states (e.g.,
when there is no repository checked out at the CWD). Move the
error message to a debug message so that it is still available
if someone really wants to see it.
2023-01-17 15:00:24 -08:00
Henry Mercer
e530813ab8
Remove PR checks for v1
2023-01-16 18:49:32 +00:00
Henry Mercer
5fe1a9b8af
Update mergeback workflow
2023-01-16 18:41:03 +00:00
Henry Mercer
ba674fb1af
Update release workflow
2023-01-16 18:37:43 +00:00
Henry Mercer
e0b20eea50
Migrate release script to template strings
2023-01-16 18:15:29 +00:00
Henry Mercer
218d40db4c
Remove v1 only parts of release script
2023-01-16 18:09:01 +00:00
Henry Mercer
28c93a0113
Add changelog note
2023-01-16 17:56:37 +00:00
Henry Mercer
4b40a3a20e
Add a notice that CodeQL Action v1 is discontinued
2023-01-16 17:56:31 +00:00
Henry Mercer
a5b44c1a39
Add a sentence on recommended practices for using the CLI
2023-01-16 10:26:34 +00:00
Henry Mercer
b660a383cf
Address review comments
2023-01-16 10:14:35 +00:00
Henry Mercer
115587a52c
Merge branch 'main' into henrymercer/controlled-switchover
2023-01-16 10:10:15 +00:00
Henry Mercer
ac7e4d772e
Improve changelog note some more
2023-01-16 09:53:43 +00:00
Rasmus Wriedt Larsen
32be38eeff
Merge pull request #1431 from github/rasmuswl/poetry-always-install-pip
...
python-setup: Handle poetry `virtualenvs.options.no-pip = true`
2023-01-16 09:31:13 +01:00
Henry Mercer
eca06a5561
Further improve changelog notes
2023-01-13 18:03:03 +00:00
Henry Mercer
13cdac30cc
Improve changelog notes
2023-01-13 16:24:38 +00:00
Henry Mercer
12998b7ba3
Convert logger call to debug
2023-01-13 16:18:46 +00:00
Rasmus Wriedt Larsen
5ed1e985c2
python-setup: Fix site-package selection for unix
2023-01-13 14:41:00 +01:00
Rasmus Wriedt Larsen
4bd9723e2b
npm run build
2023-01-13 11:26:22 +01:00
Rasmus Wriedt Larsen
2f6d17472d
python-setup: Make debug printing more obvious
2023-01-13 11:25:25 +01:00
Rasmus Wriedt Larsen
2649b6603a
python-setup: Fix site-packages selection without pip for Windows
2023-01-13 11:25:25 +01:00
Rasmus Wriedt Larsen
b8107301d2
python-setup: Fix for python2
2023-01-13 11:25:25 +01:00
Rasmus Wriedt Larsen
ebf1b8f8fc
Fix prettier problem
2023-01-13 11:25:25 +01:00
Rasmus Wriedt Larsen
932b6a98b8
python-setup: Fix path for tests
2023-01-13 11:25:25 +01:00
Rasmus Wriedt Larsen
259993b92a
python-setup: Handle poetry virtualenvs.options.no-pip = true
...
Fixes https://github.com/github/codeql-action/issues/1425
2023-01-13 11:25:25 +01:00
Henry Mercer
0be20e5ce1
Use the CLI version when caching the bundle in telemetry too
2023-01-12 21:09:09 +00:00
Henry Mercer
33206d299e
Include the bundle version in the toolcache version number
...
This gives us an easy cache hit when requesting the same tools URL.
2023-01-12 20:56:31 +00:00
Henry Mercer
c2e39e078f
Cache explicitly requested bundles with their URL if possible
2023-01-12 20:44:05 +00:00
Henry Mercer
c9b1be5115
Bump version to 2.2.0
2023-01-12 16:07:23 +00:00
Henry Mercer
28f827aefa
Add changelog notes
2023-01-12 16:06:08 +00:00
Henry Mercer
9578699f19
Merge branch 'main' into henrymercer/controlled-switchover
2023-01-12 15:55:36 +00:00
Henry Mercer
31c7ce1ce4
Add doc describing CLI version marker files
2023-01-12 15:51:12 +00:00
Henry Mercer
a89ad76881
Expand note about defaults.json compatibility
...
In the future we might convert the file to JSON with comments, or add
this note to a JSON schema.
2023-01-12 15:46:12 +00:00
Henry Mercer
1eeb9df353
Remove dead code
2023-01-12 15:41:17 +00:00
Henry Mercer
648838c4a0
Allow using a x.y.z-yyyymmdd toolcache version for CLI x.y.z.
2023-01-12 15:41:07 +00:00
Henry Mercer
2073a69919
Merge pull request #1477 from github/mergeback/v2.1.38-to-main-515828d9
...
Mergeback v2.1.38 refs/heads/releases/v2 into main
2023-01-12 11:25:42 +00:00
github-actions[bot]
10f2d3c15a
Update checked-in dependencies
2023-01-12 10:42:07 +00:00
github-actions[bot]
00c2a84eba
Update changelog and version after v2.1.38
2023-01-12 10:35:11 +00:00
Henry Mercer
515828d974
Merge pull request #1476 from github/update-v2.1.38-70fdddff
...
Merge main into releases/v2
2023-01-12 10:32:43 +00:00
github-actions[bot]
caa49ae471
Update changelog for v2.1.38
2023-01-12 02:27:49 +00:00
Henry Mercer
e8c12e1f7d
Add a debug log for the feature flag API response
2023-01-11 19:10:22 +00:00
Henry Mercer
2f7b9a1280
Differentiate setupCodeql.setupCodeQL from codeql.setupCodeQL
2023-01-11 19:06:50 +00:00
Henry Mercer
23d151db1c
Add test for using default version with no requested URL on Dotcom
2023-01-11 19:06:50 +00:00
Henry Mercer
c3be36f5cb
Use new default version to set up CodeQL
2023-01-11 19:06:50 +00:00
Henry Mercer
bd2f52fcef
Move CodeQL setup to its own file
2023-01-11 19:06:50 +00:00
Henry Mercer
a76fe4f9bd
Enable mapping from CLI version to bundle tag name
2023-01-11 19:06:50 +00:00
Henry Mercer
a6dff04fe1
Ignore default version flags with invalid version numbers
2023-01-11 19:06:49 +00:00
Henry Mercer
cdb90196f2
Support determining Dotcom CLI version from feature flags
2023-01-11 18:40:47 +00:00
Henry Mercer
70fdddff11
Merge pull request #1474 from github/henrymercer/fix-ghae-setup-test
...
Refactor CodeQL setup tests and fix GHAE test
2023-01-11 17:14:35 +00:00
Henry Mercer
6ba0a36550
Add JSDoc for mockDownloadApi
2023-01-11 15:25:21 +00:00
Henry Mercer
4a918790cd
Merge branch 'main' into henrymercer/fix-ghae-setup-test
2023-01-11 15:23:04 +00:00
Andrew Eisenberg
42d6d35dd1
Merge pull request #1464 from github/aeisenberg/externalRepoTokenConfigParsing
...
Send the external repository token to the CLI
2023-01-10 14:03:12 -08:00
Andrew Eisenberg
e009918fbc
Merge branch 'main' into aeisenberg/externalRepoTokenConfigParsing
2023-01-10 12:43:37 -08:00
Henry Mercer
70a288daae
Merge branch 'main' into henrymercer/fix-ghae-setup-test
2023-01-10 20:37:40 +00:00
Dave Bartolomeo
bdc7c5d203
Merge pull request #1466 from github/dbartol/bundle-20230105
...
Update bundle to 2.12.0
2023-01-10 15:37:19 -05:00
Andrew Eisenberg
272d916f23
Address comments from PR
2023-01-10 12:17:26 -08:00
Henry Mercer
f12f76f047
Merge pull request #1473 from github/henrymercer/temporarily-disable-kotlin-in-pr-checks
...
Temporarily disable Kotlin analysis in PR checks
2023-01-10 19:49:21 +00:00
Henry Mercer
28a9b2d6d7
Add a note regarding the sinon workaround
2023-01-10 19:43:23 +00:00
Henry Mercer
9f8ddbdfd7
Fix GHAE CodeQL setup test
2023-01-10 19:36:29 +00:00
Henry Mercer
9203e314a3
Improve CodeQL setup test structure and naming
2023-01-10 19:35:21 +00:00
Henry Mercer
80b12d6f73
Ensure we don't unset CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN
2023-01-10 17:42:24 +00:00
Henry Mercer
620a267204
Temporarily disable Kotlin analysis in PR checks
...
Kotlin analysis is incompatible with Kotlin 1.8.0, which is now rolling
out to the Actions runner images.
While we work on a more permanent fix to our PR checks, this will
prevent us losing other
test coverage.
2023-01-10 17:31:35 +00:00
Dave Bartolomeo
bac4fe1a38
Merge branch 'main' into dbartol/bundle-20230105
2023-01-10 09:31:07 -05:00
Robert
166d98c19e
Merge pull request #1465 from github/robertbrignull/upload_database_stream
...
Use a stream when uploading database contents
2023-01-09 12:37:54 +00:00
Robert
a9337bc304
Close stream after use
2023-01-09 11:00:43 +00:00
Andrew Eisenberg
4023575d64
Send the external repository token to the CLI
...
This commit does a few related things:
1. Bumps the minimum version for cli config parsing to 2.10.6
2. Ensures that if cli config parsing is enabled, then remove repos
are _not_ downloaded by the action. It happens in the CLI.
3. Passes the `--external-repository-token-stdin` option to the CLI
and passes the appropriate token via stdin if cli config parsing is
enabled.
2023-01-06 14:46:28 -08:00
Henry Mercer
cf1437a514
Merge pull request #1462 from github/henrymercer/refactor-codeql-setup
...
Refactor CodeQL setup
2023-01-06 17:36:02 +00:00
Dave Bartolomeo
f9c9a2567c
Rebuild
2023-01-06 12:32:23 -05:00
Dave Bartolomeo
b9c859bfa1
Merge branch 'main' into dbartol/bundle-20230105
2023-01-06 11:56:06 -05:00
Angela P Wen
b4187d626b
Add CLI version field and prior release fields to defaults file ( #1463 )
...
* Add CLI version field to `defaults` file
* Add fields for prior CLI version
2023-01-06 08:24:28 -08:00
Dave Bartolomeo
bfbb7ab03c
Add change note for bundle update
2023-01-06 11:00:35 -05:00
Dave Bartolomeo
4e5a06f009
Update to CoideQL bundle 20230105 (2.12.0)
2023-01-06 10:55:46 -05:00
Robert
e8f7169839
Move database bundling to inside the try-catch
2023-01-06 15:28:25 +00:00
Robert
6ce923c375
Use a stream when uploading database contents
2023-01-06 15:16:51 +00:00
Henry Mercer
b2b478264a
Improve logging around authorization headers
2023-01-06 12:28:54 +00:00
Henry Mercer
5eba74a3c9
Refactor CodeQL setup
2023-01-05 19:09:34 +00:00
Henry Mercer
ff3337ee1b
Merge pull request #1444 from github/henrymercer/reporting-failed-run-improvements
...
Improve reporting failed runs via SARIF
2023-01-04 10:43:15 +00:00
Aditya Sharad
484236cda4
Merge pull request #1460 from github/adityasharad/actions/code-scanning-schedule
...
Code scanning: Add scheduled trigger to workflow
2023-01-03 14:29:44 -08:00
Aditya Sharad
f837e8e761
Code scanning: Add step titles to workflow
2023-01-03 13:00:12 -08:00
Aditya Sharad
ef21864950
Code scanning: Add scheduled trigger to workflow
...
Ensure we are regularly running code scanning using
the latest CodeQL and remain up to date with the
internal security scorecard, even if we have a period
longer than a week with no pushes to the repo.
2023-01-03 12:59:13 -08:00
Henry Mercer
4789c1331c
Add more tests for uploading failed SARIF
...
Test results directly via return value of `testFailedSarifUpload` vs
via checking log messages.
2022-12-22 18:48:59 +00:00
Henry Mercer
59ebabde5d
Remove redundant log messages
2022-12-22 18:47:52 +00:00
Henry Mercer
3224214d91
Improve method naming
2022-12-22 18:33:06 +00:00
Henry Mercer
e09fbf5b4a
Demote upload failed SARIF run info statements to debug
...
We now report errors via telemetry, and this feature will shortly be
enabled by default.
2022-12-21 11:41:36 +00:00
Henry Mercer
e9ff99b027
Improve error message when workflow file doesn't exist
2022-12-21 11:40:31 +00:00
Henry Mercer
8b9e982393
Add a better log message for reusable workflow calls
2022-12-21 11:40:31 +00:00
Henry Mercer
8d1e008ecb
Check for successful completion rather than SARIF upload
...
This doesn’t affect the overall behaviour, but means we can
short-circuit slightly more quickly when `analyze` is passed
`upload: false`.
2022-12-21 11:40:31 +00:00
Henry Mercer
579411fb6c
Merge pull request #1441 from github/henrymercer/remove-old-certifi-tests
...
Remove tests with old certifi dependency
2022-12-20 18:43:19 +00:00
Henry Mercer
e4818d46c4
Remove tests with old certifi dependency
2022-12-20 10:30:38 +00:00
Angela P Wen
4778dfbd93
Set up the Swift version the extractor declares ( #1422 )
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2022-12-19 13:08:15 -08:00
Henry Mercer
0a3f985290
Merge pull request #1437 from github/mergeback/v2.1.37-to-main-959cbb74
...
Mergeback v2.1.37 refs/heads/releases/v2 into main
2022-12-14 14:56:05 +00:00
github-actions[bot]
04f1897968
Update checked-in dependencies
2022-12-14 14:10:28 +00:00
github-actions[bot]
6ac6037211
Update changelog and version after v2.1.37
2022-12-14 14:06:24 +00:00
Henry Mercer
959cbb7472
Merge pull request #1436 from github/update-v2.1.37-d58039a1
...
Merge main into releases/v2
2022-12-14 14:04:14 +00:00
github-actions[bot]
10ca836463
Update changelog for v2.1.37
2022-12-14 11:07:27 +00:00
Orhan Toy
d58039a1e3
Merge pull request #1435 from github/orhantoy/add-CODE_SCANNING_REF-tests
...
Add tests for CODE_SCANNING_REF
2022-12-13 23:10:53 +01:00
Henry Mercer
37a4496237
Merge pull request #1433 from github/henrymercer/use-codeql-2.11.6
...
Bump default CodeQL version to 2.11.6
2022-12-13 13:05:00 +00:00
Orhan Toy
b7028afcb4
Make sure env is reset between tests
2022-12-13 12:18:40 +00:00
Henry Mercer
f629dada4c
Merge branch 'main' into henrymercer/use-codeql-2.11.6
2022-12-13 12:15:58 +00:00
Orhan Toy
ccee4c68ff
Add tests for CODE_SCANNING_REF
2022-12-13 11:51:16 +00:00
Henry Mercer
899bf9c076
Merge pull request #1432 from github/henrymercer/init-post-telemetry
...
Add telemetry for uploading failed runs
2022-12-12 18:45:41 +00:00
Henry Mercer
dd7c3ef80e
Remove debugging log statements
2022-12-12 17:59:20 +00:00
Henry Mercer
b7b875efff
Reuse existing fields in post-init status report
2022-12-12 17:54:33 +00:00
Nick Fyson
53ab991fbe
Merge pull request #1434 from github/nickfyson/remove-query-string
...
remove use of query-string package
2022-12-12 16:40:33 +00:00
nickfyson
54d25f56dd
use .has for searchParams instead of checking for undefined
2022-12-12 16:03:07 +00:00
nickfyson
d827cf3d65
remove use of query-string package
2022-12-12 14:50:10 +00:00
Henry Mercer
9438015b82
Add changelog note
2022-12-12 13:11:03 +00:00
Henry Mercer
5aced81848
Update bundle version to codeql-bundle-20221211
2022-12-12 13:10:58 +00:00
Henry Mercer
118e294bb9
Record the stack trace if applicable
2022-12-09 10:35:28 +00:00
Henry Mercer
dc9c1c1a51
Add regression test for upload: false
2022-12-09 10:35:28 +00:00
Henry Mercer
a409f43c7a
Handle non-string with inputs
2022-12-09 10:35:28 +00:00
Henry Mercer
e67ad6aaed
Add telemetry for uploading failed runs
2022-12-09 10:35:19 +00:00
Chuan-kai Lin
896079047b
Merge pull request #1429 from github/mergeback/v2.1.36-to-main-a669cc59
...
Mergeback v2.1.36 refs/heads/releases/v2 into main
2022-12-08 12:35:17 -08:00
github-actions[bot]
e58b8d6a61
Update checked-in dependencies
2022-12-08 20:03:08 +00:00
github-actions[bot]
01330498de
Update changelog and version after v2.1.36
2022-12-08 20:00:59 +00:00
Chuan-kai Lin
a669cc5936
Merge pull request #1428 from github/update-v2.1.36-2b971a70
...
Merge main into releases/v2
2022-12-08 11:58:43 -08:00
Andrew Eisenberg
6fec2ab57a
Merge pull request #1427 from github/dependabot/pip/python-setup/tests/poetry/python-3.8/certifi-2022.12.7
...
Bump certifi from 2021.10.8 to 2022.12.7 in /python-setup/tests/poetry/python-3.8
2022-12-08 11:24:01 -08:00
github-actions[bot]
aab7a26877
Update changelog for v2.1.36
2022-12-08 19:22:44 +00:00
Henry Mercer
2b971a70bb
Merge pull request #1426 from github/dependabot/pip/python-setup/tests/poetry/requests-3/certifi-2022.12.7
...
Bump certifi from 2021.10.8 to 2022.12.7 in /python-setup/tests/poetry/requests-3
2022-12-08 18:16:20 +00:00
dependabot[bot]
4e81e2933a
Bump certifi in /python-setup/tests/poetry/python-3.8
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2021.10.8 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases )
- [Commits](https://github.com/certifi/python-certifi/compare/2021.10.08...2022.12.07 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-08 17:36:48 +00:00
dependabot[bot]
bf944d782b
Bump certifi in /python-setup/tests/poetry/requests-3
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2021.10.8 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases )
- [Commits](https://github.com/certifi/python-certifi/compare/2021.10.08...2022.12.07 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-08 17:36:47 +00:00
Andrew Eisenberg
566a5e6727
Merge pull request #1424 from github/dependabot/pip/python-setup/tests/pipenv/python-3.8/certifi-2022.12.7
...
Bump certifi from 2021.10.8 to 2022.12.7 in /python-setup/tests/pipenv/python-3.8
2022-12-08 09:35:45 -08:00
Chuan-kai Lin
10c89976dc
Merge pull request #1421 from github/cklin/fix-update-required-checks-sha
...
update-required-checks.sh: fix argument handling
2022-12-08 09:05:57 -08:00
dependabot[bot]
8121f62c54
Bump certifi in /python-setup/tests/pipenv/python-3.8
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2021.10.8 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases )
- [Commits](https://github.com/certifi/python-certifi/compare/2021.10.08...2022.12.07 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-08 16:26:53 +00:00
Andrew Eisenberg
104319fe98
Merge pull request #1423 from github/dependabot/pip/python-setup/tests/pipenv/requests-3/certifi-2022.12.7
...
Bump certifi from 2021.10.8 to 2022.12.7 in /python-setup/tests/pipenv/requests-3
2022-12-08 08:25:36 -08:00
dependabot[bot]
aba18b82f7
Bump certifi in /python-setup/tests/pipenv/requests-3
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2021.10.8 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases )
- [Commits](https://github.com/certifi/python-certifi/compare/2021.10.08...2022.12.07 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-08 12:47:50 +00:00
Chuan-kai Lin
4a5ad5af18
update-required-checks.sh: ignore check-expected-release-files
2022-12-07 14:27:32 -08:00
Chuan-kai Lin
19f867a052
Merge branch 'main' into cklin/fix-update-required-checks-sha
2022-12-07 10:37:25 -08:00
Chuan-kai Lin
5e452f0d9d
Merge pull request #1412 from github/cklin/codeql-cli-2.11.5
...
Bump default CodeQL version to 2.11.5
2022-12-07 10:36:40 -08:00
Chuan-kai Lin
8bebf77dbd
update-required-checks.sh: fix argument handling
2022-12-07 10:12:01 -08:00
Chuan-kai Lin
fb74504ab5
Disable nightly-latest checks for Swift
2022-12-07 17:59:30 +00:00
Chuan-kai Lin
c51babb6c6
Merge branch 'main' into cklin/codeql-cli-2.11.5
2022-12-07 08:33:58 -08:00
Henry Mercer
79166d0788
Merge pull request #1420 from github/henrymercer/failed-runs-fix-action-not-found
...
Fix failed SARIF upload behavior when the workflow doesn't call the CodeQL Action
2022-12-07 08:48:11 +00:00
Rasmus Wriedt Larsen
44ef9d902a
Merge pull request #1419 from github/rasmuswl/poetry-no-local-venv
...
python-setup: Don't allow Poetry to make venv in project
2022-12-06 20:29:23 +01:00
Henry Mercer
384a214d60
Allow testing workflow parsing functionality from PR checks
2022-12-06 18:37:25 +00:00
Henry Mercer
697ed97fa5
Factor out some code in post-init tests
2022-12-06 18:23:55 +00:00
Henry Mercer
2207a72006
Downgrade log severity when we can't upload a failed SARIF file
...
This isn't severe enough to appear on the Actions summary.
2022-12-06 18:18:07 +00:00
Henry Mercer
4623c8edb6
Make getInputOrThrow throw when it can't find any calls to the Action
...
This created unexpected behavior with a workflow calling
`codeql-action/analyze` locally.
Therefore, be more conservative with parsing inputs from workflows and
refuse to parse jobs that don't call the specified Action exactly once.
2022-12-06 18:13:47 +00:00
Henry Mercer
9085295c40
Add regression test
2022-12-06 17:59:14 +00:00
Rasmus Wriedt Larsen
3b0a2f607d
python-setup: Update comment with fully qualified configuration name
2022-12-06 11:37:57 +01:00
Rasmus Wriedt Larsen
5566638d56
Update CHANGELOG.md
2022-12-06 11:37:31 +01:00
Rasmus Wriedt Larsen
27c1438455
python-setup: Apply suggestions from code review
2022-12-06 11:32:21 +01:00
Henry Mercer
1e8d3b8fca
Merge pull request #1418 from github/henrymercer/remove-file-baseline-info-feature-flag
...
Enable file baseline export by default
2022-12-06 09:42:34 +00:00
Rasmus Wriedt Larsen
7fc528c3c6
python-setup: Don't allow Poetry to make venv in project
...
I mostly verified this works on my local machine, but did add a sample `poetry.toml` to the tests, so it can be verified from looking at the logs 🤷
2022-12-06 10:41:46 +01:00
Henry Mercer
2cbc140ac5
Enable file baseline export by default
...
This is now fully rolled out.
2022-12-05 14:10:06 +00:00
Henry Mercer
1653364141
Merge pull request #1414 from github/dependabot/github_actions/peter-evans/create-pull-request-4.2.3
...
Bump peter-evans/create-pull-request from 3.4.1 to 4.2.3
2022-12-05 11:02:42 +00:00
dependabot[bot]
61cc378b7f
Bump swift-actions/setup-swift from 1.19.0 to 1.20.0 ( #1415 )
...
* Bump swift-actions/setup-swift from 1.19.0 to 1.20.0
Bumps [swift-actions/setup-swift](https://github.com/swift-actions/setup-swift ) from 1.19.0 to 1.20.0.
- [Release notes](https://github.com/swift-actions/setup-swift/releases )
- [Commits](5cdaa9161a...194625b58a )
---
updated-dependencies:
- dependency-name: swift-actions/setup-swift
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update setup-swift SHA in non-autogenerated files
* Specify v5.7.0 instead of 5.7
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Angela P Wen <angelapwen@github.com >
2022-12-05 10:54:03 +01:00
dependabot[bot]
7aa5026a55
Bump actions/setup-python from 3 to 4 ( #1416 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 08:20:36 +01:00
dependabot[bot]
c80f00a5c9
Bump peter-evans/create-pull-request from 3.4.1 to 4.2.3
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 3.4.1 to 4.2.3.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](c7f493a800...2b011faafd )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-02 19:29:01 +00:00
Henry Mercer
62b14cbbad
Merge pull request #1413 from github/update-dependabot-e0f8a3c2
...
Add Dependabot config file
2022-12-02 19:28:32 +00:00
Henry Mercer
794a4b543a
Switch to weekly interval for both ecosystems
2022-12-02 18:42:33 +00:00
Henry Mercer
ee6ba9c213
Reformat
2022-12-02 17:53:16 +00:00
Henry Mercer
81f99a8582
Remove outdated section for runner and perform all updates daily
2022-12-02 17:52:46 +00:00
Sentinel Reviewer
4b18b7bc24
Update Dependabot config file
2022-12-02 11:45:26 -06:00
Henry Mercer
4acf201e5b
Merge pull request #1393 from github/henrymercer/report-failed-runs
...
Submit SARIF for failed runs too
2022-12-02 17:08:04 +00:00
Chuan-kai Lin
1e5919b22d
Bump default CodeQL version to 2.11.5
2022-12-02 07:38:17 -08:00
Henry Mercer
375dacad24
Only print the full error message in debug mode
2022-12-02 14:38:40 +00:00
Henry Mercer
e0ff272230
Merge branch 'main' into henrymercer/report-failed-runs
2022-12-02 14:31:22 +00:00
Angela P Wen
aa0e650c6a
Surface fatal CLI errors in interpret-results and run-queries ( #1407 )
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2022-12-02 14:05:21 +01:00
Henry Mercer
98b2ddc7f9
Merge branch 'main' into henrymercer/report-failed-runs
2022-12-01 18:27:32 +00:00
Henry Mercer
0d9b15ca93
Merge pull request #1392 from github/henrymercer/parse-category
...
Add functionality for parsing Action inputs from a workflow file
2022-12-01 18:26:03 +00:00
Henry Mercer
b1c26c4c53
Merge pull request #1409 from github/mergeback/v2.1.35-to-main-b2a92eb5
...
Mergeback v2.1.35 refs/heads/releases/v2 into main
2022-12-01 14:25:02 +00:00
github-actions[bot]
21044b004d
Update checked-in dependencies
2022-12-01 13:51:17 +00:00
github-actions[bot]
0828b04e3a
Update changelog and version after v2.1.35
2022-12-01 13:04:46 +00:00
Henry Mercer
b2a92eb56d
Merge pull request #1406 from github/update-v2.1.35-9af9a11d
...
Merge main into releases/v2
2022-12-01 13:02:24 +00:00
github-actions[bot]
075b74d36e
Update changelog for v2.1.35
2022-12-01 12:16:44 +00:00
Angela P Wen
9af9a11da8
Stop running fallback Go autobuild if database is finalized ( #1405 )
2022-12-01 11:29:03 +01:00
Andrew Eisenberg
a631f4b016
Merge pull request #1400 from github/aeisenberg/fix-test-error
...
Fixes spurious error messages in tests
2022-11-30 08:04:59 -08:00
Henry Mercer
77cda4d75d
Add testing environment to submit SARIF after failure PR check
2022-11-30 11:32:36 +00:00
Henry Mercer
3d90c4f911
Improve error message when failed SARIF file doesn't process as expected
2022-11-30 11:27:03 +00:00
Andrew Eisenberg
1384ce4ab3
Fixes spurious error messages in tests
...
Previously, `isAnalyzingDefaultBranch` was failing because there are
some missing env vars: `GITHUB_SHA`, `GITHUB_REF`, and
`GITHUB_EVENT_PATH`. Also, `checkout_path` is missing as an input.
Rather than trying to set them to mock values, which would require
setting the paths to existing paths in the file system, I chose to stub
the entire function. I think this is fine since the point of the test
is to check the ram and threads values, not testing the
`isAnalyzingDefaultBranch` function.
2022-11-29 10:53:11 -08:00
Henry Mercer
6c5cad784c
Merge branch 'henrymercer/parse-category' into henrymercer/report-failed-runs
2022-11-29 17:04:56 +00:00
Henry Mercer
58b2ab08a8
Add unit test for typical workflow
2022-11-29 17:03:01 +00:00
Henry Mercer
e0dec83cfc
Explicitly mention surrounding by try/catch in JSDoc
2022-11-29 16:29:27 +00:00
Henry Mercer
00a3c456fb
Always wait for processing when uploading a failed SARIF file
2022-11-29 16:27:04 +00:00
Henry Mercer
e628ee0ae1
Push unsuccessful execution API error detection into upload library
2022-11-29 16:25:29 +00:00
Henry Mercer
605b23d10b
Explicitly suggest wrapping in a try/catch block
2022-11-29 15:48:54 +00:00
Rasmus Wriedt Larsen
160613c380
Merge pull request #1402 from github/rasmuswl/new-virtualenv
...
python-setup: rely on new `virtualenv` for venv creation in Ubuntu 22.04
2022-11-29 13:56:31 +01:00
Rasmus Wriedt Larsen
caf1c5057b
python-setup: Remove outdated comment
2022-11-29 13:24:10 +01:00
Rasmus Wriedt Larsen
c62445de22
python-setup: rely on new virtualenv for venv creation in Ubuntu 22.04
...
Removes the hotfix from https://github.com/github/codeql-action/pull/1257
2022-11-29 11:43:01 +01:00
Henry Mercer
7fc3c603aa
Add changelog note
2022-11-25 18:18:39 +00:00
Henry Mercer
24fd4c0f4e
Generate the "Submit SARIF after failure" workflow
2022-11-25 18:18:13 +00:00
Henry Mercer
d0517be03a
Ensure we finish the log group when waiting for processing
2022-11-25 17:55:01 +00:00
Henry Mercer
37b4358e44
Handle API versions that reject unsuccessful executions
2022-11-25 17:55:00 +00:00
Henry Mercer
122b180b66
Add an integration test for uploading SARIF when the run fails
2022-11-25 17:54:22 +00:00
Henry Mercer
8337c2be0f
Only upload failed SARIF if the run failed
2022-11-25 17:53:32 +00:00
Henry Mercer
5296a763b1
Upload failed SARIF files to Code Scanning
2022-11-25 17:52:50 +00:00
Henry Mercer
3afc2b194c
Add feature flag for uploading failed SARIF
2022-11-25 17:49:03 +00:00
Henry Mercer
3cf2a1ba2e
Add function for retrieving the "upload" input
2022-11-25 17:49:01 +00:00
Henry Mercer
4d4e25083a
Use a matrix in testing workflow
2022-11-25 17:47:21 +00:00
Henry Mercer
9de6c31571
Log matrix input
2022-11-25 17:47:21 +00:00
Henry Mercer
44ae944a29
Add a workflow to test reporting a failed run
2022-11-25 17:47:21 +00:00
Henry Mercer
e2338066a1
Add diagnostics export command
2022-11-25 17:47:21 +00:00
Henry Mercer
8f05fcd048
Filter set of possible Action inputs to those from a particular job
...
This better handles cases where customers have a monorepo and have
separate jobs for different components.
2022-11-25 17:40:27 +00:00
Alexander Eyers-Taylor
9dac9f748a
Merge pull request #1396 from github/mergeback/v2.1.34-to-main-312e093a
...
Mergeback v2.1.34 refs/heads/releases/v2 into main
2022-11-25 16:14:10 +00:00
github-actions[bot]
c6e756bb39
Update checked-in dependencies
2022-11-25 15:38:27 +00:00
github-actions[bot]
8d8b898c0f
Update changelog and version after v2.1.34
2022-11-25 15:20:20 +00:00
Alexander Eyers-Taylor
312e093a18
Merge pull request #1395 from github/update-v2.1.34-7e73deda
...
Merge main into releases/v2
2022-11-25 15:17:56 +00:00
github-actions[bot]
aef0440821
Update changelog for v2.1.34
2022-11-25 13:44:40 +00:00
Henry Mercer
9f2aa7ec75
Merge branch 'main' into henrymercer/parse-category
2022-11-25 09:58:27 +00:00
Henry Mercer
7e73dedacc
Merge pull request #1394 from github/aeisenberg/bypass-toolcache-kotlin-swift
...
Add a way to bypass the toolcache for kotlin and swift
2022-11-25 09:30:35 +00:00
Andrew Eisenberg
102e01da36
Small refactoring of shouldBypassToolcache
2022-11-24 12:33:42 -08:00
Andrew Eisenberg
eb19ecbad1
Add API call for languages if java in input
...
If a user explicitly includes java in their language inputs, always
make an api call to check for kotlin in the repo.
Also, add some suggestions from code reviews.
2022-11-24 11:06:29 -08:00
Henry Mercer
f0a052e8b4
Merge pull request #1388 from github/henrymercer/bump-swift-version-to-5.7.1
...
Run Swift tests with Swift 5.7.1 on macOS
2022-11-24 15:37:32 +00:00
Henry Mercer
ead8da6199
Merge branch 'main' into henrymercer/bump-swift-version-to-5.7.1
2022-11-24 14:32:08 +00:00
Alexander Eyers-Taylor
c61f4c61f8
Merge pull request #1391 from github/alexet/update-2.11.4-v2
...
Update default CodeQL bundle version to 2.11.4
2022-11-24 14:23:06 +00:00
Andrew Eisenberg
ad7ca9bf21
Add some new tests and fix some comments
2022-11-23 22:18:12 -08:00
Andrew Eisenberg
f79028af27
Add the feature to bypass the toolcache for kotlin and swift
...
This works by moving the logic to check for toolcache bypass out of
creating the codeql instance. The logic now _may_ perform an API request
in order to check what languages are in the repository. This check is
redundant because the same call is being made later in the action when
the actual list of languages is calculated.
2022-11-23 15:11:20 -08:00
Henry Mercer
909c8687d5
Test Linux against Swift 5.7
...
Currently only macOS supports 5.7.1
2022-11-23 21:21:50 +00:00
Andrew Eisenberg
5b7c9daecd
Add the bypass_toolcache_kotlin_switft_enabled flag
2022-11-23 12:20:22 -08:00
Henry Mercer
ce90479412
Test latest and nightly-latest against Swift 5.7.1
2022-11-23 20:17:20 +00:00
Henry Mercer
bff0be7364
Generalize getCategoryInputOrThrow to arbitrary inputs
2022-11-23 19:27:03 +00:00
Henry Mercer
daf4614f68
Substitute matrix variables into category input
...
This is a common case, so we should handle it.
2022-11-23 19:27:03 +00:00
Henry Mercer
e2d523ca5e
Add function to read the analysis category from a workflow
2022-11-23 19:27:03 +00:00
Henry Mercer
996d04b1e5
Fix a type error affecting later versions of TypeScript
2022-11-23 19:27:03 +00:00
Henry Mercer
79f8286c68
Refactoring: Separate out workflow related functionality
...
No semantic changes.
2022-11-23 19:27:01 +00:00
Alexander Eyers-Taylor
d52e657b2e
Update default CodeQL bundle version to 2.11.4
2022-11-23 18:56:23 +00:00
Henry Mercer
187515b328
Merge pull request #1390 from github/henrymercer/remove-dead-code
...
Remove some dead code
2022-11-23 18:55:09 +00:00
Henry Mercer
bc341c5dd1
Remove fallback logic for GHES 2.22 when determining Action repository
2022-11-23 18:19:25 +00:00
Henry Mercer
39fe7aa8a1
Remove dead guard for GHES 3.0
2022-11-23 13:57:07 +00:00
Henry Mercer
c719ec0b33
Merge pull request #1389 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions.
2022-11-23 10:31:21 +00:00
Henry Mercer
09bfd560f6
Merge pull request #1385 from github/henrymercer/update-v1-deprecation-date
...
Update v1 deprecation date
2022-11-23 10:24:17 +00:00
Henry Mercer
33b2045510
Merge branch 'main' into henrymercer/update-v1-deprecation-date
2022-11-23 09:53:16 +00:00
GitHub
93c6b70dc3
Update supported GitHub Enterprise Server versions.
2022-11-23 00:13:03 +00:00
Henry Mercer
def4f60c6c
Merge pull request #1387 from github/henrymercer/fix-swift-version
...
Use Swift version 5.7 in PR checks
2022-11-22 22:39:17 +00:00
Henry Mercer
34d91a9ce7
Use runner.os in ML-powered queries tests too
2022-11-22 20:45:26 +00:00
Henry Mercer
c49c05b5df
Perform the check using runner.os
2022-11-22 20:41:32 +00:00
Henry Mercer
2ccaddd459
Define swift-version as a string
2022-11-22 20:33:22 +00:00
Henry Mercer
5dcca8a6e4
Pin the version of swift-actions/setup-swift@v1
2022-11-22 20:13:49 +00:00
Henry Mercer
b6e17a6616
Drop unneeded CODEQL_ENABLE_EXPERIMENTAL_FEATURES env var
2022-11-22 11:31:22 +00:00
Henry Mercer
e9e73b0cb9
Use Swift version 5.7 in PR checks
...
The version installed in the latest runner image, 5.7.1, is not yet
supported.
2022-11-22 11:30:27 +00:00
Angela P Wen
bab5a146ac
Add Ruby and Swift language autodetect tests ( #1369 )
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2022-11-22 11:03:25 +00:00
Henry Mercer
6013661451
Update v1 deprecation date
...
The expected deprecation date of GHES 3.3 has been postponed, so v1 will
now be deprecated in January.
2022-11-22 09:43:07 +00:00
Andrew Eisenberg
26df9a9a4f
Merge pull request #1384 from github/aeisenberg/feature-flags-disk
...
Cache feature flags on disk
2022-11-21 15:25:34 -08:00
Andrew Eisenberg
4ee97e5e55
Add extra test ensuring env var overrides cached feature flag
2022-11-21 14:30:36 -08:00
Andrew Eisenberg
cfce1c4e19
Rename
2022-11-21 13:42:32 -08:00
Andrew Eisenberg
da75623c67
Update changelog
2022-11-21 11:19:34 -08:00
Andrew Eisenberg
c29fca48a1
Cache feature flags on disk
...
This will allow feature flags to be shared across steps in the same job,
avoiding an error we saw earlier where the init action had the flag
enabled, but the analyze step had it disabled.
This uses the runner's temp folder to cache the flags file, which will
stick around until the job completes.
2022-11-21 11:14:38 -08:00
Angela P Wen
4fddc51e4f
Support Kotlin for public beta ( #1370 )
2022-11-17 18:38:48 +00:00
Henry Mercer
7694d6752a
Merge pull request #1378 from github/henrymercer/add-ruby-to-readme
...
Add Ruby to README
2022-11-17 12:39:38 +00:00
Marco Gario
3b8914b2cc
Merge pull request #1376 from github/mergeback/v2.1.33-to-main-678fc3af
...
Mergeback v2.1.33 refs/heads/releases/v2 into main
2022-11-16 20:57:51 +01:00
github-actions[bot]
377b692bf3
Update checked-in dependencies
2022-11-16 18:49:58 +00:00
Henry Mercer
55a437c003
Add Ruby to README
2022-11-16 18:31:04 +00:00
github-actions[bot]
e353814da4
Update changelog and version after v2.1.33
2022-11-16 18:17:50 +00:00
Marco Gario
678fc3afe2
Merge pull request #1375 from github/update-v2.1.33-c939e661
...
Merge main into releases/v2
2022-11-16 19:15:58 +01:00
Henry Mercer
0f07790b74
Merge pull request #1374 from github/henrymercer/pass-testing-environment
...
Set testing environment for CodeQL workflow
2022-11-16 18:05:00 +00:00
Edoardo Pirovano
53060aa0c8
Merge pull request #1373 from github/edoardo/workaround-download
...
TRAP Caching: Re-introduce workaround for download timeout
2022-11-16 17:28:21 +00:00
Marco Gario
d13b9b8244
Fix changelog entry
2022-11-16 17:45:42 +01:00
Henry Mercer
a836d9571f
Set testing environment for CodeQL workflow
2022-11-16 16:40:35 +00:00
Henry Mercer
ffc2dd6d6d
Enable test mode for check-codescanning-config Action
2022-11-16 16:40:35 +00:00
Henry Mercer
7cdf75141e
Remove redundant INTERNAL_CODEQL_ACTION_DEBUG_LOC variable
2022-11-16 16:40:35 +00:00
Henry Mercer
a190d3876a
Rename TEST_MODE to specific variable for CodeQL Action
...
This allows us to set it automatically in the workflow generator,
simplifying things and reducing the scope for error.
2022-11-16 16:40:30 +00:00
github-actions[bot]
f2c3e7ca4e
Update changelog for v2.1.33
2022-11-16 16:34:17 +00:00
Edoardo Pirovano
bfc56625b0
TRAP Caching: Re-introduce workaround for download timeout
2022-11-16 15:49:52 +00:00
Marco Gario
c939e6615d
Merge pull request #1372 from github/marcogario/prioritize_github_ref
...
Prefer GITHUB_REF to CODE_SCANNING_REF
2022-11-16 12:03:29 +01:00
Henry Mercer
1935d19d61
Merge pull request #1358 from github/henrymercer/require-cli-2.6.3
...
Bump minimum CodeQL bundle version to 2.6.3
2022-11-16 10:37:57 +00:00
Angela P Wen
7484436e5d
Remove Go extraction feature flags ( #1371 )
2022-11-16 10:32:40 +00:00
Marco Gario
0a76b97b28
Prefer GITHUB_REF to CODE_SCANNING_REF
...
Given that the GITHUB_REF is a protected variable, we want to prefer it to
CODE_SCANNING_REF. This should prevent accidentally overwriting these values.
The logic is a bit more involved, as I think it makes sense to raise the error
about GITHUB_REF not being set, rather than mentioning CODE_SCANNING_REF if
both are not set.
2022-11-16 10:49:49 +01:00
Henry Mercer
f8b607edaa
Merge pull request #1364 from github/henrymercer/delete-runner-part-2
...
Delete the runner, part 2
2022-11-15 21:19:38 +00:00
Henry Mercer
d48707ce53
Merge branch 'henrymercer/delete-runner-part-2' into henrymercer/require-cli-2.6.3
2022-11-15 20:58:01 +00:00
Henry Mercer
07b9db6a46
Explicitly set up Go 1.13.1 in checks running on old runner images
2022-11-15 20:53:57 +00:00
Henry Mercer
0dea34e91c
Merge branch 'main' into henrymercer/delete-runner-part-2
2022-11-15 19:35:30 +00:00
Henry Mercer
f47c93c5fd
Merge pull request #1363 from github/henrymercer/delete-runner-part-1
...
Delete the runner, part 1
2022-11-15 19:31:28 +00:00
Andrew Eisenberg
6a0f768e01
Merge pull request #1368 from marcogario/marcogario/code_scanning_ref
...
Read CODE_SCANNING_REF env variable
2022-11-15 09:14:09 -08:00
Marco Gario
2bca6af0e5
Read CODE_SCANNING_REF
2022-11-15 15:26:47 +01:00
Henry Mercer
43f9bd3e4f
Merge pull request #1365 from github/henrymercer/update-query-id-prefixes
...
Add Swift file baseline info to expected list
2022-11-15 14:20:42 +00:00
Henry Mercer
88b5c1e51f
Set environment variable to enable Swift
2022-11-15 13:53:00 +00:00
Henry Mercer
3ef8b89353
Merge branch 'main' into henrymercer/update-query-id-prefixes
2022-11-15 13:46:12 +00:00
Henry Mercer
35086e72ed
Merge pull request #1366 from github/henrymercer/update-lockfile
...
Update lockfiles to v3
2022-11-15 12:43:58 +00:00
Henry Mercer
1e2f8f035d
Merge branch 'main' into henrymercer/require-cli-2.6.3
2022-11-14 22:25:31 +00:00
Henry Mercer
31c87302e7
Add Swift file baseline info to expected list
...
Also update query ID prefixes for C# and Ruby
2022-11-14 22:23:16 +00:00
Henry Mercer
0990a34ac8
Merge branch 'main' into henrymercer/delete-runner-part-1
2022-11-14 22:20:41 +00:00
Henry Mercer
47ce159207
Add config file to support npm v8 and v9 simultaneously
2022-11-14 22:15:08 +00:00
Angela P Wen
5883c13406
Deprecate Go extraction reconciliation feature flag and CODEQL_EXTRACTOR_GO_BUILD_TRACING for custom builds ( #1322 )
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2022-11-14 13:54:35 -08:00
Henry Mercer
375506c896
Update lockfiles to v3
2022-11-14 21:43:03 +00:00
Henry Mercer
9df773d1a3
Remove unneeded apiDetails input to getApiClient
2022-11-14 19:55:30 +00:00
Henry Mercer
dac8912e9f
Remove deriveApiUrl function only used by runner
2022-11-14 18:59:39 +00:00
Henry Mercer
8ecbaea022
Remove support for empty analysis keys from runner
2022-11-14 18:55:31 +00:00
Henry Mercer
3d46406f3b
Remove runner-only input to databaseInitCluster
2022-11-14 18:49:17 +00:00
Henry Mercer
03bb58c07d
Remove note about separation in actions-util
...
We could move everything into `util`, but in some ways it is nice having
a file dedicated to Actions related utilities.
2022-11-14 18:46:43 +00:00
Angela P Wen
0eacdb53ad
Support Swift for private beta ( #1350 )
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2022-11-14 10:29:05 -08:00
Henry Mercer
8c8a9b1231
Remove auth method only used in runner
2022-11-14 16:39:43 +00:00
Henry Mercer
b498c79130
Remove concept of Actions / runner mode
2022-11-14 16:37:48 +00:00
Henry Mercer
51abddb49b
Delete the runner
2022-11-14 16:23:14 +00:00
Henry Mercer
73c5c0607d
Remove runner threads and RAM test
...
We don't need to test runner functionality now since the runner is only
used in PR checks, and `extractor-ram-threads.yml` covers the Action
case.
2022-11-14 16:18:38 +00:00
Henry Mercer
adb125ae03
Remove runner upload SARIF test
...
Testing SARIF compatibility is covered by `codeql.yml`.
2022-11-14 16:16:58 +00:00
Henry Mercer
219d9a0182
Remove runner C# autobuild tests
...
These are covered by `autobuild-action.yml`.
2022-11-14 16:14:41 +00:00
Henry Mercer
83ead4549c
Remove manual build steps tests
...
These are tested by `multi-language-autodetect.yml`
2022-11-14 16:13:14 +00:00
Henry Mercer
63d8cbe20e
Remove Windows and macOS JS analysis runner tests
...
These are covered by `codeql.yml`, which runs across all latest runner
images.
2022-11-14 16:09:36 +00:00
Henry Mercer
be84b68e4c
Delete runner CLI config parsing check
...
This is now covered by `codescanning-config-cli.yml`.
2022-11-14 16:07:49 +00:00
Henry Mercer
af487b12e7
Merge pull request #1361 from github/mergeback/v2.1.32-to-main-42384213
...
Mergeback v2.1.32 refs/heads/releases/v2 into main
2022-11-14 13:42:07 +00:00
github-actions[bot]
f3e11b9174
Update checked-in dependencies
2022-11-14 12:58:46 +00:00
github-actions[bot]
ac90bc016d
Update changelog and version after v2.1.32
2022-11-14 12:37:28 +00:00
Henry Mercer
4238421316
Merge pull request #1360 from github/update-v2.1.32-33b10be6
...
Merge main into releases/v2
2022-11-14 12:35:15 +00:00
github-actions[bot]
97be6233c4
Update changelog for v2.1.32
2022-11-14 12:03:19 +00:00
Henry Mercer
0c3e493df0
Update first version of CLI compatible with Windows 2022
...
It is 2.8.2, not 2.7.3.
2022-11-11 19:08:55 +00:00
Henry Mercer
e131232b86
Add changelog note
2022-11-11 19:08:33 +00:00
Henry Mercer
1fd76310fd
Update CLI versions in non-generated checks
2022-11-11 19:08:33 +00:00
Henry Mercer
9e44100c47
Update autogenerated checks to run on earliest three minor CLI versions
2022-11-11 19:00:48 +00:00
Henry Mercer
acbc6ca6e5
Fix a couple of naming nits
2022-11-11 19:00:48 +00:00
Henry Mercer
84e5134df9
Remove lines of code counting in the Action
...
We now only need to support doing this in the CLI.
2022-11-11 19:00:45 +00:00
Henry Mercer
ea990a3118
Remove flags for CLI v2.6.2 and earlier
2022-11-11 18:22:45 +00:00
Henry Mercer
b45e925fe2
Bump minimum version to 2.6.3
2022-11-11 18:00:58 +00:00
Henry Mercer
33b10be6bf
Merge pull request #1348 from github/henrymercer/use-codeql-2.11.3
...
Bump default CodeQL version to 2.11.3
2022-11-11 11:36:11 +00:00
Henry Mercer
718930badf
Pin npm to latest v8 release to address failing PR check
...
npm v9 is not compatible with Node 12, so we can't update to it yet.
2022-11-11 11:06:50 +00:00
Henry Mercer
76a77405c1
Fix Python query identifier in file baseline information PR check
2022-11-11 10:12:39 +00:00
Henry Mercer
9452b6b864
Merge branch 'main' into henrymercer/use-codeql-2.11.3
2022-11-11 09:56:50 +00:00
Edoardo Pirovano
006bb00765
Merge pull request #1354 from github/edoardo/force-exit-on-timeout
...
Force exit of process if a timeout has occurred
2022-11-10 16:56:41 +00:00
Edoardo Pirovano
d6f6ef4b0b
Force exit of process if a timeout has occurred
2022-11-09 17:28:15 +00:00
Stephan Brandauer
7c9e85e249
Merge pull request #1353 from kaeluka/add-ATM-0.4.0-to-changelog
...
Add ATM 0.4.0 to changelog
2022-11-09 11:31:28 +01:00
Stephan Brandauer
fb3fdd7e15
add ATM 0.4.0 to changelog
2022-11-09 10:30:59 +01:00
Stephan Brandauer
73ff862014
Merge pull request #1351 from kaeluka/release-atm-v0.4.0
...
use ATM pack v0.4.0 for CLI v2.11.3 and above
2022-11-08 15:08:24 +01:00
Stephan Brandauer
01c4458f0c
use ATM pack v0.4.0 for CLI v2.11.3 and above
2022-11-08 13:53:18 +01:00
Henry Mercer
0e5b04a79a
Merge pull request #1349 from github/henrymercer/improve-focus-when-init-fails
...
Improve experience when init fails before generating a config file
2022-11-08 11:31:43 +00:00
Henry Mercer
f9948ffd0e
Improve experience when init fails before generating a config file
...
Suppose a customer has a run where the init Action failed before saving
a config file.
When the customer opens their Actions logs, the UI currently focuses on
the post init step, since this is the last step that failed.
Demoting the error in the post init Action to a warning means that the
UI will instead focus on the `init` step, which is more useful for
debugging what went wrong.
2022-11-07 18:50:59 +00:00
Henry Mercer
c606252ada
Merge pull request #1329 from github/henrymercer/file-baseline-info-enablement
...
Enable file baseline information behind a feature gate
2022-11-07 18:10:39 +00:00
Henry Mercer
029ecc09e7
Check expected SARIF notification objects
2022-11-07 16:37:57 +00:00
Henry Mercer
b9b7d9f2a6
Add PR check for file baseline information
2022-11-07 16:37:46 +00:00
Henry Mercer
dba70acdb3
Bump default CodeQL version to 2.11.3
2022-11-07 10:40:09 +00:00
Andrew Eisenberg
8aff97f12c
Merge pull request #1346 from github/mergeback/v2.1.31-to-main-c3b6fce4
...
Mergeback v2.1.31 refs/heads/releases/v2 into main
2022-11-07 02:18:21 -08:00
github-actions[bot]
31a2afec21
Update checked-in dependencies
2022-11-04 23:01:51 +00:00
github-actions[bot]
6a5e69e74f
Update changelog and version after v2.1.31
2022-11-04 20:36:31 +00:00
Andrew Eisenberg
c3b6fce4ee
Merge pull request #1345 from github/update-v2.1.31-a8cabafa
...
Merge main into releases/v2
2022-11-04 13:33:47 -07:00
Andrew Eisenberg
8aa42f1f11
Update CHANGELOG.md
...
Add link to codeql PR.
2022-11-04 10:19:29 -07:00
Andrew Eisenberg
29a5553722
Update CHANGELOG.md
...
Add message about `rb/weak-cryptographic-algorithm`.
2022-11-04 10:14:36 -07:00
github-actions[bot]
e260194d76
Update changelog for v2.1.31
2022-11-04 17:05:58 +00:00
Edoardo Pirovano
a8cabafa56
Merge pull request #1344 from github/edoardo/prune-ruby
...
Prune results of Ruby query from SARIF
2022-11-04 17:01:42 +00:00
Edoardo Pirovano
862a512899
Prune results of Ruby query from SARIF
2022-11-04 14:57:13 +00:00
Henry Mercer
71510779c2
Merge pull request #1342 from github/mergeback/v2.1.30-to-main-18fe527f
...
Mergeback v2.1.30 refs/heads/releases/v2 into main
2022-11-02 13:38:45 +00:00
github-actions[bot]
81a1ec0fb3
Update checked-in dependencies
2022-11-02 12:31:48 +00:00
github-actions[bot]
60c8cda203
Update changelog and version after v2.1.30
2022-11-02 12:13:36 +00:00
Henry Mercer
18fe527fa8
Merge pull request #1341 from github/update-v2.1.30-cd983e71
...
Merge main into releases/v2
2022-11-02 12:09:34 +00:00
github-actions[bot]
f04ca7c11c
Update changelog for v2.1.30
2022-11-02 11:23:49 +00:00
Henry Mercer
89e18934d3
Forward file baseline information enablement to CLI
2022-11-01 17:10:53 +00:00
Henry Mercer
5da50dc362
Add file baseline information feature
2022-11-01 16:59:38 +00:00
Henry Mercer
cd983e71c6
Merge pull request #1334 from github/henrymercer/better-error-for-glibc
...
Add a better error message for users of CodeQL CLI 2.7.2 and earlier running on `ubuntu-22.04`
2022-11-01 16:51:05 +00:00
Angela P Wen
2ec046b5ac
Merge pull request #1328 from github/angelapwen/add-go-autobuild-comment
...
Add Go to list of supported languages
2022-11-01 09:50:32 -07:00
Cornelius Riemenschneider
72bd9cbe62
Merge pull request #1321 from github/criemen/datadog-tag
...
Actions status report: Send testing_environment.
2022-11-01 16:51:25 +01:00
Angela P Wen
ac0112f7f1
Add Go to list of supported languages
2022-11-01 08:28:56 -07:00
Cornelius Riemenschneider
77b1f7e44c
Merge remote-tracking branch 'origin/main' into criemen/datadog-tag
2022-11-01 16:15:42 +01:00
Henry Mercer
aa07b3894b
Merge pull request #1340 from github/henrymercer/fix-proxy-check
...
Fix missing Docker image in proxy test
2022-11-01 15:07:13 +00:00
Henry Mercer
c44e6c6096
Fix missing Docker image in proxy test
2022-11-01 14:32:18 +00:00
Cornelius Riemenschneider
ae0a2603c1
Update src/actions-util.ts
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2022-11-01 14:46:41 +01:00
Cornelius Riemenschneider
bfcbb093ac
Re-export codeql testing environment variable to subsequent steps, if set.
2022-11-01 13:18:57 +01:00
Cornelius Riemenschneider
4b73c4f99e
Actions status report: Send testing_environment.
...
The testing environment is taken from the environment variable
CODEQL_ACTION_TESTING_ENVIRONMENT.
2022-11-01 13:18:57 +01:00
Henry Mercer
6c6b550a41
Add changelog note
2022-10-31 14:22:26 +00:00
Henry Mercer
a3141c7a07
Improve error message
2022-10-31 14:19:04 +00:00
Henry Mercer
13cb2ca824
Merge branch 'main' into henrymercer/better-error-for-glibc
2022-10-31 13:44:00 +00:00
Henry Mercer
7e2585030f
Merge pull request #1330 from github/henrymercer/ubuntu-image-upgrade
...
Make PR checks compatible with the latest version of the `ubuntu-latest` runner image
2022-10-31 10:07:19 +00:00
Henry Mercer
4b37e17ec1
Check stdout rather than stderr
2022-10-28 18:59:02 +01:00
Henry Mercer
a12a861b82
Add a better error message for users of CodeQL CLI 2.7.2 and earlier
...
Improves the error message for users running (a) CLI 2.7.2 and earlier
and (b) `ubuntu-22.04`, to which `ubuntu-latest` is now being migrated.
Previously this was "undefined symbol: __libc_dlopen_mode, version
GLIBC_PRIVATE".
Now we give some guidance around glibc versions and using the
`ubuntu-20.04` runner image.
2022-10-28 18:38:00 +01:00
Henry Mercer
993ca05cd7
Fix artifact lookup for ubuntu-20.04
2022-10-27 17:56:45 +01:00
Henry Mercer
a31200481f
Be more specific about where the 2.7.3 constraint comes from
2022-10-27 16:28:36 +01:00
Henry Mercer
4ed5abeff3
Remove redundant Rubocop checks
2022-10-27 16:23:29 +01:00
Henry Mercer
734292689d
Update non-generated checks for ubuntu-latest image update
2022-10-27 16:23:29 +01:00
Henry Mercer
5767f918ef
Remove redundant fail-fast configurations
2022-10-27 15:19:07 +01:00
Henry Mercer
f248a57d3b
Run PR checks for CLIs < 2.7.3 on ubuntu-20.04
...
Build tracing using CLIs before 2.7.3 no longer works with the most
recent update to the `ubuntu-22.04` runner image.
With this new logic, we can remove the workarounds around testing
`windows-2019` and `windows-2022`.
2022-10-27 15:19:07 +01:00
Edoardo Pirovano
40542d38bc
Merge pull request #1326 from github/henrymercer/fix-mergeback-pr-description
...
Fix mergeback PR description
2022-10-26 14:14:58 +01:00
Henry Mercer
55ffe2dcbb
Fix mergeback PR description
...
Previously the quoted values weren't visible in the PR description.
2022-10-26 12:22:05 +01:00
Edoardo Pirovano
3c7f7914e6
Merge pull request #1324 from github/mergeback/v2.1.29-to-main-ec3cf9c6
...
Mergeback v2.1.29 refs/heads/releases/v2 into main
2022-10-26 11:08:36 +01:00
github-actions[bot]
e76b89fe31
Update checked-in dependencies
2022-10-26 08:59:39 +00:00
github-actions[bot]
98f6408f34
Update changelog and version after v2.1.29
2022-10-26 08:45:16 +00:00
Edoardo Pirovano
ec3cf9c605
Merge pull request #1323 from github/update-v2.1.29-4b53723d
...
Merge main into releases/v2
2022-10-26 09:42:45 +01:00
github-actions[bot]
f246f20ec4
Update changelog for v2.1.29
2022-10-26 08:19:54 +00:00
Edoardo Pirovano
4b53723d6b
Merge pull request #1320 from github/edoardo/2.11.2-bump
...
Bump default CodeQL version to 2.11.2
2022-10-25 09:41:40 +01:00
Andrew Eisenberg
de9f112cd1
Merge pull request #1318 from github/aeisenberg/bump-min-version
...
Bumps the min version for code scanning config in the cli
2022-10-24 09:47:34 -07:00
Andrew Eisenberg
f1a4ff53b4
Bumps the min version for code scanning config in the cli
...
2.11.1 has a fix in it for parsing query filters.
2022-10-24 09:20:10 -07:00
Edoardo Pirovano
624418cb40
Bump default CodeQL version to 2.11.2
2022-10-24 13:08:52 +01:00
Edoardo Pirovano
f0a1281661
Merge pull request #1315 from github/mergeback/v2.1.28-to-main-cc7986c0
...
Mergeback v2.1.28 refs/heads/releases/v2 into main
2022-10-18 16:48:30 +01:00
github-actions[bot]
f0b3ef9e9c
Update checked-in dependencies
2022-10-18 13:18:55 +00:00
Cornelius Riemenschneider
3920e2d8ae
Merge pull request #1313 from github/criemen/ghes-31-deprecation
...
GHES 3.1 has been deprecated end of June 2022.
2022-10-18 15:17:40 +02:00
github-actions[bot]
be55631a21
Update changelog and version after v2.1.28
2022-10-18 12:54:45 +00:00
Edoardo Pirovano
cc7986c02b
Merge pull request #1311 from github/update-v2.1.28-96c8872f
...
Merge main into releases/v2
2022-10-18 13:52:03 +01:00
Cornelius Riemenschneider
f3a27d6945
GHES 3.1 has been deprecated end of June 2022.
...
Therefore, we do not need to support the workaround for
action telemetry anymore.
2022-10-18 14:20:52 +02:00
github-actions[bot]
aecd03235b
Update changelog for v2.1.28
2022-10-18 09:48:42 +00:00
Henry Mercer
96c8872f06
Merge pull request #1310 from github/henrymercer/v2-mergeback
...
Mergeback `releases/v2` into `main`
2022-10-18 10:34:45 +01:00
Henry Mercer
b709139433
Merge branch 'releases/v2' into henrymercer/v2-mergeback
2022-10-17 20:29:45 +01:00
Andrew Eisenberg
5dd73678a4
Merge pull request #1308 from github/aeisenberg/fix-merge
...
Fix the merge into releases/v2
2022-10-17 09:22:33 -07:00
Andrew Eisenberg
4c1ccc4a5e
Fix CHANGELOG
2022-10-17 08:38:17 -07:00
Andrew Eisenberg
c2f5185572
Merge commit 'e4cc4a2f' into releases/v2
2022-10-17 08:35:27 -07:00
Andrew Eisenberg
297ec80a46
Merge pull request #1301 from github/aeisenberg/remove-set-output
...
Removes deprecated set-output usage
2022-10-14 10:16:13 -07:00
Andrew Eisenberg
b0f8861cea
Update CHANGELOG.md
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2022-10-13 13:51:27 -07:00
Andrew Eisenberg
2ee8edc7f0
Update changelog
2022-10-13 13:36:52 -07:00
Andrew Eisenberg
eba983fb9b
Removes deprecated set-output usage
...
For more information see
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This change bumps a bunch of the internal actions packages. Note that
the only required version change is `actions/core` to 1.10.0. The others
are not required, but seem like a reasonable idea.
It also changes all of the workflows that use `set-output`.
2022-10-13 13:25:43 -07:00
Andrew Eisenberg
e2481f79eb
Merge pull request #1299 from github/dependabot/npm_and_yarn/octokit/types-8.0.0
...
Bump @octokit/types from 7.1.1 to 8.0.0
2022-10-13 11:22:02 -07:00
github-actions[bot]
17ae47e4b4
Update checked-in dependencies
2022-10-13 17:13:54 +00:00
dependabot[bot]
2c4b2a1b38
Bump @octokit/types from 7.1.1 to 8.0.0
...
Bumps [@octokit/types](https://github.com/octokit/types.ts ) from 7.1.1 to 8.0.0.
- [Release notes](https://github.com/octokit/types.ts/releases )
- [Commits](https://github.com/octokit/types.ts/compare/v7.1.1...v8.0.0 )
---
updated-dependencies:
- dependency-name: "@octokit/types"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-13 17:01:33 +00:00
Edoardo Pirovano
0c7f674831
Merge pull request #1298 from github/edoardo/caching-hosted
...
TRAP Caching: Disable on self-hosted runners
2022-10-13 15:19:42 +01:00
Edoardo Pirovano
2fafb297de
TRAP Caching: Disable on self-hosted runners
2022-10-13 14:31:54 +01:00
Andrew Eisenberg
160e3fe79a
Merge pull request #1284 from github/aeisenberg/ff-refactoring
2022-10-12 10:41:10 -07:00
Andrew Eisenberg
34d48f825c
Merge remote-tracking branch 'upstream/main' into aeisenberg/ff-refactoring
2022-10-12 08:36:16 -07:00
Edoardo Pirovano
e862e8fc76
Merge pull request #1296 from github/edoardo/improve-docs
...
Improve documentation comment
2022-10-12 08:35:01 +01:00
Edoardo Pirovano
099de40ecf
Merge pull request #1297 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions.
2022-10-12 08:07:46 +01:00
GitHub
cc00a9d478
Update supported GitHub Enterprise Server versions.
2022-10-12 00:20:41 +00:00
Edoardo Pirovano
082bdf06b5
Improve documentation comment
2022-10-11 22:38:30 +01:00
Edoardo Pirovano
44edb7c4b5
Merge pull request #1293 from github/edoardo/fix-with-timeout
...
Fix `withTimeout` helper function
2022-10-11 21:29:20 +01:00
Henry Mercer
43c3ed9c28
More feature flag renaming
2022-10-11 11:52:55 -07:00
Andrew Eisenberg
701cea34ba
More renaming
2022-10-11 10:39:40 -07:00
Alexander Eyers-Taylor
c27c6c7642
Merge pull request #1294 from github/alexet/release-codeql-2.11.1-v2
...
Update bundle for 2.11.1
2022-10-11 18:24:36 +01:00
Edoardo Pirovano
adb28963c0
Further update to reflect a conversation with @henrymercer
2022-10-11 16:59:48 +01:00
alexet
362f9a2522
Update bundle for 2.11.1
...
This version has the fix applied
2022-10-11 12:05:46 +01:00
Edoardo Pirovano
6e1dab28b6
Fix withTimeout helper function
2022-10-11 10:04:21 +01:00
Andrew Eisenberg
6c869f8b03
Fix typos
2022-10-07 16:27:25 -07:00
Andrew Eisenberg
919e4caca1
Merge remote-tracking branch 'upstream/main' into aeisenberg/ff-refactoring
2022-10-07 14:14:09 -07:00
Angela P Wen
c6c7d293ca
Clarify merging with merge commit ( #1291 )
...
* Clarify merging with merge commit
* Add merge commit message to mergeback PRs
2022-10-07 19:05:42 +00:00
Andrew Eisenberg
1a17c59fb0
More renaming
...
Avoid usage of "Feature Flag" unless we are talking specifically about
the response from github features api. Otherwise, use terms like
"Toggleable features".
Note both "toggleable" and "togglable" appear to be valid spellings of
the word. I chose the first for no good reason.
2022-10-07 11:33:32 -07:00
github-actions[bot]
3d39294047
Mergeback v2.1.27 refs/heads/releases/v2 into main ( #1289 )
...
* Merge main into releases/v2 (#1287 )
* Update changelog and version after v2.1.26
* Update checked-in dependencies
* Don't check for Go logs on failure (#1279 )
* Update supported GitHub Enterprise Server versions. (#1275 )
Co-authored-by: GitHub <noreply@github.com >
* TRAP Caching: Add timeouts to upload/download operations
* Add logging statements declaring state of the cli_config_file_enabled
It's possible to determine this otherwise, but this makes it easier to
spot.
* Avoid using single value as array
The user config parser in the CLI doesn't yet support it.
* Extract logging statements to separate function
* Correctly report CodeQL version when using cache (#1259 )
* Correctly report CodeQL version when using cache
* Add JS generated files
* Add test for return value of `setupCodeQL`
* Fill in missing return value comment
* Convert "Invalid source root" errors to UserErrors
* Add changelog note for Go extraction reconciliation (#1286 )
* Add changelog note for Go extraction reconciliation
* Update CHANGELOG.md
Co-authored-by: Henry Mercer <henrymercer@github.com >
* Update CHANGELOG.md
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
* Tweaks from PR review
Co-authored-by: Henry Mercer <henrymercer@github.com >
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
* Update changelog for v2.1.27
Co-authored-by: github-actions[bot] <github-actions@github.com >
Co-authored-by: Chuan-kai Lin <cklin@github.com >
Co-authored-by: Angela P Wen <angelapwen@github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub <noreply@github.com >
Co-authored-by: Edoardo Pirovano <edoardo.pirovano@gmail.com >
Co-authored-by: Edoardo Pirovano <6748066+edoardopirovano@users.noreply.github.com >
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
Co-authored-by: Henry Mercer <henrymercer@github.com >
* Update changelog and version after v2.1.27
* Update checked-in dependencies
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions@github.com >
Co-authored-by: Chuan-kai Lin <cklin@github.com >
Co-authored-by: Angela P Wen <angelapwen@github.com >
Co-authored-by: GitHub <noreply@github.com >
Co-authored-by: Edoardo Pirovano <edoardo.pirovano@gmail.com >
Co-authored-by: Edoardo Pirovano <6748066+edoardopirovano@users.noreply.github.com >
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
Co-authored-by: Henry Mercer <henrymercer@github.com >
2022-10-07 02:22:33 +00:00
Andrew Eisenberg
b27aed78f5
Extract GitHubFeatureFlags to a separate class
...
Internal refactoring so that `GitHubFeatureFlags` is
private only. The public facing class is `Features`.
2022-10-06 18:00:40 -07:00
github-actions[bot]
807578363a
Merge main into releases/v2 ( #1287 )
...
* Update changelog and version after v2.1.26
* Update checked-in dependencies
* Don't check for Go logs on failure (#1279 )
* Update supported GitHub Enterprise Server versions. (#1275 )
Co-authored-by: GitHub <noreply@github.com >
* TRAP Caching: Add timeouts to upload/download operations
* Add logging statements declaring state of the cli_config_file_enabled
It's possible to determine this otherwise, but this makes it easier to
spot.
* Avoid using single value as array
The user config parser in the CLI doesn't yet support it.
* Extract logging statements to separate function
* Correctly report CodeQL version when using cache (#1259 )
* Correctly report CodeQL version when using cache
* Add JS generated files
* Add test for return value of `setupCodeQL`
* Fill in missing return value comment
* Convert "Invalid source root" errors to UserErrors
* Add changelog note for Go extraction reconciliation (#1286 )
* Add changelog note for Go extraction reconciliation
* Update CHANGELOG.md
Co-authored-by: Henry Mercer <henrymercer@github.com >
* Update CHANGELOG.md
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
* Tweaks from PR review
Co-authored-by: Henry Mercer <henrymercer@github.com >
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
* Update changelog for v2.1.27
Co-authored-by: github-actions[bot] <github-actions@github.com >
Co-authored-by: Chuan-kai Lin <cklin@github.com >
Co-authored-by: Angela P Wen <angelapwen@github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub <noreply@github.com >
Co-authored-by: Edoardo Pirovano <edoardo.pirovano@gmail.com >
Co-authored-by: Edoardo Pirovano <6748066+edoardopirovano@users.noreply.github.com >
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
Co-authored-by: Henry Mercer <henrymercer@github.com >
2022-10-06 23:17:09 +00:00
Angela P Wen
e4cc4a2fef
Add changelog note for Go extraction reconciliation ( #1286 )
...
* Add changelog note for Go extraction reconciliation
* Update CHANGELOG.md
Co-authored-by: Henry Mercer <henrymercer@github.com >
* Update CHANGELOG.md
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
* Tweaks from PR review
Co-authored-by: Henry Mercer <henrymercer@github.com >
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-10-06 22:18:52 +00:00
Andrew Eisenberg
5915e70486
Address comments from review
2022-10-06 13:14:06 -07:00
Andrew Eisenberg
6de05e4b24
Rename FeatureFlag -> Feature
2022-10-06 13:06:10 -07:00
Andrew Eisenberg
b16314e16c
Address comments from review
...
- Change env var name for `MlPoweredQueriesEnabled`
- Throw error if minimumVersion is specified, but CodeQL argument is not
supplied.
- Fix failing tests. Note that I removed a config-utils test because it
is no longer relevant since we handle codeql minimum versions in the
`getValue` function.
2022-10-06 12:29:58 -07:00
Andrew Eisenberg
84dffe700c
Merge pull request #1282 from github/aeisenberg/user-error-source-root
...
Convert "Invalid source root" errors to UserErrors
2022-10-06 10:48:35 -07:00
Andrew Eisenberg
9e044c5432
Convert "Invalid source root" errors to UserErrors
2022-10-06 09:28:29 -07:00
Andrew Eisenberg
e5c3375225
Refactor handling of feature flags
...
This commit centralizes how feature flags are handled. All feature flags
must now add an entry in the `featureFlagConfig` dictionary. This
dictionary associates the flag with an environment variable name and
optionally a minimum version for CodeQL.
The new logic is:
- if the environment variable is set to false: disabled
- if the minimum version requirement specified and met: disabled
- if the environment variable is set to true: enable
- Otherwise check feature flag enablement from the server
2022-10-05 16:40:56 -07:00
Angela P Wen
24c8de16fa
Correctly report CodeQL version when using cache ( #1259 )
...
* Correctly report CodeQL version when using cache
* Add JS generated files
* Add test for return value of `setupCodeQL`
* Fill in missing return value comment
2022-10-05 09:16:42 -07:00
Andrew Eisenberg
f359ba7af1
Merge pull request #1281 from github/aeisenberg/cli-config-processing
...
Add logging statements declaring state of the cli_config_file_enabled
2022-10-04 12:30:23 -07:00
Andrew Eisenberg
5960ce1190
Extract logging statements to separate function
2022-10-03 09:35:40 -07:00
Andrew Eisenberg
59fbe34861
Avoid using single value as array
...
The user config parser in the CLI doesn't yet support it.
2022-10-02 17:13:04 -07:00
Andrew Eisenberg
6ace05baa3
Add logging statements declaring state of the cli_config_file_enabled
...
It's possible to determine this otherwise, but this makes it easier to
spot.
2022-10-01 12:03:01 -07:00
Edoardo Pirovano
4cf80047d0
Merge pull request #1280 from github/edoardo/add-timeout
...
TRAP Caching: Add timeouts to upload/download operations
2022-09-30 14:13:18 +01:00
Edoardo Pirovano
c0641ea1d3
TRAP Caching: Add timeouts to upload/download operations
2022-09-30 13:18:46 +01:00
github-actions[bot]
61b87c69a6
Update supported GitHub Enterprise Server versions. ( #1275 )
...
Co-authored-by: GitHub <noreply@github.com >
2022-09-29 22:37:10 +00:00
Angela P Wen
57719e015c
Don't check for Go logs on failure ( #1279 )
2022-09-29 14:23:35 -07:00
Chuan-kai Lin
0831a67a20
Merge pull request #1277 from github/mergeback/v2.1.26-to-main-e0e5ded3
...
Mergeback v2.1.26 refs/heads/releases/v2 into main
2022-09-29 12:37:55 -07:00
github-actions[bot]
ffa74c5cb3
Update checked-in dependencies
2022-09-29 17:59:28 +00:00
github-actions[bot]
885b397f2e
Update changelog and version after v2.1.26
2022-09-29 17:46:49 +00:00
Chuan-kai Lin
e0e5ded33c
Merge pull request #1276 from github/update-v2.1.26-97054749
...
Merge main into releases/v2
2022-09-29 10:44:20 -07:00
github-actions[bot]
c60b8543e6
Update changelog for v2.1.26
2022-09-29 16:06:08 +00:00
Andrew Eisenberg
97054749c9
Merge pull request #1274 from github/aeisenberg/update-checks-script
...
Update the checks script
2022-09-29 08:34:28 -07:00
Andrew Eisenberg
fb0f74784f
Update the checks script
...
Avoid requiring test-setup-python-scripts checks.
2022-09-28 16:04:46 -07:00
Angela P Wen
3400e51bc8
Add dotnet env variable to workflow ( #1273 )
2022-09-28 12:45:19 -07:00
Andrew Eisenberg
74740eef3d
Merge pull request #1270 from github/aeisenberg/cli-config-feature-flag
...
Add the `CliConfigFileEnabled` feature flag
2022-09-28 12:43:09 -07:00
Andrew Eisenberg
1ec8ea99ee
Merge branch 'main' into aeisenberg/cli-config-feature-flag
2022-09-28 10:39:05 -07:00
Chuan-kai Lin
2466f0ce2c
Merge pull request #1267 from github/cklin/codeql-cli-2.11.0
...
Update default CodeQL version to 2.11.0
2022-09-28 09:41:38 -07:00
Chuan-kai Lin
a711c7623d
Update default CodeQL version to 2.11.0
2022-09-28 09:04:11 -07:00
Henry Mercer
39064e0f9b
Merge pull request #1272 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions.
2022-09-28 10:52:55 +01:00
Edoardo Pirovano
28c63d131f
Merge pull request #1268 from jsoref/rev-parse
...
Correct program name
2022-09-28 09:59:29 +01:00
Josh Soref
a4e4529299
Correct program name
2022-09-27 22:08:31 -04:00
GitHub
cc4ee05a07
Update supported GitHub Enterprise Server versions.
2022-09-28 00:21:45 +00:00
Angela P Wen
1f0700d1c0
Update unset environment variables PR check ( #1269 )
...
* Only test Java for CLI v2.5+
* Improve bash code style
* Set Actions error messages
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-09-27 15:55:05 -07:00
Andrew Eisenberg
cab46c529f
Update src/util.test.ts
2022-09-27 15:49:25 -07:00
Andrew Eisenberg
e37b0d6470
Add the CliConfigFileEnabled feature flag
...
Also, wire it up to the `useCodeScanningConfigInCli` function.
2022-09-27 07:58:31 -07:00
Edoardo Pirovano
314ede696b
Merge pull request #1266 from github/edoardo/fix-unit-test
...
Fix broken unit test
2022-09-26 15:56:10 +01:00
Edoardo Pirovano
b96c7546c1
Fix broken unit test
2022-09-26 15:17:36 +01:00
Edoardo Pirovano
4c8f13758e
Merge pull request #1265 from github/edoardo/minimum-cache-size
...
TRAP Caching: Skip uploading of small caches
2022-09-23 15:49:56 +01:00
Edoardo Pirovano
b98b2def63
TRAP Caching: Skip uploading of small caches
2022-09-23 15:22:31 +01:00
Henry Mercer
a643eb3621
Merge pull request #1263 from github/mergeback/v2.1.25-to-main-86f3159a
...
Mergeback v2.1.25 refs/heads/releases/v2 into main
2022-09-21 21:03:20 +01:00
github-actions[bot]
6188cbdeb9
Update checked-in dependencies
2022-09-21 19:05:30 +00:00
github-actions[bot]
4706007119
Update changelog and version after v2.1.25
2022-09-21 18:42:24 +00:00
Henry Mercer
86f3159a69
Merge pull request #1261 from github/update-v2.1.25-ff5ca122
...
Merge main into releases/v2
2022-09-21 19:31:24 +01:00
github-actions[bot]
d1e2e02bee
Update changelog for v2.1.25
2022-09-21 15:40:11 +00:00
Henry Mercer
ff5ca122ed
Merge pull request #1257 from github/rasmuswl/fix-ubuntu22.04-venv-creation
...
python-setup: Fix venv creation in Ubuntu 22.04
2022-09-21 16:27:55 +01:00
Rasmus Wriedt Larsen
32ca2cf500
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henrymercer@github.com >
2022-09-21 16:06:07 +02:00
Rasmus Wriedt Larsen
b2fc1e178e
python-setup: Disable python2 tests on ubuntu-22.04
2022-09-21 15:36:13 +02:00
Rasmus Wriedt Larsen
8a893ddf18
python-setup: Flush even more
2022-09-21 15:36:13 +02:00
Rasmus Wriedt Larsen
93ba53f2de
add missing spaces
2022-09-21 15:36:13 +02:00
Rasmus Wriedt Larsen
1fa5d72846
python-setup: Fail early if installing for Python 2, and python2 not available
2022-09-21 14:50:13 +02:00
Rasmus Wriedt Larsen
417059fdb2
Merge pull request #1258 from github/rasmuswl/poetry-v1.2
...
python-setup: Add support for Poetry 1.2
2022-09-21 14:03:27 +02:00
Rasmus Wriedt Larsen
ca8a78d5f3
python-setup: flush at the end of _check_call
2022-09-21 10:02:51 +02:00
Rasmus Wriedt Larsen
2264307214
python-setup: change env passing
2022-09-21 10:01:57 +02:00
Rasmus Wriedt Larsen
3f97671248
python-setup: run tests on Ubuntu 22.04
2022-09-21 09:08:04 +02:00
Rasmus Wriedt Larsen
c2c7bba5f7
Merge pull request #1256 from github/rasmuswl/newer-virtualenv
...
python-setup: Allow newest `virtualenv`
2022-09-21 09:05:06 +02:00
Rasmus Wriedt Larsen
1309aafb7d
Update CHANGELOG.md
...
Co-authored-by: Henry Mercer <henrymercer@github.com >
2022-09-20 15:43:10 +02:00
Henry Mercer
038242a7f0
Merge pull request #1254 from github/henrymercer/improve-release-pr-description
...
Improve the descriptions of PRs created by the release process
2022-09-20 12:12:17 +01:00
Rasmus Wriedt Larsen
70509c3884
python-setup: Add support for Poetry 1.2
2022-09-19 12:21:43 +02:00
Rasmus Wriedt Larsen
e1ce6e3115
python-setup: Fix venv creation in Ubuntu 22.04
...
Fixes https://github.com/github/codeql-action/issues/1249
2022-09-19 09:49:53 +02:00
Rasmus Wriedt Larsen
5ffcfe95cc
python-setup: Allow newest virtualenv
...
Context for previous version is
https://github.com/github/codeql-action/pull/862
Locally, I was able to install `20.15.1` with Python2.
I don't see any reason why python3 version should be restricted.
2022-09-16 20:49:42 +02:00
Henry Mercer
aaca8193b1
Merge pull request #1252 from github/mergeback/v2.1.24-to-main-904260d7
...
Mergeback v2.1.24 refs/heads/releases/v2 into main
2022-09-16 16:48:24 +01:00
Henry Mercer
2e9fbe39e1
Add advice to the mergeback PR on how to run the checks quicker
2022-09-16 15:00:57 +01:00
Henry Mercer
fb28913d5c
Add advice to the backport PR on how to run the checks quicker
2022-09-16 14:54:21 +01:00
github-actions[bot]
e0ef82e596
Update checked-in dependencies
2022-09-16 13:51:53 +00:00
github-actions[bot]
9f79e5fbcf
Update changelog and version after v2.1.24
2022-09-16 13:29:57 +00:00
Henry Mercer
904260d7d9
Merge pull request #1250 from github/update-v2.1.24-34aa5a55
...
Merge main into releases/v2
2022-09-16 14:26:13 +01:00
Edoardo Pirovano
b15cc0075a
Merge pull request #1251 from github/edoardo/trap-caching-changenote
...
Add CHANGELOG note for TRAP caching
2022-09-16 13:54:33 +01:00
Edoardo Pirovano
82495d8d86
Add CHANGELOG note for TRAP caching
2022-09-16 11:46:50 +01:00
github-actions[bot]
21c716dd69
Update changelog for v2.1.24
2022-09-16 10:19:13 +00:00
Henry Mercer
34aa5a554b
Merge pull request #1242 from github/henrymercer/go-more-backwards-compat
...
Go extraction reconciliation: Ensure backwards compatibility for multi-language builds
2022-09-16 11:05:41 +01:00
Henry Mercer
9207340122
Merge pull request #1239 from github/dependabot/npm_and_yarn/uuid-9.0.0
...
Bump uuid from 8.3.2 to 9.0.0
2022-09-16 11:04:59 +01:00
Henry Mercer
fefa6f57a4
Merge pull request #1247 from github/mergeback/v2.1.23-to-main-6a38b7d4
...
Mergeback v2.1.23 refs/heads/releases/v2 into main
2022-09-16 11:03:24 +01:00
Henry Mercer
4f104676ac
Remove now-duplicated PR titles from release PR descriptions
2022-09-15 16:20:05 +01:00
github-actions[bot]
e6ad3e0b35
Update checked-in dependencies
2022-09-15 09:19:25 +00:00
github-actions[bot]
f84e389feb
Update changelog and version after v2.1.23
2022-09-15 09:07:27 +00:00
Henry Mercer
6a38b7d4a1
Merge pull request #1246 from github/update-v2.1.23-fd4dc5bf
...
Merge main into releases/v2
2022-09-15 10:04:26 +01:00
github-actions[bot]
99d0a6bc15
Update changelog for v2.1.23
2022-09-14 18:34:02 +00:00
Henry Mercer
f32e161cdd
Improve warning when using autobuild with multi-language builds
2022-09-13 16:53:02 +01:00
Henry Mercer
4cc95769d4
Improve variable name
2022-09-13 16:50:41 +01:00
Cornelius Riemenschneider
fd4dc5bf31
Merge pull request #1244 from github/criemen/remove-lua-tracer-ff
...
Remove the lua tracer feature flag check from the codeql-action.
2022-09-13 17:49:47 +02:00
Cornelius Riemenschneider
c2560331fc
Fix runner integration test.
...
This test is broken, as it first sets environment variables, and then
immediately unsets it again.
This only worked by chance with the legacy tracer, and breaks the Lua
tracer.
2022-09-13 13:48:03 +00:00
Henry Mercer
0a38743d1a
Merge pull request #1240 from github/henrymercer/2.10.5-bump
...
Bump CodeQL version to 2.10.5
2022-09-13 14:11:32 +01:00
Cornelius Riemenschneider
3038e979a8
Remove the lua tracer feature flag check from the codeql-action.
...
Always defer to the CLI on the Lua tracer state from now on.
2022-09-13 11:23:32 +00:00
Henry Mercer
bde5694fb7
Comment why we don't run multiple autobuilders for other languages
2022-09-12 18:25:20 +01:00
Henry Mercer
40e0374c6f
Ensure backwards compat for multi-language builds with Go reconciliation
2022-09-12 18:24:46 +01:00
Henry Mercer
0d2fa3c636
Support autobuilding multiple languages in autobuild Action
2022-09-12 17:35:32 +01:00
Henry Mercer
ff575f231d
Add changelog note
2022-09-08 18:31:08 +01:00
Henry Mercer
4a8d26e2bd
Bump CodeQL version to 2.10.5
2022-09-08 18:29:45 +01:00
github-actions[bot]
f87e7a6293
Update checked-in dependencies
2022-09-08 17:28:17 +00:00
Andrew Eisenberg
9ba4d500aa
Merge pull request #1221 from github/aeisenberg/ghes-pack-download
...
Add support for downloading packs from GHES
2022-09-08 10:02:41 -07:00
dependabot[bot]
ace5545513
Bump uuid from 8.3.2 to 9.0.0
...
Bumps [uuid](https://github.com/uuidjs/uuid ) from 8.3.2 to 9.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases )
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v8.3.2...v9.0.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-08 17:02:40 +00:00
Andrew Eisenberg
6085805a3a
Append / to end of registries url
...
Avoids a bug in 2.10.4. Also, add some better handling for invalid
registries blocks.
2022-09-08 08:00:24 -07:00
David Verdeguer
21ae865bef
Merge pull request #1238 from github/daverlo/workflow-event-name
...
Add workflowEventName util function
2022-09-08 10:02:03 +02:00
Andrew Eisenberg
59744464eb
Fix unit tests
2022-09-07 16:10:34 -07:00
Andrew Eisenberg
aa434aaed6
Only run the init-with-registries check on nightly
2022-09-07 15:15:55 -07:00
Andrew Eisenberg
5dcb9dec2d
Update changelog and input descriptions
2022-09-07 14:38:58 -07:00
Andrew Eisenberg
4fa3e8b483
Gate the new registries input behind version constraints
2022-09-07 14:38:44 -07:00
David Verdeguer
063e083705
Fix linting
2022-09-07 22:45:34 +02:00
David Verdeguer
a03f3bd585
Build js
2022-09-07 09:45:19 +02:00
David Verdeguer
335aa5e39f
Add test for workflowEventName
2022-09-07 09:45:08 +02:00
David Verdeguer
add14375d5
Add workflowEventName
2022-09-07 00:05:40 +02:00
Andrew Eisenberg
376fea671d
Clarify description of registries input
2022-09-06 14:06:30 -07:00
Andrew Eisenberg
bf97a6da5b
Apply suggestions from code review
2022-09-06 10:41:32 -07:00
Andrew Eisenberg
7e086b240c
Merge remote-tracking branch 'upstream/main' into aeisenberg/ghes-pack-download
2022-09-06 10:22:00 -07:00
Edoardo Pirovano
8cdb7d8545
Merge pull request #1234 from github/edoardo/more-tolerant
...
TRAP Caching: Be tolerant to not finding the extractor
2022-09-05 11:04:57 +01:00
Edoardo Pirovano
299b77421b
TRAP Caching: Be tolerant to not finding the extractor
2022-09-05 10:38:21 +01:00
Andrew Eisenberg
abdf26c28f
Convert from json to yaml for registries input
2022-09-02 15:03:51 -07:00
Henry Mercer
03e3453102
Merge pull request #1228 from github/henrymercer/start-go-tracing-in-init
...
Make Go a traced language when Go extraction reconciliation is enabled
2022-09-02 22:29:08 +01:00
Henry Mercer
ab4197c609
Merge remote-tracking branch 'origin/main' into henrymercer/start-go-tracing-in-init
2022-09-02 19:59:29 +01:00
Henry Mercer
fc2f344141
Reuse getApiDetails code
2022-09-02 19:59:18 +01:00
Henry Mercer
85ba42aa69
Merge pull request #1231 from github/henrymercer/fix-running-tests-on-node18.8
...
Fix running tests on Node 18.8
2022-09-02 19:42:58 +01:00
Andrew Eisenberg
b0443622cd
Merge branch 'main' into aeisenberg/ghes-pack-download
2022-09-02 11:32:07 -07:00
Henry Mercer
bea5e4b220
Update ava to 4.3.3
...
The [release notes](https://github.com/avajs/ava/releases/tag/v4.3.3 )
mention compatibility with Node 18.8.
2022-09-02 18:02:07 +01:00
Henry Mercer
4b5dea8eed
Address review comments
2022-09-02 17:54:53 +01:00
Henry Mercer
62b4f237aa
Merge remote-tracking branch 'origin/main' into henrymercer/start-go-tracing-in-init
2022-09-02 17:39:17 +01:00
Henry Mercer
21530f507f
Merge pull request #1219 from github/angelapwen/autobuild-in-analyze
...
Autobuild Go in `analyze` if not already built
2022-09-02 17:36:54 +01:00
Andrew Eisenberg
e9b47b1898
Change to using a single input
2022-09-01 16:07:26 -07:00
Henry Mercer
70426bb879
Merge pull request #1229 from github/henrymercer/reenable-lua-tracing-go-windows
...
Run Lua tracing for Go on Windows in CLI 2.10.4+
2022-09-01 18:24:46 +01:00
Henry Mercer
ab396da825
Run Lua tracing for Go on Windows in CLI 2.10.4+
...
A bug preventing us from using Lua tracing for Go on Windows is fixed
in CLI 2.10.4+, so we
can now resume using Lua tracing for Go on Windows when using these
CLI versions.
2022-09-01 16:58:23 +01:00
Henry Mercer
6699d47420
Work around test -v not being available in Mac Bash
2022-09-01 16:49:39 +01:00
Henry Mercer
1d311fe8e5
Add PR checks for reconciled tracing with autobuilder and build steps
2022-09-01 15:43:49 +01:00
Henry Mercer
e303e2c65b
Update legacy workflow PR check
...
We now trace in init when using reconciled tracing, so we no longer need
to set the `CODEQL_EXTRACTOR_GO_BUILD_TRACING` environment variable.
2022-09-01 15:43:17 +01:00
Henry Mercer
e460fa2e94
Tidy up createdDBForScannedLanguages
...
Now the test is fixed, we can simplify by introducing an async call.
2022-09-01 15:02:47 +01:00
Henry Mercer
6d34731d93
Make createdDBForScannedLanguages test robust to new async calls
...
Previously the test depended on `createdDBForScannedLanguages` making no
async calls prior to `codeql resolve extractor`.
2022-09-01 14:59:39 +01:00
Henry Mercer
cf5d465980
Trace Go when Go extraction reconciliation is enabled
2022-09-01 14:42:59 +01:00
Edoardo Pirovano
d05538fa74
Merge pull request #1227 from github/mergeback/v2.1.22-to-main-b398f525
...
Mergeback v2.1.22 refs/heads/releases/v2 into main
2022-09-01 13:24:01 +01:00
Henry Mercer
fe1bd9ac76
Improve clarity of logging
2022-09-01 12:56:03 +01:00
github-actions[bot]
62fab91947
Update checked-in dependencies
2022-09-01 11:27:52 +00:00
github-actions[bot]
a3607ca1f7
Update changelog and version after v2.1.22
2022-09-01 10:50:36 +00:00
Edoardo Pirovano
b398f525a5
Merge pull request #1225 from github/update-v2.1.22-a5966ad4
...
Merge main into releases/v2
2022-09-01 11:48:24 +01:00
github-actions[bot]
b0f41e06da
Update changelog for v2.1.22
2022-09-01 09:08:14 +00:00
Edoardo Pirovano
a5966ad4f1
Merge pull request #1224 from github/edoardo/2.10.4-bump
...
Bump CodeQL version to 2.10.4
2022-08-31 14:58:19 +01:00
Edoardo Pirovano
8c692b37a0
Pin poetry to 1.1
2022-08-31 13:35:12 +01:00
Henry Mercer
8e0846caf0
Check TRAP directory exists first
2022-08-31 13:22:39 +01:00
Henry Mercer
955290300a
Fix language inclusion test
...
`in` checks the indices of an array, not the values.
2022-08-31 13:20:41 +01:00
Henry Mercer
14d7039828
Add logging for determining whether to run the Go autobuilder
2022-08-31 13:20:02 +01:00
Henry Mercer
b42a495e8a
Fix TRAP directory location
2022-08-31 13:19:16 +01:00
Henry Mercer
5b4b44c9d6
Add PR check for reconciled tracing with legacy workflow
2022-08-31 13:19:16 +01:00
Henry Mercer
e466e75875
Simplify doesGoExtractionOutputExist implementation
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-08-31 13:19:16 +01:00
Henry Mercer
fff56ee004
Add environment variable for enabling Go extraction reconcilation
...
This will enable us to test this behavior in PR checks.
Also simplify and add some more detailed documentation.
2022-08-31 13:19:16 +01:00
Henry Mercer
8dc468564f
Use a more explicit name for checking Go extraction output
2022-08-31 13:19:16 +01:00
Angela P Wen
215c3cb4bb
Autobuild Go in analyze step
2022-08-31 13:19:16 +01:00
Edoardo Pirovano
693b97bf50
Bump CodeQL version to 2.10.4
2022-08-31 11:49:32 +01:00
Andrew Eisenberg
1d92118146
Add integration test for using registries-auth-tokens
2022-08-30 15:56:08 -07:00
Andrew Eisenberg
0e98efa2bb
Add support for downloading packs from GHES
...
This change adds:
- new `registries` block allowed in code scanning config file
- new `registries-auth-tokens` input in init action
- Change the downloadPacks function so that it accepts new parameters:
- registries block
- api auth
- Generate a qlconfig.yml file with the registries block if one is
supplied. Use this file when downloading packs.
- temporarily set the `GITHUB_TOKEN` and `CODEQL_REGISTRIES_AUTH` based
on api auth
TODO:
1. integration test
2. handle pack downloads when the config is generated by the CLI
2022-08-30 10:04:30 -07:00
Andrew Eisenberg
c7bb8946b2
Update changelog
2022-08-30 10:00:21 -07:00
Andrew Eisenberg
d92a91c5c4
Merge pull request #1218 from github/aeisenberg/move-pack-download-to-init
...
Move calls to pack download to the init action
2022-08-30 09:58:46 -07:00
Andrew Eisenberg
7294b404d8
Fix call to endGroup
...
Also, rename variable and change a comment.
2022-08-30 09:16:05 -07:00
Andrew Eisenberg
354bc9f629
Add Changelog entry
2022-08-26 16:05:06 -07:00
Andrew Eisenberg
0a2b0d236c
Moves calls to pack download to the init action
...
This ensures all steps to gather queries happens in the init action.
This is where checking out queries in other repos happens as well.
2022-08-26 16:04:57 -07:00
Henry Mercer
a59fbe2208
Merge pull request #1215 from github/dependabot/npm_and_yarn/octokit/types-7.1.1
...
Bump @octokit/types from 6.21.1 to 7.1.1
2022-08-25 19:10:46 +01:00
github-actions[bot]
abafa5bdc1
Update checked-in dependencies
2022-08-25 17:19:40 +00:00
dependabot[bot]
34de8fdd99
Bump @octokit/types from 6.21.1 to 7.1.1
...
Bumps [@octokit/types](https://github.com/octokit/types.ts ) from 6.21.1 to 7.1.1.
- [Release notes](https://github.com/octokit/types.ts/releases )
- [Commits](https://github.com/octokit/types.ts/compare/v6.21.1...v7.1.1 )
---
updated-dependencies:
- dependency-name: "@octokit/types"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-25 17:00:59 +00:00
Edoardo Pirovano
9128f1cb71
Merge pull request #1213 from github/mergeback/v2.1.21-to-main-c7f292ea
...
Mergeback v2.1.21 refs/heads/releases/v2 into main
2022-08-25 16:23:17 +01:00
github-actions[bot]
54d57993da
Update checked-in dependencies
2022-08-25 13:11:11 +00:00
github-actions[bot]
0ee5049d92
Update changelog and version after v2.1.21
2022-08-25 12:52:15 +00:00
Edoardo Pirovano
c7f292ea4f
Merge pull request #1212 from github/update-v2.1.21-21bf3087
...
Merge main into releases/v2
2022-08-25 13:49:33 +01:00
github-actions[bot]
00ef1ee757
Update changelog for v2.1.21
2022-08-25 12:16:17 +00:00
Chris Gavin
21bf3087a5
Merge pull request #1211 from github/get-default-branch-correctly-schedule
...
When running on a schedule, make a better guess about whether we're analyzing the default branch.
2022-08-25 13:06:31 +01:00
Chris Gavin
5960bffd3f
When running on a schedule, make a better guess about whether we're analyzing the default branch.
2022-08-25 10:58:16 +01:00
Edoardo Pirovano
92c650bfbd
Merge pull request #1210 from github/edoardo/record-db-creation-time
...
Telemetry: Record DB creation time
2022-08-24 15:14:54 +01:00
Edoardo Pirovano
8b45ef3845
Telemetry: Record DB creation time
2022-08-24 14:31:37 +01:00
Henry Mercer
e7d4da3fa2
Merge pull request #1209 from github/henrymercer/fix-go-tracing-tests
...
Fix Go tracing on Windows, and fix tests
2022-08-24 13:34:51 +01:00
Henry Mercer
182342cdd7
Remove unguarded Actions library query
...
It is enough to pass the checks now that we only use the runner for PR
checks.
2022-08-24 11:50:07 +01:00
Henry Mercer
e195431677
Override CODEQL_EXTRACTOR_GO_BUILD_TRACING with on when it's true
2022-08-24 11:48:32 +01:00
Henry Mercer
3069613ebd
Prevent hangs in Go autobuild tests due to .NET keychain prompts
2022-08-24 10:35:13 +01:00
Henry Mercer
569f78c82d
Add changelog note
2022-08-23 20:03:54 +01:00
Henry Mercer
ab6508ab87
Disable Lua tracing for Go on Windows
...
This is currently broken in CLI versions 2.10.3 and earlier.
2022-08-23 20:03:33 +01:00
Henry Mercer
c18ed56977
Warn about invalid value for CODEQL_EXTRACTOR_GO_BUILD_TRACING
2022-08-23 20:03:33 +01:00
Henry Mercer
d5ad81bcd4
Fix Go custom tracing tests
...
These were supplying CODEQL_EXTRACTOR_GO_BUILD_TRACING=true rather than
CODEQL_EXTRACTOR_GO_BUILD_TRACING=on,
therefore tracing wasn't being tested.
2022-08-23 20:03:32 +01:00
Andrew Eisenberg
1cd5043ced
Merge pull request #1208 from github/aeisenberg/better-error-message
...
More readable error message for invalid `queries` block and invalid `query-filters` blocl
2022-08-23 11:29:15 -07:00
Andrew Eisenberg
e379edd1ee
Update CHANGELOG.md
...
Co-authored-by: Henry Mercer <henrymercer@github.com >
2022-08-23 10:05:59 -07:00
Andrew Eisenberg
9af066e7d5
Update changelog
2022-08-23 09:30:40 -07:00
Andrew Eisenberg
ac92a02de7
Merge remote-tracking branch 'upstream/main' into aeisenberg/better-error-message
2022-08-23 09:29:19 -07:00
Andrew Eisenberg
5861352d57
Better error messages for invalid queries and query filters blocks
...
Handle other cases where the config is invalid.
2022-08-23 09:25:59 -07:00
Edoardo Pirovano
3e49948054
Merge pull request #1207 from github/edoardo/fix-warning
...
TRAP Caching: Unset missing cache rather than setting to `undefined`
2022-08-23 16:58:16 +01:00
Edoardo Pirovano
1e5376ae5f
TRAP Caching: Unset missing cache rather than setting to undefined
2022-08-23 15:39:05 +01:00
Henry Mercer
c2c0a2908e
Merge pull request #1200 from github/mergeback/v2.1.20-to-main-7fee4ca0
...
Mergeback v2.1.20 refs/heads/releases/v2 into main
2022-08-22 14:29:04 +01:00
Edoardo Pirovano
ec8883580f
Merge pull request #1201 from github/henrymercer/mergeback-v1-fixes
...
Mergeback fixes from v1 release
2022-08-22 14:10:44 +01:00
Henry Mercer
bae51503cf
Remove @types/long
...
This is no longer needed since `long` now includes its own types.
2022-08-22 13:01:32 +01:00
Henry Mercer
c72f566aae
Explicitly import performance for Node 12 compatibility
2022-08-22 12:59:22 +01:00
github-actions[bot]
e590686972
Update checked-in dependencies
2022-08-22 11:58:44 +00:00
github-actions[bot]
d7319f2ff4
Update changelog and version after v2.1.20
2022-08-22 10:37:53 +00:00
Henry Mercer
7fee4ca032
Merge pull request #1199 from github/update-v2.1.20-f0a1a35a
...
Merge main into releases/v2
2022-08-22 11:35:54 +01:00
github-actions[bot]
5259c5e5d8
Update changelog for v2.1.20
2022-08-22 09:41:53 +00:00
Henry Mercer
f0a1a35a9f
Merge pull request #1197 from github/henrymercer/fix-release-when-package-conflicts
...
Make "Update release branch" workflow fail if `npm version` fails
2022-08-22 10:39:42 +01:00
Henry Mercer
a07454207a
Tweak whitespace in checklist for consistency
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-08-22 09:52:06 +01:00
Henry Mercer
53a7a27166
Merge pull request #1193 from github/dependabot/npm_and_yarn/actions/core-1.9.1
...
Bump @actions/core from 1.4.0 to 1.9.1
2022-08-19 20:03:47 +01:00
Henry Mercer
2927215a2b
Apply suggestions from code review
...
Co-authored-by: Edoardo Pirovano <6748066+edoardopirovano@users.noreply.github.com >
2022-08-19 18:37:55 +01:00
Henry Mercer
c145823103
Make "Update release branch" workflow fail if npm version fails
2022-08-19 18:22:44 +01:00
Henry Mercer
66bb63a202
Merge pull request #1194 from github/mergeback/v2.1.19-to-main-f5d217be
...
Mergeback v2.1.19 refs/heads/releases/v2 into main
2022-08-19 12:34:03 +01:00
github-actions[bot]
0ce8ba5772
Update checked-in dependencies
2022-08-19 10:17:01 +00:00
github-actions[bot]
5354facf4b
Update changelog and version after v2.1.19
2022-08-19 09:42:43 +00:00
Henry Mercer
f5d217be74
Merge pull request #1192 from github/update-v2.1.19-5502fefd
...
Merge main into releases/v2
2022-08-19 10:40:40 +01:00
github-actions[bot]
a37ee26906
Update checked-in dependencies
2022-08-18 19:57:13 +00:00
dependabot[bot]
341b59f315
Bump @actions/core from 1.4.0 to 1.9.1
...
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 1.4.0 to 1.9.1.
- [Release notes](https://github.com/actions/toolkit/releases )
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
---
updated-dependencies:
- dependency-name: "@actions/core"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-18 19:26:12 +00:00
Henry Mercer
7c3d74c9d7
Move changelog note to right release
2022-08-17 16:59:59 +01:00
github-actions[bot]
04ea3b12c8
Update changelog for v2.1.19
2022-08-17 15:54:54 +00:00
Edoardo Pirovano
5502fefdae
Merge pull request #1191 from github/edoardo/fix-upload-times
...
Fix TRAP cache upload timing
2022-08-17 16:43:09 +01:00
Edoardo Pirovano
0349bb05b7
Fix TRAP cache upload timing
2022-08-17 15:49:57 +01:00
Henry Mercer
3154c4f6f0
Merge pull request #1190 from github/henrymercer/fix-debug-artifact-tests-on-push
...
Modify `expect-error` input checking to fix errors on main
2022-08-17 15:49:17 +01:00
Henry Mercer
b21cab99b3
Mock expect-error input to avoid errors in Action integration tests
2022-08-17 15:02:46 +01:00
Henry Mercer
219a937551
Require test mode to be set to use expect-error input
...
This should be more robust than determining whether the repo is the
CodeQL Action or a fork of it.
2022-08-17 14:49:24 +01:00
Henry Mercer
ff9d53b61a
Dump GitHub event in debug artifacts failure workflow
...
This should help us debug failures on `main` like this
https://github.com/github/codeql-action/actions/runs/2875586196 .
2022-08-17 14:49:23 +01:00
Edoardo Pirovano
5f4cfb016e
Merge pull request #1188 from github/edoardo/round-fields
...
Round fields in TRAP caching telemetry to integers
2022-08-17 14:14:56 +01:00
Edoardo Pirovano
eb6f272155
Round fields in TRAP caching telemetry to integers
2022-08-17 13:30:17 +01:00
Henry Mercer
7d94bb850d
Merge pull request #1185 from github/henrymercer/bypass-toolcache-feature-flag
...
Enable bypassing the cached CodeQL bundle via a feature flag
2022-08-17 13:21:02 +01:00
Henry Mercer
b469d5358f
Tweak debug logging message
2022-08-17 12:44:53 +01:00
Henry Mercer
f47f573e6e
Add a debug log message when forcing the latest tools
2022-08-17 12:33:58 +01:00
Henry Mercer
416ad3d847
Merge branch 'main' into henrymercer/bypass-toolcache-feature-flag
2022-08-17 11:39:33 +01:00
Edoardo Pirovano
8bc36d5f46
Merge pull request #1187 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions.
2022-08-17 10:09:46 +01:00
GitHub
8beb190634
Update supported GitHub Enterprise Server versions.
2022-08-17 00:13:14 +00:00
Angela P Wen
9b7fa3dd99
Add expect-error input to force PR check green on expected failure ( #1177 )
2022-08-16 16:27:14 -07:00
Henry Mercer
e1cd41a365
Add tests for toolcache bypassing
2022-08-16 16:19:08 +01:00
Henry Mercer
d45b0eba23
Improve readability of CodeQL bundle tests
2022-08-16 16:18:41 +01:00
Henry Mercer
96a8424f0c
Don't bypass the toolcache in test mode
2022-08-16 16:18:12 +01:00
Henry Mercer
5862bae77e
Bypass toolcache when feature flag enabled
2022-08-16 16:18:11 +01:00
Henry Mercer
df0c0dafc0
Add bypass toolcache feature flag
2022-08-16 16:17:41 +01:00
Edoardo Pirovano
b0d61cff1a
Merge pull request #1184 from github/edoardo/trap-telemetry-followup
...
Use `util.promisify` instead of manually constructing promise
2022-08-16 15:48:36 +01:00
Edoardo Pirovano
016a5e3bae
Use util.promisify instead of manually constructing promise
2022-08-16 14:42:13 +01:00
Edoardo Pirovano
8a4437ae33
Merge pull request #1182 from github/edoardo/trap-cache-telemetry
...
Add telemetry for TRAP caching
2022-08-16 14:16:35 +01:00
Edoardo Pirovano
b29194f0ac
Address review comments from @henrymercer
2022-08-16 13:30:49 +01:00
Edoardo Pirovano
4139682b64
Add telemetry for TRAP caching
2022-08-16 11:54:31 +01:00
Edoardo Pirovano
ca10a6d552
Merge pull request #1183 from github/edoardo/fix-cache-key
...
Fix cache key for TRAP caching
2022-08-16 10:52:35 +01:00
Edoardo Pirovano
d8adbe91f2
Fix cache key for TRAP caching
2022-08-16 10:20:17 +01:00
Rasmus Wriedt Larsen
b3adcb7261
Merge pull request #1181 from github/RasmusWL/disable-python2-pipenv
...
Disable python2 + pipenv tests
2022-08-15 17:52:28 +02:00
Rasmus Wriedt Larsen
c8cb2b45eb
Update CHANGELOG.md
2022-08-15 16:56:44 +02:00
Andrew Eisenberg
fba13b0092
More readable error message for invalid queries block
...
When someone creates an invalid `queries` entry in the codeql config
file, like this:
```
queries:
- foo.ql
```
THe error message is confusing, looking like this:
```
Error: Cannot use 'in' operator to search for 'uses' in ql/ql/src
TypeError: Cannot use 'in' operator to search for 'uses' in ql/ql/src
at loadConfig (/home/runner/work/_actions/github/codeql-action/71a8b35ff4c80fcfcd05bc1cd932fe3c08f943ca/lib/config-utils.js:577:41)
```
With this change, the error message is more comprehensible:
`queries must be an array, with each entry having a 'uses' property`
2022-08-15 07:56:00 -07:00
Rasmus Wriedt Larsen
909e2fd56a
Disable python2 + pipenv tests
...
Just like we did for poetry and Python 2 in https://github.com/github/codeql-action/pull/1124
From looking at changelogs, Python2 has not been supported in Pipenv since [v2021.11.5](https://pipenv.pypa.io/en/latest/changelog/#id149 )
2022-08-15 16:52:11 +02:00
Henry Mercer
f9bce029b4
Merge pull request #1178 from github/henrymercer/codeql-cli-2.10.3
...
Update default CodeQL version to 2.10.3
2022-08-15 15:29:28 +01:00
Henry Mercer
af9d911fb5
Merge remote-tracking branch 'origin/main' into henrymercer/codeql-cli-2.10.3
2022-08-15 14:40:51 +01:00
Andrew Eisenberg
680d08e97d
Merge pull request #1105 from github/aeisenberg/fix-config-files
...
Re-enable passing the codescanning config file to the CLI
2022-08-12 11:15:43 -07:00
Henry Mercer
5836ad9c2a
Merge pull request #1176 from github/dependabot/npm_and_yarn/types/long-5.0.0
...
Bump @types/long from 4.0.1 to 5.0.0
2022-08-12 11:00:39 +01:00
Henry Mercer
1e8043f69c
Update default CodeQL version to 2.10.3
2022-08-12 10:43:51 +01:00
Henry Mercer
68f1d68743
Merge remote-tracking branch 'origin/main' into dependabot/npm_and_yarn/types/long-5.0.0
2022-08-12 10:28:49 +01:00
Andrew Eisenberg
fa2bc211fd
Merge branch 'aeisenberg/unrevert-query-filters' into aeisenberg/fix-config-files
2022-08-11 14:57:16 -07:00
Andrew Eisenberg
c12cfbc92f
Merge pull request #1127 from github/aeisenberg/unrevert-query-filters
...
Revert "Revert "Add capability to filter queries #1098 ""
2022-08-11 12:28:11 -07:00
Andrew Eisenberg
bcf47202b5
Merge remote-tracking branch 'upstream/main' into aeisenberg/unrevert-query-filters
2022-08-11 11:37:55 -07:00
Chris Gavin
d101dd6f9e
Merge pull request #1175 from github/local
...
Use the API URL from the environment if it is present.
2022-08-11 19:10:36 +01:00
github-actions[bot]
ccfb4e296c
Update checked-in dependencies
2022-08-11 17:47:11 +00:00
dependabot[bot]
049537835b
Bump @types/long from 4.0.1 to 5.0.0
...
Bumps [@types/long](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/long ) from 4.0.1 to 5.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/long )
---
updated-dependencies:
- dependency-name: "@types/long"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-11 17:01:30 +00:00
Andrew Eisenberg
072cd929a3
Merge remote-tracking branch 'upstream/main' into aeisenberg/unrevert-query-filters
2022-08-11 10:00:12 -07:00
Andrew Eisenberg
d74f663ed4
Merge remote-tracking branch 'upstream/main' into aeisenberg/fix-config-files
2022-08-11 09:57:45 -07:00
Andrew Eisenberg
a09a029937
Fix failing test and address PR comments
2022-08-11 09:56:08 -07:00
Chris Gavin
07e8996e91
Merge main into local.
2022-08-11 17:11:05 +01:00
Chris Gavin
7c6fa5ce8a
Remove an unneeded if.
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-08-11 17:10:50 +01:00
Angela P Wen
b659ce5d7d
Merge pull request #1159 from github/angelapwen/post-init-cleanup
...
Move logs, SARIF, database bundle actions uploads to post: hooks
2022-08-11 17:59:58 +02:00
Angela P Wen
79b933c459
Remove review comments
2022-08-11 16:47:31 +02:00
Angela P Wen
cf7f893f9c
Make file paths OS-agnostic
2022-08-11 16:46:56 +02:00
Angela P Wen
172eca420d
Improve doesDirectoryExist test
2022-08-11 16:08:06 +02:00
Angela P Wen
fd83e55188
Remove extraneous files
2022-08-11 16:03:48 +02:00
Angela P Wen
26cafd2f92
Add unit tests for post: hook run methods
2022-08-11 16:01:37 +02:00
Angela P Wen
15608ceae3
Merge remote-tracking branch 'origin/main' into angelapwen/post-init-cleanup
2022-08-11 15:24:10 +02:00
Angela P Wen
6fdaff6eb6
Improve file system unit tests
2022-08-11 15:09:44 +02:00
Angela P Wen
4e121c0ef5
Address additional review comments
2022-08-11 13:58:01 +02:00
Angela P Wen
d909f714fb
Update comment wording
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-08-11 13:46:55 +02:00
Angela P Wen
fa59c284a8
Update CHANGELOG.md wording
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2022-08-11 13:46:09 +02:00
Angela P Wen
65d6ee0c51
Address review comments
2022-08-11 13:45:26 +02:00
Chris Gavin
bbdc9efa94
Use the API URL from the environment if it is present.
2022-08-11 08:38:11 +01:00
Andrew Eisenberg
2314063848
Add the defaultAugmentationProperties constant
...
This makes some syntax in tests somewhat simpler.
2022-08-10 15:42:45 -07:00
Andrew Eisenberg
0403fb7d8c
Merge branch 'main' into aeisenberg/fix-config-files
2022-08-10 15:39:35 -07:00
Andrew Eisenberg
44f42da9ca
Merge branch 'main' into aeisenberg/unrevert-query-filters
2022-08-10 15:22:40 -07:00
Andrew Eisenberg
a6d09016e7
Merge pull request #1171 from crenshaw-dev/clarify-category-error-message
...
fix: clarify upload-sarify category uniqueness error message
2022-08-10 13:24:16 -07:00
Angela P Wen
3c4f458a1a
Re-declare codeql var
2022-08-10 15:08:35 +02:00
Angela P Wen
90676d9cb9
Merge remote-tracking branch 'origin/main' into angelapwen/post-init-cleanup
2022-08-10 15:08:04 +02:00
Angela P Wen
484a72c924
Add utilities unit tests
2022-08-10 14:57:57 +02:00
Edoardo Pirovano
c7db5d9226
Merge pull request #1174 from github/edoardo/remove-workaround
...
Remove distrust of `GITHUB_ACTION_REF` for local actions
2022-08-10 11:50:11 +01:00
Edoardo Pirovano
3835e64c38
Remove distrust of GITHUB_ACTION_REF for local actions
2022-08-10 09:39:03 +01:00
Edoardo Pirovano
07720c700e
Merge pull request #1172 from github/edoardo/trap-caching
...
Introduce TRAP caching
2022-08-09 19:18:32 +01:00
Edoardo Pirovano
6df93613d7
Address review comments from @henrymercer
2022-08-09 18:37:22 +01:00
Angela P Wen
ff7a29dd72
Clarify expected failure for upload job
2022-08-09 15:24:14 +02:00
Angela P Wen
8903097982
Remove database init test for success case
2022-08-09 15:21:49 +02:00
Angela P Wen
4993f1e1fc
Remove downloaded files structure display
2022-08-08 15:52:49 +02:00
Angela P Wen
27df4c2a47
Fix directory name of artifacts
2022-08-08 15:16:15 +02:00
Angela P Wen
1c82b1bb73
Display downloaded files structure
2022-08-08 14:53:25 +02:00
Angela P Wen
05176bcd41
Add continue-on-error for expected failing job
2022-08-08 14:25:43 +02:00
Angela P Wen
6bc22912e0
Add description in CHANGELOG
2022-08-08 14:06:43 +02:00
Angela P Wen
b952980043
Add integration test for failed analyze step
2022-08-08 14:00:23 +02:00
Angela P Wen
010abe7de0
Merge remote-tracking branch 'origin/main' into angelapwen/post-init-cleanup
2022-08-08 13:41:15 +02:00
Edoardo Pirovano
8f867dcb21
Introduce TRAP caching
2022-08-05 17:48:05 +01:00
CI
0e3ae6e68a
fix: clarify upload-sarify category uniqueness error message
2022-08-05 10:59:35 -04:00
Edoardo Pirovano
cade2b5621
Merge pull request #1170 from github/edoardo/add-trap-cache-option
...
Add option to override TRAP caching feature flag
2022-08-05 12:40:04 +01:00
Edoardo Pirovano
2d5738c1ac
Add option to override TRAP caching feature flag
2022-08-05 12:04:02 +01:00
Edoardo Pirovano
693d3f22d8
Merge pull request #1164 from github/edoardo/add-cache-dep
...
Add dependency on `@actions/cache`
2022-08-05 10:03:45 +01:00
Edoardo Pirovano
38c2c091e8
Add dependency on @actions/cache
2022-08-04 15:12:29 +01:00
Angela P Wen
9990b406c2
Merge pull request #1160 from github/angelapwen/refactor-debug-artifacts-pr-check
...
Split debug artifacts PR check into two jobs
2022-08-04 10:35:07 +02:00
Angela P Wen
2a582eb53d
Merge branch 'main' into angelapwen/refactor-debug-artifacts-pr-check
2022-08-04 10:02:20 +02:00
Chuan-kai Lin
1a0331c4c6
Merge pull request #1167 from github/mergeback/v2.1.18-to-main-2ca79b6f
...
Mergeback v2.1.18 refs/heads/releases/v2 into main
2022-08-03 13:39:53 -07:00
github-actions[bot]
bb2956fd36
Update checked-in dependencies
2022-08-03 19:50:21 +00:00
github-actions[bot]
2d4d9d8cf7
Update changelog and version after v2.1.18
2022-08-03 17:48:40 +00:00
Chuan-kai Lin
2ca79b6fa8
Merge pull request #1165 from github/update-v2.1.18-329cb8b6
...
Merge main into releases/v2
2022-08-03 10:46:13 -07:00
github-actions[bot]
9dc4e8a2c7
Update changelog for v2.1.18
2022-08-03 16:37:42 +00:00
Angela P Wen
4ec485d633
bash syntax fixup per review
2022-08-03 17:57:05 +02:00
Angela P Wen
e16d085a47
Remove ls check, log formatting
2022-08-03 11:24:18 +02:00
Angela P Wen
f51da8688a
Add script to check in appropriate directories
2022-08-03 10:55:10 +02:00
Angela P Wen
f7a7ac1799
bash syntax fixup
2022-08-03 10:23:41 +02:00
Angela P Wen
ef145d6884
Display downloaded file structure
2022-08-03 09:35:32 +02:00
Chuan-kai Lin
329cb8b61c
Merge pull request #1156 from github/cklin/codeql-cli-2.10.2
...
Update default CodeQL version to 2.10.2
2022-08-02 09:25:06 -07:00
Angela P Wen
7f86ddc26d
Move debug log printing back to actions util
2022-08-02 12:41:08 +02:00
Angela P Wen
a758ec55e8
Add more info messages to user, rename log printing function
2022-08-02 12:36:56 +02:00
Angela P Wen
eeee462f05
Move debug artifact methods into separate file
2022-08-02 12:27:52 +02:00
Angela P Wen
5895ab0c0b
Address more PR comments, refactoring
2022-08-02 12:18:44 +02:00
Angela P Wen
44a27e6a51
Add top level comments, rename cleanup to post
2022-08-02 12:08:18 +02:00
Angela P Wen
a557279135
Clean up syntax per PR review
2022-08-02 12:01:02 +02:00
Angela P Wen
64d83c75f0
Fix syntax error
2022-08-02 11:38:33 +02:00
Angela P Wen
13e7a528eb
Change download job to only run on linux
2022-08-02 11:37:27 +02:00
Angela P Wen
cc047a34ce
Condense matrix syntax
2022-08-02 11:37:18 +02:00
Angela P Wen
daaac4306e
Linting, node_modules update
2022-08-01 13:35:10 +02:00
Angela P Wen
5229df1eef
Add unit test descriptions
2022-08-01 13:17:40 +02:00
Angela P Wen
5da7870265
Refactoring per PR comments
2022-08-01 12:52:16 +02:00
Angela P Wen
8a4a573d59
Error handling for JSON parsing
2022-08-01 12:12:49 +02:00
Angela P Wen
6630cbeccb
Minor syntax update
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-08-01 11:52:34 +02:00
Angela P Wen
af87cc6ba5
Improve for matrix
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-08-01 11:52:03 +02:00
Angela P Wen
ebc59ec8da
More descriptive partial db bundle messages
2022-08-01 11:43:08 +02:00
Angela P Wen
52de49c899
Refactor helper function to util
2022-08-01 11:42:55 +02:00
Angela P Wen
2c25894c5f
Zip partial database directory
2022-08-01 11:24:34 +02:00
Angela P Wen
81c5b2d993
New debug artifacts workflow with separate jobs
2022-08-01 11:09:29 +02:00
Chuan-kai Lin
a5def17768
Update default CodeQL version to 2.10.2
2022-07-29 14:07:22 -07:00
Aditya Sharad
19d025e17f
Merge pull request #1161 from github/adityasharad/actions/combined-check-file-contents
...
CI: Combine verify-pr-checks and check-for-conflicts jobs
2022-07-29 13:41:50 -07:00
Aditya Sharad
2f739fcd04
CI: Combine verify-pr-checks and check-for-conflicts jobs
...
Reduce the number of concurrent jobs by 1.
Run these checks in succession instead, as the
`check-file-contents` job in the PR checks workflow.
2022-07-29 12:07:38 -07:00
Aditya Sharad
495c20006b
Merge pull request #1158 from github/adityasharad/actions/separate-runner-checks
...
CI: Move Runner checks into their own workflow
2022-07-29 09:09:22 -07:00
Angela P Wen
2746051310
Catch case where database isn't finalized
2022-07-29 12:00:07 +02:00
Angela P Wen
1016eba538
Move logs, SARIF actions uploads to post: hooks
2022-07-29 11:29:39 +02:00
Andrew Eisenberg
907f1deb5b
Merge branch 'main' into aeisenberg/fix-config-files
2022-07-28 16:43:03 -07:00
Aditya Sharad
ceea66834a
CI: Move Runner checks into their own workflow
...
Refactor the PR checks workflow into two workflows:
PR checks and Runner checks.
This does not change the actual check jobs that are run.
It also does not change the expected check names
(which rely only on the job name, not the workflow name).
This makes it easier to inspect workflow run summaries in the UI
and to separately retry subsets of failed jobs in case of flakiness.
In future we will clean up the Runner checks,
since this is a deprecated component.
2022-07-28 16:35:51 -07:00
Aditya Sharad
b100b75d58
Merge pull request #1157 from github/adityasharad/actions/combine-lint-check-js
...
CI: Combine JS lint and JS check jobs
2022-07-28 16:30:52 -07:00
Aditya Sharad
992d011666
CI: Combine JS lint and JS check jobs
...
Reduce the number of concurrent jobs.
This will require a branch protection rule update,
renaming `check-js` to Check JS` and removing `Lint`.
2022-07-28 15:37:55 -07:00
Aditya Sharad
6c23d76596
Merge pull request #1152 from github/adityasharad/actions/python-deps-path-filters
...
CI: Add path filters to python-deps workflow
2022-07-28 15:19:32 -07:00
Aditya Sharad
573de8b146
Merge branch 'main' into adityasharad/actions/python-deps-path-filters
2022-07-28 14:37:56 -07:00
Aditya Sharad
fbb0a4e179
Merge pull request #1154 from github/mergeback/v2.1.17-to-main-0c670bbf
...
Mergeback v2.1.17 refs/heads/releases/v2 into main
2022-07-28 13:02:47 -07:00
github-actions[bot]
351171d4e9
Update checked-in dependencies
2022-07-28 18:39:20 +00:00
github-actions[bot]
507d4b7b31
Update changelog and version after v2.1.17
2022-07-28 17:47:32 +00:00
Aditya Sharad
0c670bbf04
Merge pull request #1153 from github/update-v2.1.17-bbc2e701
...
Merge main into releases/v2
2022-07-28 10:45:57 -07:00
github-actions[bot]
0dd6a6f2b0
Update changelog for v2.1.17
2022-07-28 17:02:14 +00:00
Aditya Sharad
bf24993f0c
CI: Add scheduled and manual triggers to python-deps workflow
2022-07-27 13:22:10 -07:00
Aditya Sharad
0d16d70d87
CI: Add path filters to python-deps workflow
...
No need to run this workflow on all PRs, only those that
change the Python dependency installation mechanism.
2022-07-27 13:16:40 -07:00
Aditya Sharad
bbc2e7010f
Merge pull request #1149 from github/criemen/runner-autobuilders
...
autobuild: Update tests for C# on macOS
2022-07-27 13:16:12 -07:00
Aditya Sharad
caa2a0df0a
Runner tests: Attempt to source the tracer env, display the binary path
2022-07-27 12:05:31 -07:00
Aditya Sharad
a2f4d66a8b
Runner tests: Read CODEQL_RUNNER from the stored JSON
...
This test workflow does not source the environment from the init step,
so we need to manually read in the variable.
2022-07-25 15:33:52 -07:00
Aditya Sharad
b4ff463500
Autobuild: Remove CODEQL_RUNNER workaround
...
We do not need to prefix `$CODEQL_RUNNER` here on macOS to bypass SIP,
because we assume that the `init` step exported `DYLD_INSERT_LIBRARIES`
into the environment, which activates the Actions workaround for SIP.
See https://github.com/actions/runner/pull/416 .
2022-07-25 15:02:44 -07:00
Aditya Sharad
58faf9d60c
Actions: Disable the CLR tracer in C# autobuild test
...
Ensure that this succeeds even if the legacy CLR tracer is not enabled.
The combination of the regular tracer and the SIP workaround within Actions
should be sufficient for this to pass.
2022-07-25 15:02:42 -07:00
Aditya Sharad
dc1c51db28
Actions: Fix failing Runner autobuild test on macOS
...
Add the missing `$CODEQL_RUNNER` prefix to the autobuild command line.
This intermediate process works around System Integrity Protection,
allowing the tracer to start the C# extractor for the dotnet builds
within the autobuild process.
The test used to pass without this because the legacy CLR tracer bypassed SIP
while dotnet 5 was used on the Actions virtual environment.
Now that the virtual environment uses dotnet 6, the CLR tracer no longer works,
and we need to explicitly work around SIP.
This test will eventually be replaced by an internal integration test for the
equivalent functionality in the CLI. For now, this change makes the test
continue to pass.
2022-07-25 14:06:23 -07:00
Aditya Sharad
2d2dfa3424
Remove duplicate CI workflow
2022-07-25 14:01:12 -07:00
Andrew Eisenberg
4e46a69655
Merge branch 'main' into aeisenberg/fix-config-files
2022-07-25 11:20:15 -07:00
Cornelius Riemenschneider
ceec52c4bc
Address review.
2022-07-21 17:03:57 +00:00
Cornelius Riemenschneider
a32664975f
autobuild-action: Run autobuilders with $CODEQL_RUNNER set.
...
Without this, the tracer will not be injected on MacOS, as we need the
runner to circumvent SIP.
Also add a test that tests the autobuild-action to exercise this code path.
2022-07-21 15:51:54 +00:00
Henry Mercer
8171514c02
Merge pull request #1146 from github/dependabot/npm_and_yarn/runner/terser-5.14.2
...
Bump terser from 5.7.1 to 5.14.2 in /runner
2022-07-20 10:51:28 +01:00
dependabot[bot]
6fa0b7cb22
Bump terser from 5.7.1 to 5.14.2 in /runner
...
Bumps [terser](https://github.com/terser/terser ) from 5.7.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-20 01:49:59 +00:00
Alexander Eyers-Taylor
b8bd06e075
Merge pull request #1143 from github/alexet/codeql-2.10.1-update
...
Update bundle to 2.10.1
2022-07-19 15:38:55 +01:00
Alexander Eyers-Taylor
aa231930c1
Merge branch 'main' into alexet/codeql-2.10.1-update
2022-07-19 14:41:49 +01:00
Cornelius Riemenschneider
ba95eeb60e
Merge pull request #1145 from github/criemen/fix-ff-crash
...
Don't crash if we are unable to get a response from the feature-flag endpoint.
2022-07-18 14:04:23 +02:00
Cornelius Riemenschneider
c059f95c05
Fix lint errors.
2022-07-18 11:26:03 +00:00
Cornelius Riemenschneider
75afbf4a30
Address review, add test.
2022-07-18 10:37:04 +00:00
Cornelius Riemenschneider
01fa64cb90
Don't crash if we are unable to get a response from the feature-flag endpoint.
2022-07-18 10:14:40 +00:00
Alexander Eyers-Taylor
28ccb035bb
Changelog: Pick the correct PR after opening
...
Co-authored-by: Henry Mercer <henrymercer@github.com >
2022-07-14 16:20:45 +01:00
alexet
11111290fc
Update bundle to 2.10.1
2022-07-14 15:37:28 +01:00
Andrew Eisenberg
01d16b1e01
Merge branch 'main' into aeisenberg/fix-config-files
2022-07-13 14:05:48 -07:00
Edoardo Pirovano
d8c9c723a5
Merge pull request #1141 from github/mergeback/v2.1.16-to-main-3e7e3b32
...
Mergeback v2.1.16 refs/heads/releases/v2 into main
2022-07-13 15:16:52 +01:00
github-actions[bot]
8d24c9e4c1
Update checked-in dependencies
2022-07-13 13:25:21 +00:00
github-actions[bot]
c8971b8e0a
Update changelog and version after v2.1.16
2022-07-13 11:26:38 +00:00
Cornelius Riemenschneider
3e7e3b32d0
Merge pull request #1140 from github/update-v2.1.16-548f07e3
...
Merge main into releases/v2
2022-07-13 12:55:19 +02:00
github-actions[bot]
330d552535
Update changelog for v2.1.16
2022-07-13 10:05:10 +00:00
Andrew Eisenberg
548f07e307
Merge pull request #1139 from github/aeisenberg/concat-not-push
...
Use concat instead of push around `listFolders`
2022-07-13 02:39:34 -07:00
Henry Mercer
a844fefc86
Merge branch 'main' into aeisenberg/concat-not-push
2022-07-13 10:09:16 +01:00
Andrew Eisenberg
7ce9ef9137
Use concat instead of push around listFolders
...
This avoids stack overflows when using the spread operator on
directories that have many, many children.
2022-07-12 13:23:01 -07:00
Henry Mercer
d750c6d79d
Merge pull request #1138 from github/henrymercer/drop-token-check
...
Update required checks: Allow authenticating via the GitHub CLI
2022-07-12 19:57:01 +01:00
Henry Mercer
4cb248b0ec
Merge branch 'main' into henrymercer/drop-token-check
2022-07-12 18:21:09 +01:00
Henry Mercer
1e7f770864
Merge pull request #1132 from github/henrymercer/one-click-debug
...
Enable one-click debugging via the "Enable debug logging" option when re-running Actions jobs
2022-07-12 18:10:16 +01:00
Henry Mercer
816b3e91bc
Update failure message
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-07-12 17:52:15 +01:00
Henry Mercer
fbbd1dcd52
Fix extra double quote
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-07-12 17:44:51 +01:00
Henry Mercer
0a5dad3c83
Allow authenticating via the GitHub CLI
...
We no longer run this script within Actions for security reasons, and
when running locally we can authenticate with the GitHub CLI instead
of a PAT.
2022-07-12 17:33:24 +01:00
Henry Mercer
d61e3fdf02
Fix shellcheck errors
...
Avoid trying to evaluate `github/codeql-action`.
2022-07-12 17:31:31 +01:00
Henry Mercer
dca60ba711
Merge remote-tracking branch 'origin/main' into henrymercer/one-click-debug
2022-07-12 16:54:30 +01:00
Cornelius Riemenschneider
e1ec69721f
Merge pull request #1137 from github/criemen/fix-end-tracing
...
Unset tracing variables after finalizing databases.
2022-07-12 17:49:59 +02:00
Henry Mercer
b45ac1f8f8
Cleanup: Use optional chaining in a couple of places
2022-07-12 16:30:21 +01:00
Henry Mercer
b316baae94
Merge remote-tracking branch 'origin/main' into henrymercer/one-click-debug
2022-07-12 16:22:05 +01:00
Henry Mercer
e655fb331c
Use core.isDebug() instead of accessing env var
2022-07-12 16:19:13 +01:00
Henry Mercer
b3801753d4
Merge pull request #1133 from github/henrymercer/log-diagnostics-when-debug-enabled
...
Print diagnostic messages when debugging mode is enabled
2022-07-12 15:49:16 +01:00
Cornelius Riemenschneider
3dcdbc9add
Unset tracing variables after finalizing databases.
...
The tracer is very good at preserving itself, so unsetting the tracing-specific
variables from within a process will not end tracing for children of
that process.
The way the actions process model works means that we're running inside
a process for the entire build step that was launched with the tracer
variables set, so we'll have the tracer injected into the entire build
step and its children.
If we unset the variables in end-tracing, we will get into an intermediate
state: Not all variables in there are preserved by the tracer,
but the tracer is still active.
Usually, that wouldn't be a problem, but the autobuilders called from
the finalize step will suddenly run under a half-configured tracer.
Particularly, this half-configured tracer is unable to execute the dotnet
CLI without hangs, as the environment variable that prevents hangs for
dotnet on MacOS has been unset, but the tracer is still active.
This is an issue for the the go autobuilder, that invokes
user-provided build scripts in the hope of installing dependencies.
If that build script then invokes dotnet, it will hang.
This is only of concern for the Lua tracer that now implements proper
multi-language tracing: Previously, when encountering the go autobuilder,
the tracer disabled itself entirely, thus side-stepping any hangs.
In the new, multi-language tracing world, the tracer will stay active
as long as there is at least one other language that's been set up
for tracing.
Thus, we also get hangs when invoking the dotnet CLI through the go
autobuilder.
2022-07-12 11:33:44 +00:00
Henry Mercer
688508d8cb
Merge pull request #1099 from github/henrymercer/run-unit-tests-on-windows
...
Run unit tests on Windows too
2022-07-12 11:06:41 +01:00
Henry Mercer
fc926423a5
Merge remote-tracking branch 'origin/main' into henrymercer/run-unit-tests-on-windows
2022-07-11 17:57:19 +01:00
Henry Mercer
ea8fb214de
Merge pull request #1104 from github/henrymercer/remove-toolcache-decorator
...
Remove toolcache decorator
2022-07-11 17:54:54 +01:00
Henry Mercer
3a5fa35535
Add changelog note
2022-07-01 19:14:38 +01:00
Henry Mercer
7e94a6cbca
Print diagnostic messages when debug logging enabled
...
This commit prints diagnostic messages to the Actions log when debug
logging is enabled by passing `debug: true` to `codeql-action/init` or
enabling Actions step debug logging.
2022-07-01 18:56:12 +01:00
Henry Mercer
b7da732b32
Add changelog note
2022-07-01 18:47:41 +01:00
Henry Mercer
0c729c81f2
Mention that debug mode is automatically enabled when step debugging on
2022-07-01 17:59:10 +01:00
Henry Mercer
53850d88bb
Enable one-click debugging via the "Enable debug logging" rerun option
2022-07-01 17:56:57 +01:00
Henry Mercer
b1742f8919
Add instructions to remove deleted JS / source map files in PR check
2022-06-30 09:16:11 +01:00
Henry Mercer
c736697abf
Remove toolcache decorator
...
This decorator enabled us to use the functionality of the Actions
toolcache within the runner too.
Now that we've deleted the runner we no longer need it.
2022-06-30 09:16:10 +01:00
Arthur Baars
ca8a203b51
Merge pull request #1126 from github/aibaars/python-setup-no-pycache
...
Python-Setup: run auto_install_packages.py with -B flag
2022-06-30 10:08:46 +02:00
Arthur Baars
53bc5e6c78
Merge remote-tracking branch 'origin/main' into aibaars/python-setup-no-pycache
2022-06-30 09:10:41 +02:00
Andrew Eisenberg
8688a09e14
When using codescanning config call run queries a single time
...
When the codescanning config is being used by the CLI, there is a
single query suite that is generated that contains all queries to be
run by the analysis. This is different from the traditional way, where
there are potentially three query suites: builtin, custom, and packs.
We need to ensure that when the codescanning config is being used,
only a single call to run queries is used, and this call uses the
single generated query suite.
Also, this commit changes the cutoff version for codescanning config to
2.10.1. Earlier versions work, but there were some bugs that are only
fixed in 2.10.1 and later.
2022-06-29 12:50:24 -07:00
Henry Mercer
130a51dbc6
Handle Windows absolute paths in resolveUriToFile
2022-06-29 18:59:33 +01:00
Henry Mercer
c2fd5d10f6
Don't make temporary directories symlinks
...
`toolcache.extractTar` currently falls over when `ACTIONS_TEMP` contains
a symlink, and the runner no longer exists, so it's unlikely our
customers would be running with temporary directories that contain
symlinks.
2022-06-29 18:59:33 +01:00
Henry Mercer
30681e79db
Separate paths with / in resolveUriToFile
2022-06-29 18:59:32 +01:00
Henry Mercer
c15604920a
Workaround PATH casing issues on Windows
2022-06-29 18:59:32 +01:00
Henry Mercer
4792297702
Fix test failures on Windows related to path separators
2022-06-29 18:59:32 +01:00
Henry Mercer
79ec03f3e5
Run npm scripts on using bash so Windows can find commands
2022-06-29 18:58:38 +01:00
Henry Mercer
7ebbfcbbdd
Run unit tests on Windows too
2022-06-29 10:07:31 +01:00
Chuan-kai Lin
3ea10cc7b5
Merge pull request #1130 from github/mergeback/v2.1.15-to-main-3f62b754
...
Mergeback v2.1.15 refs/heads/releases/v2 into main
2022-06-28 14:11:56 -07:00
Andrew Eisenberg
6fabde2be8
Add packs and queries from input
...
This commit adds the packs and queries from the actions input to the
config file used by the CodeQL CLI.
When the `+` is used, the actions input value is combined with the
config value and when it is not used, the input value overrides the
config value.
This commit also adds a bunch of integration tests for this feature.
In order to avoid adding too many new jobs, all of the tests are
run sequentially in a single job (matrixed across relevant operating
systems and OSes).
2022-06-28 14:07:51 -07:00
Andrew Eisenberg
237260b693
Revert "Revert usage of --codescanning-config flag"
...
This reverts commit 43d066495c .
2022-06-28 13:03:04 -07:00
github-actions[bot]
4a887ca920
Update checked-in dependencies
2022-06-28 19:26:38 +00:00
github-actions[bot]
7c1b9e6b1a
Update changelog and version after v2.1.15
2022-06-28 19:04:16 +00:00
Chuan-kai Lin
3f62b754e2
Merge pull request #1129 from github/update-v2.1.15-e8c48cc8
...
Merge main into releases/v2
2022-06-28 12:02:35 -07:00
github-actions[bot]
26a69806cf
Update changelog for v2.1.15
2022-06-28 18:00:58 +00:00
Henry Mercer
9953936347
Add instructions to remove deleted JS / source map files in PR check
2022-06-28 18:24:18 +01:00
Henry Mercer
41d6ac4d2a
Remove toolcache decorator
...
This decorator enabled us to use the functionality of the Actions
toolcache within the runner too.
Now that we've deleted the runner we no longer need it.
2022-06-28 18:22:09 +01:00
Cornelius Riemenschneider
e8c48cc8cf
Merge pull request #1128 from github/criemen/lua-tracer-ff-2
...
Simplify tests for the Lua tracer FF in analyze-action.
2022-06-28 12:52:24 +02:00
Cornelius Riemenschneider
1616e0ef98
Simplify tests for the Lua tracer FF in analyze-action.
2022-06-28 10:29:00 +00:00
Cornelius Riemenschneider
b40cd0390c
Merge pull request #1120 from github/criemen/lua-tracer-ff-2
...
Honor the Lua tracer FF for `database trace-command` invocations for scanned languages.
2022-06-28 11:19:44 +02:00
Cornelius Riemenschneider
821fe9b476
Merge branch 'main' into criemen/lua-tracer-ff-2
2022-06-28 10:43:04 +02:00
Andrew Eisenberg
2a70419420
Revert "Revert "Add capability to filter queries #1098 ""
...
This reverts commit 99d4397d88 .
2022-06-27 13:13:55 -07:00
Chuan-kai Lin
37d8b5142f
Merge pull request #1123 from github/cklin/codeql-cli-2.10.0
...
Update default CodeQL version to 2.10.0
2022-06-27 10:20:30 -07:00
Cornelius Riemenschneider
ab7316e0c5
Implement unit tests for reading the Lua tracer FF in analyze-action.
2022-06-27 16:04:29 +00:00
Cornelius Riemenschneider
f422a50448
Honor the Lua tracer FF for database trace-command invocations for scanned languages.
...
In theory, a scanned language will not setup the build tracer, and so
shouldn't care about lua versus legacy tracing. However, `go` is a
special case where the autobuilder runs under the build tracer, that
then gets disabled immediately again, unless a special environment
variable is used.
Therefore, we need to thread through the feature flag to this
`database trace-command` invocation. For other scanned languages,
this should be a no-op, as no tracing is ever set up.
2022-06-27 16:04:29 +00:00
Chuan-kai Lin
ed40e306f5
Update default CodeQL version to 2.10.0
2022-06-27 09:01:12 -07:00
Arthur Baars
cae9a1f462
Run npm build
2022-06-27 16:40:40 +02:00
Arthur Baars
11a46b8856
Python-Setup: run auto_install_packages.py with -B flag
...
This avoids creating a __pycache__ folder in the _actions folder, which
may cause file ownership problems on self-hosted runners
when run in a docker container.
2022-06-27 16:39:19 +02:00
Arthur Baars
95673cf9a2
Revert "Python-Setup: set PYTHONDONTWRITEBYTECODE=1"
...
This reverts commit 3ff1fd9192 .
2022-06-27 16:34:35 +02:00
Arthur Baars
3ff1fd9192
Python-Setup: set PYTHONDONTWRITEBYTECODE=1
2022-06-27 16:34:25 +02:00
Andrew Eisenberg
47bcabd3e8
Merge pull request #1116 from github/aeisenberg/multi-lang-packs
...
Allow scans with packs for languages not being scanned
2022-06-24 16:47:56 -07:00
Andrew Eisenberg
b9deefbe0a
Merge branch 'main' into aeisenberg/multi-lang-packs
2022-06-24 15:12:24 -07:00
Andrew Eisenberg
7c4d0e0f6e
Merge pull request #1124 from github/aeisenberg/poetry-python2
...
Disable python2 + poetry
2022-06-24 13:50:46 -07:00
Andrew Eisenberg
b38dc80666
Merge branch 'main' into aeisenberg/multi-lang-packs
2022-06-24 11:20:12 -07:00
Andrew Eisenberg
e0411511a5
Update CHANGELOG.md
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2022-06-24 11:20:06 -07:00
Andrew Eisenberg
c08ab55e3d
Merge branch 'main' into aeisenberg/poetry-python2
2022-06-24 10:44:08 -07:00
Andrew Eisenberg
934c0340a7
Update CHANGELOG.md
2022-06-24 10:21:24 -07:00
Andrew Eisenberg
c18b1d6732
Update changelog
2022-06-24 10:16:08 -07:00
Andrew Eisenberg
8bfe3c6be5
Disable python2 + poetry
2022-06-24 10:09:46 -07:00
Andrew Eisenberg
4efa7d6115
Merge pull request #1119 from github/aeisenberg/runner-dependabot-fix
...
Fix dependabot warnings in runner
2022-06-24 09:09:13 -07:00
Andrew Eisenberg
c699821722
Update runner dependencies
2022-06-23 11:46:42 -07:00
Andrew Eisenberg
7fa4dc3512
Fix dependabot warnings in runner
...
Note that this changes the lock file format
from 1 to 2, so there are many changes here.
2022-06-23 10:33:54 -07:00
Andrew Eisenberg
a965b69658
Merge pull request #1118 from github/mergeback/v2.1.14-to-main-41a4ada3
...
Mergeback v2.1.14 refs/heads/releases/v2 into main
2022-06-22 21:28:54 -07:00
github-actions[bot]
3b151b1bde
Update checked-in dependencies
2022-06-23 00:11:35 +00:00
github-actions[bot]
f9fd90ed60
Update changelog and version after v2.1.14
2022-06-22 23:54:13 +00:00
Andrew Eisenberg
41a4ada31b
Merge pull request #1114 from github/update-v2.1.14-2e0c6caf
...
Merge main into releases/v2
2022-06-22 16:52:17 -07:00
Andrew Eisenberg
e524cd64db
Update branch names for check-for-conflicts.yml job
2022-06-22 16:07:46 -07:00
Andrew Eisenberg
1653a84fbc
Allow scans with packs for languages not being scanned
...
Previously, we were being too strict about checking that a pack's
language was being scanned. It was a failure if a pack language
was specified for a language not being scanned.
2022-06-22 14:37:31 -07:00
github-actions[bot]
08f9ac4674
Update changelog for v2.1.14
2022-06-22 14:37:09 +00:00
Andrew Eisenberg
2e0c6caf16
Merge pull request #1111 from github/aeisenberg/revert-1098
...
Revert "Add capability to filter queries #1098 "
2022-06-21 14:25:59 -07:00
Andrew Eisenberg
99d4397d88
Revert "Add capability to filter queries #1098 "
...
https://github.com/github/codeql-action/pull/1098
This reverts commit 777b778409 .
This reverts commit 59ca9b59cb .
This reverts commit eec34d5f05 .
This reverts commit 40b280032c .
2022-06-21 13:49:33 -07:00
Edoardo Pirovano
47dc295f08
Merge pull request #1110 from github/edoardo/case-insensitive-update
...
Fix issue with required checks sync script
2022-06-21 15:10:59 +01:00
Edoardo Pirovano
5a6f006e4d
Fix issue with required checks sync script
2022-06-21 13:20:45 +01:00
Edoardo Pirovano
ceacebd3ff
Merge pull request #1108 from github/mergeback/v2.1.13-to-main-d00e8c09
...
Mergeback v2.1.13 refs/heads/releases/v2 into main
2022-06-21 12:56:32 +01:00
Edoardo Pirovano
d069ed5c71
Merge branch 'main' into mergeback/v2.1.13-to-main-d00e8c09
2022-06-21 11:26:28 +01:00
github-actions[bot]
0e17d37ac3
Update checked-in dependencies
2022-06-21 10:23:20 +00:00
Cornelius Riemenschneider
2318cf79e9
Merge pull request #1106 from github/criemen/bump-lua-tracer-version
...
Bump lua tracer version requirement.
2022-06-21 11:44:40 +02:00
github-actions[bot]
b2786f5323
Update changelog and version after v2.1.13
2022-06-21 09:43:31 +00:00
Edoardo Pirovano
d00e8c09a3
Merge pull request #1107 from github/update-v2.1.13-31367d4e
...
Merge main into releases/v2
2022-06-21 10:41:43 +01:00
github-actions[bot]
8bd4419d1e
Update changelog for v2.1.13
2022-06-21 08:59:28 +00:00
Cornelius Riemenschneider
99acb8dda6
Bump lua tracer version requirement.
...
The old version had a bug related to go autobuilding, so we only want to
respect the feature flag for the version that has the fix.
2022-06-20 14:05:26 +00:00
Edoardo Pirovano
31367d4e57
Merge pull request #1100 from github/edoardo/2.9.4-bump
...
Update default CodeQL version to 2.9.4
2022-06-20 14:46:48 +01:00
Edoardo Pirovano
ccf5d70ab3
Update default CodeQL version to 2.9.4
2022-06-20 09:39:11 +01:00
Andrew Eisenberg
30fe0a56d2
Merge pull request #1103 from github/aeisenberg/fix-required-checks-script
...
Ensure there are no duplicates when sending up required checks
2022-06-17 15:48:46 +02:00
Andrew Eisenberg
7adb33da1d
Ensure there are no duplicates when sending up required checks
...
This breaks the API. Also, fix the checks that had duplicate names.
2022-06-16 20:31:29 -07:00
Andrew Eisenberg
2e111b27f7
Merge pull request #1102 from github/aeisenberg/fix-query-filters-test
...
Fix input to action
2022-06-17 03:56:40 +02:00
Andrew Eisenberg
c7785f6b91
Fix input to action
2022-06-16 18:34:04 -07:00
Andrew Eisenberg
2e80c74b1b
Merge pull request #1096 from github/aeisenberg/check-sarif-action
...
Add the check-sarif action
2022-06-16 03:39:00 +02:00
Andrew Eisenberg
80ecdcdf69
Merge pull request #1098 from github/aeisenberg/remove-queries
...
Add capability to filter queries
2022-06-15 17:52:46 -07:00
Andrew Eisenberg
7c412c67ba
Merge branch 'aeisenberg/check-sarif-action' into aeisenberg/remove-queries
2022-06-16 02:42:30 +02:00
Andrew Eisenberg
ee4575b213
Merge branch 'main' into aeisenberg/check-sarif-action
2022-06-16 02:39:30 +02:00
Henry Mercer
d2ab7a2abb
Merge pull request #1086 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions.
2022-06-16 01:37:12 +01:00
Andrew Eisenberg
d7459f0368
Merge branch 'aeisenberg/check-sarif-action' into aeisenberg/remove-queries
2022-06-16 02:22:34 +02:00
Andrew Eisenberg
6db77eec0d
Merge remote-tracking branch 'upstream/main' into aeisenberg/remove-queries
2022-06-15 17:21:05 -07:00
Andrew Eisenberg
777b778409
Spelling, capitalization, and better descriptions
2022-06-15 17:18:35 -07:00
GitHub
97f9db4fb9
Update supported GitHub Enterprise Server versions.
2022-06-16 00:11:36 +00:00
Andrew Eisenberg
59ca9b59cb
Extract query-filters test into a composite action
...
Removes duplicated yaml.
Also add some better typings.
2022-06-15 16:32:33 -07:00
Andrew Eisenberg
6834383903
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henrymercer@github.com >
2022-06-15 16:27:01 -07:00
Andrew Eisenberg
4918636a75
Clarify variable names in new action
...
Also simplify some computations.
2022-06-15 16:06:16 -07:00
Andrew Eisenberg
428caf0cf5
Update changelog
2022-06-15 14:11:03 -07:00
Tom Bolton
df05122fc6
Merge pull request #1087 from github/tombolton/update-ml-pack
...
Run ML-powered query pack `~0.3.0` on v2.9.3+ of the CLI
2022-06-15 15:55:43 +01:00
tombolton
a27dc4fee4
update security extended test for all platforms
2022-06-15 11:42:22 +01:00
tombolton
a568674c69
add tests for ML powered queries 0.3.0 and CLI 2.9.3
2022-06-15 11:42:22 +01:00
tombolton
f8f4c0b33e
compile the modified TypeScript to Javascript
2022-06-15 11:42:22 +01:00
tombolton
79d8e4a43d
fix lint errors
2022-06-15 11:42:22 +01:00
tombolton
0ece1d1000
add ml query pack 0.3.0
2022-06-15 11:42:22 +01:00
Andrew Eisenberg
81b419c908
Merge pull request #1097 from github/aeisenberg/js-yaml-typings
2022-06-15 05:56:07 +02:00
Andrew Eisenberg
eec34d5f05
Add integration tests for query filters
2022-06-14 14:10:08 -07:00
Andrew Eisenberg
06e27d3e3d
Merge branch 'aeisenberg/js-yaml-typings' into aeisenberg/remove-queries
2022-06-14 12:08:16 -07:00
Andrew Eisenberg
40b280032c
Add capability to filter queries
...
This change adds a `query-filters` property to the codeql-config file.
This property is an array of `exclude`/`include` entries for a query
suite. These filters are appended to the generated query suite files
and used to filter queries after they are selected.
A related change is that now, all pack references are run in a single
query suite, which has the query filters appended to them.
2022-06-14 12:07:49 -07:00
Andrew Eisenberg
bcb7fad5b3
Add the check-sarif action
...
Allows us to analyze and then check that certain queries were included
in the analysis and others were not.
2022-06-14 11:55:10 -07:00
Andrew Eisenberg
0efcf74ce0
Add typings for js-yaml
2022-06-14 07:50:47 -07:00
Andrew Eisenberg
29a2159db1
Merge pull request #1095 from github/aeisenberg/use-del
...
Avoid use of rmdir
2022-06-14 02:55:00 +02:00
Andrew Eisenberg
f7c46e5cbc
Avoid use of rmdir
...
This is a deprecated method on node v16.
2022-06-13 22:40:09 +00:00
Andrew Eisenberg
ccf479d336
Merge pull request #1085 from github/swift-support
...
Add Swift as a possible traced language
2022-06-02 17:43:40 -07:00
Mathias Vorreiter Pedersen
1b5ea4afdc
Merge branch 'main' into swift-support
2022-06-03 01:13:47 +01:00
Andrew Eisenberg
69e09909dc
Merge pull request #1089 from github/mergeback/v2.1.12-to-main-27ea8f8f
...
Mergeback v2.1.12 refs/heads/releases/v2 into main
2022-06-01 13:39:46 -07:00
github-actions[bot]
632cc8efb3
Update checked-in dependencies
2022-06-01 18:35:33 +00:00
github-actions[bot]
57096f1d43
Update changelog and version after v2.1.12
2022-06-01 17:58:23 +00:00
Chuan-kai Lin
27ea8f8fe5
Merge pull request #1088 from github/update-v2.1.12-dbe6f211
...
Merge main into releases/v2
2022-06-01 10:56:48 -07:00
github-actions[bot]
3f00a1265f
Update changelog for v2.1.12
2022-06-01 16:43:15 +00:00
Chuan-kai Lin
dbe6f211e6
Merge pull request #1084 from github/cklin/codeql-bundle-2.9.3
...
Update default CodeQL to 2.9.3
2022-05-31 09:20:46 -07:00
Mathias Vorreiter Pedersen
16c620dea4
Make the linter happy.
2022-05-31 13:55:23 +01:00
Chuan-kai Lin
b36688d5b7
Update default CodeQL to 2.9.3
2022-05-27 09:16:45 -07:00
Mathias Vorreiter Pedersen
bfe9d7da56
Add Swift as a supported language.
2022-05-27 16:29:13 +01:00
Cornelius Riemenschneider
822fe5ef9a
Merge pull request #1057 from github/criemen/lua-tracing-ff
...
Introduce a feature-flag to enable/disable lua-based tracing.
2022-05-25 12:33:41 +02:00
Cornelius Riemenschneider
255ffd480f
Merge branch 'main' into criemen/lua-tracing-ff
2022-05-25 11:53:06 +02:00
Cornelius Riemenschneider
4b775686a0
Choose the correct version to enable the Lua tracer for.
2022-05-25 07:39:11 +00:00
Marco Gario
f0705a6d6f
Merge pull request #1081 from github/clarify_missing_base
...
Remove outdated guidance on missing analysis
2022-05-19 08:32:10 +02:00
Marco Gario
2faa3e16f3
Remove outdated guidance on missing analysis
...
As of December 2021, we do not return missing base analysis anymore.
2022-05-17 12:04:13 +02:00
Edoardo Pirovano
aaff818427
Merge pull request #1079 from github/mergeback/v2.1.11-to-main-a3a6c128
...
Mergeback v2.1.11 refs/heads/releases/v2 into main
2022-05-17 10:59:43 +01:00
github-actions[bot]
6f285ad15b
Update checked-in dependencies
2022-05-17 08:42:16 +00:00
github-actions[bot]
c88cf91b1f
Update changelog and version after v2.1.11
2022-05-17 08:23:51 +00:00
Edoardo Pirovano
a3a6c128d7
Merge pull request #1078 from github/update-v2.1.11-657c2f3f
...
Merge main into releases/v2
2022-05-17 09:22:11 +01:00
github-actions[bot]
657581e7a8
Update changelog for v2.1.11
2022-05-17 07:54:00 +00:00
Edoardo Pirovano
657c2f3ff0
Merge pull request #1074 from github/edoardo/2.9.2-update
...
Update default CodeQL to 2.9.2
2022-05-16 14:22:11 +01:00
Cornelius Riemenschneider
970e0879d9
Fix linter errors.
2022-05-16 09:40:10 +00:00
Cornelius Riemenschneider
db50adab01
Add tests for the Lua feature flag.
2022-05-16 09:16:41 +00:00
Cornelius Riemenschneider
9e9a8428c3
Introduce a feature-flag to enable/disable lua-based tracing.
...
This allows us to gradually roll out (or even roll back)
Lua-based tracing in case problems occur.
2022-05-16 09:16:38 +00:00
Edoardo Pirovano
1725087693
Update default CodeQL to 2.9.2
2022-05-16 09:40:19 +01:00
Henry Mercer
e655565390
Merge pull request #1076 from github/henrymercer/fix-changelog-typo
...
Fix a typo in the CHANGELOG
2022-05-13 17:30:42 +01:00
Henry Mercer
c38e41c45a
Fix a typo in the CHANGELOG
...
`2.9.5 -> 2.9.1` — I missed this during review.
2022-05-13 16:55:08 +01:00
Henry Mercer
0658e4b2d6
Merge pull request #1075 from github/henrymercer/update-actions-tool-cache
...
Bump @actions/tool-cache to 2.0.0
2022-05-13 14:45:57 +01:00
Henry Mercer
54b4854fda
Bump @actions/tool-cache to 2.0.0
...
This allows us to drop our direct dependency on `@actions/http-client`.
2022-05-13 11:54:40 +01:00
Henry Mercer
1fae5bf71b
Merge pull request #1051 from github/henrymercer/run-atm-on-windows
...
Run ML-powered queries on Windows with CodeQL CLI 2.9.0+
2022-05-11 20:03:26 +01:00
Henry Mercer
533ce91971
Merge remote-tracking branch 'origin/main' into henrymercer/run-atm-on-windows
2022-05-11 19:32:14 +01:00
Henry Mercer
ace076b980
Merge pull request #1070 from github/mergeback/v2.1.10-to-main-2f58583a
...
Mergeback v2.1.10 refs/heads/releases/v2 into main
2022-05-11 18:36:28 +01:00
Henry Mercer
97847a4dde
Merge branch 'main' into mergeback/v2.1.10-to-main-2f58583a
2022-05-11 16:59:06 +01:00
github-actions[bot]
f8c88ab2dc
Update changelog and version after v2.1.10
2022-05-11 15:51:54 +00:00
Henry Mercer
2f58583a1b
Merge pull request #1069 from github/henrymercer/fix-integration-tests-on-v1
...
Fix integration tests on v1
2022-05-11 16:48:31 +01:00
Henry Mercer
4e0668d05e
Fix integration tests on v1
...
The GitHub API client coerces `fake-server-url` to the Dotcom API URL,
which means commands like `util.getGitHubVersion` will call the Dotcom
API with the `fake-token`, resulting in 401s.
We therefore use the Dotcom URL instead and additionally stub
`util.getGitHubVersion` as a good practice (it's no longer necessary).
2022-05-11 15:53:57 +01:00
Henry Mercer
c4fdf5fe69
Merge pull request #1067 from github/mergeback/v2.1.10-to-main-03e2e3c4
...
Mergeback v2.1.10 refs/heads/releases/v2 into main
2022-05-11 13:14:15 +01:00
Henry Mercer
4f87830a1f
Merge branch 'main' into mergeback/v2.1.10-to-main-03e2e3c4
2022-05-11 12:00:48 +01:00
github-actions[bot]
daf6560612
Update changelog and version after v2.1.10
2022-05-11 10:57:56 +00:00
Henry Mercer
03e2e3c45f
Merge pull request #1065 from github/henrymercer/remove-extraneous-commit
...
Remove an extraneous commit during the release process
2022-05-11 11:39:31 +01:00
Henry Mercer
3bb6c41212
Remove an extraneous commit during the release process
...
We only need to run `git commit` after the `git merge` call if there were conflicts.
2022-05-11 10:50:13 +01:00
Alexander Eyers-Taylor
38fc5ebb37
Merge pull request #1064 from github/mergeback/v2.1.10-to-main-75b4f1c4
...
Mergeback v2.1.10 refs/heads/releases/v2 into main
2022-05-10 20:12:54 +01:00
Henry Mercer
a82d691646
Merge branch 'main' into mergeback/v2.1.10-to-main-75b4f1c4
2022-05-10 19:32:12 +01:00
github-actions[bot]
ca6773e404
Update checked-in dependencies
2022-05-10 17:39:06 +00:00
Andrew Eisenberg
8dbd96566a
Merge pull request #1063 from github/aeisenberg/contrib
...
Update contributing.md
2022-05-10 10:25:04 -07:00
github-actions[bot]
ef73e3bee8
Update changelog and version after v2.1.10
2022-05-10 17:05:35 +00:00
Alexander Eyers-Taylor
75b4f1c466
Merge pull request #1062 from github/update-v2.1.10-7cf0ed5e
...
Merge main into releases/v2
2022-05-10 18:03:52 +01:00
Andrew Eisenberg
d468c94a69
Update contributing.md
...
Change the text for keeping the checks up to date.
2022-05-10 09:55:27 -07:00
Rasmus Wriedt Larsen
7c55012151
Merge pull request #1039 from github/rasmuswl/pip-python2-fix
...
python-setup: Check if `pip` is already installed for Python2
2022-05-10 14:17:06 +02:00
github-actions[bot]
f8eea91a7b
Update changelog for v2.1.10
2022-05-10 11:33:39 +00:00
Henry Mercer
878b64e0ef
Merge branch 'main' into rasmuswl/pip-python2-fix
2022-05-10 10:52:20 +01:00
Andrew Eisenberg
7cf0ed5e3f
Merge pull request #1060 from github/aeisenberg/required-checks-script
...
Create update-required-checks script
2022-05-10 02:50:12 -07:00
Rasmus Wriedt Larsen
b651a677d2
Merge branch 'main' into rasmuswl/pip-python2-fix
2022-05-10 10:51:39 +02:00
Andrew Eisenberg
827fd55c21
Create update-required-checks script
...
This also removes the .github/workflows/update-required-checks.yml
workflow. This script needs to be run locally by someone who has
admin privileges on the repo.
2022-05-09 14:59:16 -07:00
Alexander Eyers-Taylor
dd56e95b46
Merge pull request #1056 from github/alexet/update-2.9.1
...
Update codeql to 2.9.1
2022-05-05 16:52:48 +01:00
alexet
3c6dd303a8
Update codeql to 2.9.1
2022-05-03 15:58:57 +01:00
Chris Gavin
96bc9c36c6
Merge pull request #1055 from github/fix-status-error-being-caught
...
Fix processing errors being caught and logged as a warning rather than failing the workflow run.
2022-05-03 13:21:10 +01:00
Chris Gavin
366e88c2c1
Fix processing errors being caught and logged as a warning rather than failing the workflow run.
2022-05-03 10:06:19 +01:00
Andrew Eisenberg
7b66e72cb7
Merge pull request #1054 from github/aeisenberg/update-checks
...
Add permissions to workflow
2022-05-02 12:46:59 -07:00
Andrew Eisenberg
06d4e82bd2
Add permissions block to workflow
2022-05-02 12:01:19 -07:00
Andrew Eisenberg
0fb78380f8
Merge pull request #1053 from github/aeisenberg/update-checks
...
Add workflow to regenerate required checks
2022-05-02 10:44:05 -07:00
Andrew Eisenberg
b71f20d70f
Add workflow to regenerate required checks
...
Update contributing guide.
Ensure this workflow runs once a week.
2022-05-02 10:15:40 -07:00
Andrew Eisenberg
8f845425a2
Merge pull request #1052 from github/aeisenberg/required-checks
...
Update CONTRIBUTING.md
2022-05-02 09:25:35 -07:00
Andrew Eisenberg
c9882bef2d
Update CONTRIBUTING.md
2022-05-02 08:58:10 -07:00
Andrew Eisenberg
9a6bf18ec4
Update CONTRIBUTING.md
...
Clarify instructions for updating required checks
2022-05-02 08:29:30 -07:00
Andrew Eisenberg
0235de0279
Merge pull request #1049 from github/aeisenberg/packs-with-paths
...
Allow running packs with paths
2022-05-02 08:24:46 -07:00
Andrew Eisenberg
a73e506617
Fix syntax error in workflow
2022-04-29 17:33:21 -07:00
Andrew Eisenberg
b11fe85402
Merge branch 'main' into aeisenberg/packs-with-paths
2022-04-29 11:10:16 -07:00
Andrew Eisenberg
922dc2b976
Use the --resolve-query-specs parameter of pack download
...
This will allow the command to resolve packs with paths.
Also, use a more concise version of `tr`.
2022-04-29 10:54:01 -07:00
Henry Mercer
395afb1dd9
Fix unit test assertion on Windows
2022-04-29 18:18:19 +01:00
Henry Mercer
ceeddf2638
Merge pull request #1050 from github/henrymercer/dont-wait-for-processing-in-test-mode
...
Don't wait for processing in test mode
2022-04-29 10:26:03 +01:00
Andrew Eisenberg
06b15c22b1
Allow pack specifiers to include paths
...
Also, this cleans up our pack-related integration tests.
We are now testing with the most recent CLIs.
2022-04-28 17:14:30 -07:00
Henry Mercer
ed0abc6cac
Log the expected outcome of the tests for clarity
2022-04-28 19:21:56 +01:00
Henry Mercer
193cfa588d
Update PR checks for Windows and CodeQL CLI 2.9.0+
2022-04-28 19:18:15 +01:00
Henry Mercer
d9e30cb001
Run ML-powered queries on Windows with CodeQL CLI 2.9.0+
2022-04-28 19:18:15 +01:00
Henry Mercer
ea676e3184
Don't wait for processing in test mode
...
In test mode, we don't upload results, so there's no point waiting for
processing.
2022-04-28 19:14:14 +01:00
Henry Mercer
7c2be06006
Factor out test mode determination code
2022-04-28 19:13:22 +01:00
Henry Mercer
0c3c093eba
Merge pull request #1045 from github/henrymercer/prompt-v1-to-v2-upgrades
...
Prompt customers to upgrade from v1 to v2
2022-04-28 18:50:10 +01:00
Henry Mercer
2bf00f719d
Merge branch 'main' into henrymercer/prompt-v1-to-v2-upgrades
2022-04-28 14:17:36 +01:00
Henry Mercer
02083c307e
Add a comment to explain why we show the upgrade message on GHES 3.4
2022-04-28 14:16:32 +01:00
Henry Mercer
35ef6a2db3
Move formatGitHubVersion into util.test.ts
2022-04-28 14:16:32 +01:00
Henry Mercer
5227afabbe
Tweak wording of message
2022-04-28 14:16:32 +01:00
Edoardo Pirovano
6ed7f70798
Merge pull request #1047 from github/mergeback/v2.1.9-to-main-7502d6e9
...
Mergeback v2.1.9 refs/heads/releases/v2 into main
2022-04-28 09:39:17 +01:00
github-actions[bot]
04f504ca7f
Update checked-in dependencies
2022-04-27 20:55:44 +00:00
github-actions[bot]
016ec75b7c
Update changelog and version after v2.1.9
2022-04-27 18:21:50 +00:00
Henning Makholm
7502d6e991
Merge pull request #1046 from github/update-v2.1.9-72861144
...
Merge main into releases/v2
2022-04-27 20:20:29 +02:00
github-actions[bot]
cbce00d08d
Update changelog for v2.1.9
2022-04-27 16:41:08 +00:00
Henry Mercer
0256599547
Prompt customers to upgrade from v1 to v2
2022-04-27 16:11:24 +01:00
Chuan-kai Lin
72861144fd
Merge pull request #1042 from cklin/windows-status-report-error
...
Fix status reporting error on Windows
2022-04-26 08:46:38 -07:00
Chuan-kai Lin
6dd9baf8be
Fix status reporting error on Windows
2022-04-26 08:06:57 -07:00
Henry Mercer
ff8b365e79
Merge pull request #1044 from github/adityasharad/readme/replace-git-io
...
README: Replace git.io shortlink with full link
2022-04-26 12:30:02 +01:00
Henry Mercer
eed184a534
Merge branch 'main' into adityasharad/readme/replace-git-io
2022-04-26 10:44:55 +01:00
Henry Mercer
c76f0b5b07
Merge pull request #1032 from github/henrymercer/handle-merge-conflicts-in-releases
...
Commit any conflicts during v1 backport to simplify release process
2022-04-26 10:43:55 +01:00
Aditya Sharad
bf4ba6945d
README: Replace git.io shortlink with full link
...
git.io is deprecated, so use the full link to docs.github.com instead.
2022-04-26 02:14:44 -07:00
Henry Mercer
d2d14adf3e
Merge branch 'main' into henrymercer/handle-merge-conflicts-in-releases
2022-04-26 10:03:00 +01:00
Henning Makholm
95b49c3e6b
Merge pull request #1038 from github/hmakholm/pr/2.9.0
...
Bump default CodeQL version to 2.9.0
2022-04-26 03:03:24 +02:00
Henning Makholm
80771fd2d0
Merge branch 'main' into hmakholm/pr/2.9.0
2022-04-26 02:33:49 +02:00
Henry Mercer
2b8fdb3f2e
Merge branch 'main' into henrymercer/handle-merge-conflicts-in-releases
2022-04-25 17:02:03 +01:00
Henry Mercer
074853a9a2
Suggest resolving conflicts by adding new commits vs amending the merge commit
...
This gives us slightly messier git history, but more importantly makes
reviewing substantially easier.
2022-04-25 16:37:32 +01:00
Henry Mercer
ce63ab5d00
Merge pull request #1033 from github/henrymercer/use-tags-for-releases
...
Specify releases of the CodeQL Action using tags instead of branches
2022-04-25 13:22:12 +01:00
Henry Mercer
e87e2d8201
Merge branch 'main' into henrymercer/use-tags-for-releases
2022-04-25 09:56:42 +01:00
Rasmus Wriedt Larsen
8a646279fc
python-setup: Check if pip is already installed for Python2
2022-04-22 10:32:29 +02:00
Henning Makholm
23b7196b6b
Bump default CodeQL version to 2.9.0
2022-04-21 23:12:38 +02:00
Andrew Eisenberg
e6e327771b
Merge pull request #1026 from kojiromike/patch-1
2022-04-18 09:18:46 -07:00
Rasmus Wriedt Larsen
b9577df761
python-setup: refactor Pipenv without lockfile
2022-04-18 11:14:14 -04:00
Michael A. Smith
808c29257b
Support Pipfile without Pipfile.lock
...
As previously written, if codeql finds a `Pipfile`, but no `Pipfile.lock`, it will run `pipenv install` with args that require `Pipfile.lock` to exist. Pipfile will fail with this message:
```
Usage: python -m pipenv install [OPTIONS] [PACKAGES]...
ERROR:: Pipfile.lock must exist to use --keep-outdated!
package installation with pipenv failed, see error above
```
This changeset enables auto_install to work with Pipfile when there is no lock. (Bonus: `--skip-lock` is generally a bit faster.)
2022-04-18 11:14:14 -04:00
Henry Mercer
5b5ed44ab7
Add a PR check to check for conflict markers
...
This check is primarily intended to validate that any merge conflicts in
the v2 -> v1 backport PR are fixed before the PR is merged.
2022-04-14 20:05:42 +01:00
Henry Mercer
faf9d4b499
Merge branch 'main' into henrymercer/use-tags-for-releases
2022-04-14 19:40:48 +01:00
Henry Mercer
8b2f5d7158
Merge pull request #1034 from github/dependabot/npm_and_yarn/glob-8.0.1
...
Bump glob from 7.1.7 to 8.0.1
2022-04-14 19:39:48 +01:00
github-actions[bot]
0ba58d8497
Update checked-in dependencies
2022-04-14 17:56:23 +00:00
dependabot[bot]
3962f1bd85
Bump glob from 7.1.7 to 8.0.1
...
Bumps [glob](https://github.com/isaacs/node-glob ) from 7.1.7 to 8.0.1.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v7.1.7...v8.0.1 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-14 17:00:42 +00:00
Henry Mercer
9daf1de73c
Update references to release branches
...
Prepare for renaming `v1` -> `releases/v1` and `v2` -> `releases/v2`.
2022-04-14 17:48:46 +01:00
Henry Mercer
bce749b10f
Improve consistency of variable references in Bash
2022-04-14 17:48:46 +01:00
Henry Mercer
fce4a01cd7
Update the major version tag within the release process
2022-04-14 17:48:46 +01:00
Henry Mercer
bac9320f4f
Update description of "Tag release and merge back" workflow
2022-04-14 17:48:46 +01:00
Henry Mercer
b3bf557359
Merge branch 'main' into henrymercer/handle-merge-conflicts-in-releases
2022-04-14 17:41:31 +01:00
Henry Mercer
f6312f1322
Commit any conflicts during v1 backport to simplify release process
...
The process of creating the v1 release can run into merge conflicts. We
commit the unresolved conflicts so a maintainer can easily resolve them
(vs erroring and requiring maintainers to reconstruct the release
manually).
2022-04-14 16:08:38 +01:00
Chris Gavin
c5c5bdabb9
Merge pull request #1007 from github/wait-for-processing-2
...
Re-enable waiting for processing by default, using the new API semantics.
2022-04-14 09:29:10 +01:00
Chris Gavin
e7869d541b
Merge main into wait-for-processing-2.
2022-04-14 08:49:44 +01:00
Henry Mercer
7a12645d7e
Merge pull request #1030 from github/RasmusWL/pyton-setup-codeowners
...
Add codeql-python as CODEOWNERS
2022-04-12 16:01:41 +01:00
Rasmus Wriedt Larsen
9f20addbf2
Update CODEOWNERS
...
Co-authored-by: Henry Mercer <henrymercer@github.com >
2022-04-12 16:34:35 +02:00
Rasmus Wriedt Larsen
780f4ee1bf
Add codeql-python as CODEOWNERS
2022-04-12 11:40:51 +02:00
Chuan-kai Lin
baf90d17d2
Merge pull request #1024 from cklin/autobuild-working-dir
...
autobuild: add working-directory input
2022-04-08 16:20:01 -07:00
Chuan-kai Lin
6f174084dd
Add autobuild workind-directory test
2022-04-08 15:18:11 -07:00
Chuan-kai Lin
b0c570ef83
autobuild: add working-directory input
2022-04-08 13:37:42 -07:00
Edoardo Pirovano
2d80fe85fc
Merge pull request #1029 from github/mergeback/v2.1.8-to-main-1ed14374
...
Mergeback v2.1.8 refs/heads/v2 into main
2022-04-08 10:58:37 +01:00
github-actions[bot]
0c80741707
Update checked-in dependencies
2022-04-08 09:02:30 +00:00
github-actions[bot]
792bbfea04
Update changelog and version after v2.1.8
2022-04-08 08:46:10 +00:00
Edoardo Pirovano
1ed1437484
Merge pull request #1027 from github/update-v2.1.8-739937f1
...
Merge main into v2
2022-04-08 09:44:43 +01:00
github-actions[bot]
3ed22c8145
Update changelog for v2.1.8
2022-04-08 08:16:27 +00:00
Andrew Eisenberg
739937f14e
Merge pull request #1025 from github/aeisenberg/get-runs-api
...
Exclude pull requests from actions/runs request
2022-04-07 16:12:02 -07:00
Andrew Eisenberg
0ecdac49ad
Update changelog
2022-04-07 14:02:50 -07:00
Andrew Eisenberg
426a3951ee
Exclude pull requests from actions/runs request
...
This will save time when fetcing the current run and we
don't use the pull requests for anything anyway. It is
ok to leave out.
2022-04-07 14:02:44 -07:00
Edoardo Pirovano
a0b596246a
Merge pull request #1014 from github/edoardo/2.8.5-bump
...
Update default CodeQL version to 2.8.5
2022-04-07 16:12:41 +01:00
Edoardo Pirovano
5d3e1a701c
Update default CodeQL version to 2.8.5
2022-04-07 13:41:02 +01:00
Edoardo Pirovano
b9bb8dd18d
Merge pull request #1020 from github/mergeback/v2.1.7-to-main-0182a2c7
...
Mergeback v2.1.7 refs/heads/v2 into main
2022-04-05 10:50:50 -07:00
github-actions[bot]
11673755ab
Update checked-in dependencies
2022-04-05 17:17:35 +00:00
github-actions[bot]
d0ca51f5e9
Update changelog and version after v2.1.7
2022-04-05 16:21:20 +00:00
Edoardo Pirovano
0182a2c78c
Merge pull request #1019 from github/update-v2.1.7-9cab82f2
...
Merge main into v2
2022-04-05 09:19:51 -07:00
github-actions[bot]
488f78249e
Update changelog for v2.1.7
2022-04-05 14:52:53 +00:00
Edoardo Pirovano
9cab82f202
Merge pull request #1018 from github/edoardo/revert-codescanning-config
...
Revert usage of `--codescanning-config` flag
2022-04-05 07:50:07 -07:00
Edoardo Pirovano
43d066495c
Revert usage of --codescanning-config flag
2022-04-05 09:41:07 +01:00
Edoardo Pirovano
f090899ed0
Merge pull request #1015 from github/edoardo/dependency-update
...
Fix issue with dependencies
2022-04-01 10:08:50 -07:00
Edoardo Pirovano
8a00ed086d
Fix issue with dependencies
2022-04-01 17:36:08 +01:00
Henry Mercer
935969c6f7
Merge pull request #1013 from github/henrymercer/ml-powered-query-pack-v0.2.0
...
Run version `~0.2.0` of the ML-powered query pack on v2.8.4+ of the CLI
2022-03-31 16:25:07 +01:00
Henry Mercer
e26813cf98
Run version ~0.2.0 of the ML-powered query pack for v2.8.4+ of the CLI
2022-03-31 14:58:41 +01:00
Henry Mercer
2c03704a6c
Allow the version of the ML-powered pack to depend on the CLI version
2022-03-31 14:58:29 +01:00
Henry Mercer
dd6b592e3e
Simplify ML-powered query status report definition
...
We now limit the cardinality of the ML-powered JS queries status report
field server-side. With no need for a limit on the cardinality of the
status report client-side, we can simplify how we produce it.
2022-03-31 14:55:32 +01:00
Henry Mercer
a90d8bf711
Merge pull request #1011 from github/henrymercer/ml-powered-queries-pr-check
...
Add a PR check to validate that ML-powered queries are run correctly
2022-03-31 11:13:26 +01:00
Henry Mercer
dc0338e493
Use latest major version of actions/upload-artifact
2022-03-31 10:11:33 +01:00
Henry Mercer
57096fe795
Add a PR check to validate that ML-powered queries are run correctly
2022-03-31 10:11:30 +01:00
Henry Mercer
b0ddf36abe
Merge pull request #1012 from github/henrymercer/update-actions-major-versions
...
Update major versions of Actions in README and workflows
2022-03-30 21:06:16 +01:00
Henry Mercer
1ea2f2d7f1
Merge branch 'main' into henrymercer/update-actions-major-versions
2022-03-30 20:00:06 +01:00
Henry Mercer
9dcc141f12
Merge pull request #1010 from github/henrymercer/stop-running-ml-powered-queries-on-windows
...
Stop running ML-powered queries on Windows
2022-03-30 19:57:03 +01:00
Henry Mercer
ea751a9fae
Update other Actions from v2 to v3
2022-03-30 19:46:09 +01:00
Henry Mercer
a2949f47b3
Update actions/checkout from v2 to v3
2022-03-30 19:46:09 +01:00
Henry Mercer
7871f0d5e1
Update CodeQL Action from v1 to v2 in README
2022-03-30 19:46:09 +01:00
Henry Mercer
e6f3e049b4
Add descriptions to each test
2022-03-30 18:17:06 +01:00
Henry Mercer
e83a1d469e
Stop running ML-powered queries on Windows
2022-03-30 18:05:12 +01:00
Edoardo Pirovano
894faced79
Merge pull request #1008 from github/edoardo/no-fail-12.12
...
Avoid failure if `@types/node` is already 12.12
2022-03-30 17:52:20 +01:00
Edoardo Pirovano
a9095cefc9
Avoid failure if @types/node is already 12.12
2022-03-30 16:58:25 +01:00
Henry Mercer
4d339ae3ec
Merge pull request #1009 from github/henrymercer/run-pr-checks-on-v2-branch
...
Run all PR checks on the `v2` branch
2022-03-30 16:53:09 +01:00
Henry Mercer
381ea36211
Delete unused workflows
2022-03-30 16:00:52 +01:00
Henry Mercer
e769c2dd6e
Run all PR checks on v2 branch
2022-03-30 15:59:09 +01:00
Edoardo Pirovano
bae3a3acab
Merge pull request #1005 from github/mergeback/v2.1.6-to-main-28eead24
...
Mergeback v2.1.6 refs/heads/v2 into main
2022-03-30 14:27:22 +01:00
github-actions[bot]
bcd5c027de
Update checked-in dependencies
2022-03-30 11:55:38 +00:00
Chris Gavin
9885f86fab
Re-enable waiting for processing by default, using the new API semantics.
2022-03-30 12:24:59 +01:00
github-actions[bot]
ee3341a9d8
Update changelog and version after v2.1.6
2022-03-30 11:13:37 +00:00
Edoardo Pirovano
28eead2408
Merge pull request #1004 from github/update-v2.1.6-bfe9e810
...
Merge main into v2
2022-03-30 12:12:52 +01:00
Edoardo Pirovano
a4da970395
Run workflow also on v2 branch
2022-03-30 11:47:41 +01:00
Edoardo Pirovano
34a1681e50
Fix location of changelog entry
2022-03-30 11:11:17 +01:00
github-actions[bot]
8833977736
Update changelog for v2.1.6
2022-03-30 09:58:37 +00:00
Edoardo Pirovano
bfe9e81020
Merge pull request #1003 from github/edoardo/fix-workflow
...
Fix typos in release workflow
2022-03-30 10:56:28 +01:00
Edoardo Pirovano
1d58cc1f27
Fix typos in release workflow
2022-03-30 10:28:34 +01:00
Edoardo Pirovano
d8576e34bf
Merge pull request #990 from github/edoardo/2.8.4-bump
...
Bump default CodeQL version to 2.8.4
2022-03-29 17:34:59 +01:00
Edoardo Pirovano
f1060fbba0
Bump default CodeQL version to 2.8.4
2022-03-29 16:55:25 +01:00
Henry Mercer
af34c6da92
Merge pull request #1002 from github/henrymercer/update-changelog-rewriting
...
Update changelog rewriting step to match v2+ only changelog notes
2022-03-29 16:50:35 +01:00
Henry Mercer
282b607642
Update changelog rewriting step to match v2+ only release notes
2022-03-29 16:10:02 +01:00
Henry Mercer
f0e2f3c053
Merge pull request #1001 from github/henrymercer/pr-check-validate-node-12-build
...
Add PR check to validate compatibility with Node 12
2022-03-29 14:27:01 +01:00
Henry Mercer
73ba7ffb48
Merge branch 'main' into henrymercer/pr-check-validate-node-12-build
2022-03-29 13:27:16 +01:00
Henry Mercer
2f4dd4bb41
Use git add --all .
2022-03-29 13:27:03 +01:00
Henry Mercer
8237e85158
Merge pull request #1000 from github/henrymercer/bump-node-js-to-v16
...
Run Actions on Node 16
2022-03-29 13:07:18 +01:00
Henry Mercer
eea7cf19ff
Merge branch 'main' into henrymercer/bump-node-js-to-v16
2022-03-29 12:41:55 +01:00
Edoardo Pirovano
fdc2a903c1
Merge pull request #997 from cdivitotawela/python2-fix
...
Fix python_setup/install_tool.sh when `python2` not present
2022-03-29 12:15:26 +01:00
Henry Mercer
c22162c09d
Merge branch 'main' into henrymercer/bump-node-js-to-v16
2022-03-29 11:59:06 +01:00
Henry Mercer
01c72238c1
Add v2 only prefix to changelog note
2022-03-29 11:58:14 +01:00
Rasmus Wriedt Larsen
63b2636c23
Merge branch 'main' into python2-fix
2022-03-29 10:56:20 +02:00
Edoardo Pirovano
0ed0799824
Merge pull request #999 from github/edoardo/reenable-atm
...
Start running ATM queries again
2022-03-28 17:06:53 -04:00
Henry Mercer
9e403590f4
Improve code comments
2022-03-28 18:02:19 +01:00
Henry Mercer
45b96c3de6
Add PR check to validate compatibility with Node 12
2022-03-28 16:40:01 +01:00
Henry Mercer
9a709c116e
Add changelog note
2022-03-28 16:39:46 +01:00
Henry Mercer
43c9f26143
Bump version to 2.1.6
2022-03-28 14:39:00 +01:00
Henry Mercer
b949e494e4
Upgrade Node type definitions
2022-03-28 14:39:00 +01:00
Henry Mercer
3d23aade46
Use Node.js v16 in all Actions
2022-03-28 14:39:00 +01:00
Edoardo Pirovano
d625a00cee
Start running ATM queries again
2022-03-28 09:06:45 +01:00
Chaminda Divitotawela
077ec096bb
#996 : Fix python_setup/install_tool.sh
...
When the script executed on a runner which does not have python2, script incorrectly execute the code inside the if condition. This script runs using /bin/sh in Ubuntu and cause the problem. Fix for this issue to use different syntax in output redirection.
Issue is reproduced using running the job on ubunutu container. Fix also verified in the action https://github.com/cdivitotawela/codeql-issue/actions/runs/2038007502
2022-03-28 07:23:31 +10:00
Henry Mercer
4d6e9c02ac
Merge pull request #995 from github/henrymercer/update-release-process
...
Update release process to maintain both v2 and v1 releases
2022-03-25 19:33:43 +00:00
Henry Mercer
839aa81918
Merge branch 'main' into henrymercer/update-release-process
2022-03-25 19:11:59 +00:00
Andrew Eisenberg
6d1f0a0357
Merge pull request #956 from github/aeisenberg/checkout-path-commitoid
...
Use the `checkout_path` for getting the commit oid
2022-03-25 11:02:54 -07:00
Andrew Eisenberg
88db5e75ec
Merge branch 'main' into aeisenberg/checkout-path-commitoid
2022-03-25 10:31:47 -07:00
Andrew Eisenberg
d068f5372a
Fix failing tests
2022-03-25 10:00:47 -07:00
Henry Mercer
044f112dc1
Update branch protection instructions
2022-03-25 15:24:54 +00:00
Henry Mercer
f7846479e6
Merge branch 'main' into henrymercer/update-release-process
2022-03-25 15:18:11 +00:00
Henry Mercer
d0bd80897c
Expose a more restrictive interface to the release script
...
Give the release script modes rather
than source and target branches
2022-03-25 15:17:17 +00:00
Henry Mercer
bed132dae4
Use a more restrictive sed pattern
2022-03-25 13:40:41 +00:00
Henry Mercer
9d26fe0cb3
Use source branch and target branch names consistently
2022-03-25 12:55:00 +00:00
Edoardo Pirovano
6e57bbac6c
Merge pull request #998 from github/edoardo/no-download-pack
...
Don't download packs when it isn't needed
2022-03-25 08:36:15 -04:00
Edoardo Pirovano
85cfdb24f4
Don't download packs when it isn't needed
2022-03-25 11:26:13 +00:00
Henry Mercer
df164705ad
Merge pull request #993 from github/dependabot/npm_and_yarn/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6
2022-03-24 18:50:32 +00:00
Henry Mercer
da7944b165
Update release process doc
2022-03-24 18:18:45 +00:00
Henry Mercer
33599909af
Avoid conflicts by reverting 1.x version num commit from last v1 release
2022-03-24 18:18:45 +00:00
Henry Mercer
f143182488
Add "Update dependencies" label to v1 release PR
2022-03-24 18:18:45 +00:00
Henry Mercer
0b037b4fcb
Add merging the v1 release PR to the checklist
2022-03-24 18:18:45 +00:00
Henry Mercer
1668e0a2bf
Only mention merging the mergeback PR in the checklist when relevant
2022-03-24 18:18:45 +00:00
Henry Mercer
bd4757cd6b
Update the changelog and version number in a single commit
2022-03-24 18:18:45 +00:00
Henry Mercer
5fb01dd153
Avoid commits with duplicate names during v2 to v1 backport
2022-03-24 18:18:45 +00:00
Henry Mercer
124e7d96a6
Stop versioning the runner
...
We no longer release the runner.
2022-03-24 18:18:45 +00:00
Henry Mercer
b8f3a377bf
Fix exception when there are no commits to merge
2022-03-24 18:18:45 +00:00
Henry Mercer
4b465cb3ce
Dump environment and GitHub context
2022-03-24 18:18:45 +00:00
Henry Mercer
d76b18254a
Add functionality for v2 -> v1 backports
2022-03-24 18:18:45 +00:00
Henry Mercer
33f749f1c9
Set up main -> v2, v2 -> v1, and v2 -> main merges
2022-03-24 18:18:45 +00:00
Henry Mercer
ccda44cac5
Handle missing author information when generating changelog
2022-03-24 18:18:45 +00:00
Henry Mercer
81827d3fc6
Use the person triggering the release workflow as the conductor
2022-03-24 18:18:45 +00:00
Henry Mercer
b386fd4443
Parameterize release branch workflow over source and target branches
2022-03-24 18:18:45 +00:00
Henry Mercer
2a7a517ea5
Remove unused repository_dispatch trigger
2022-03-24 18:18:45 +00:00
github-actions[bot]
ca5ed24270
Update checked-in dependencies
2022-03-24 16:36:41 +00:00
dependabot[bot]
fb22523acc
Bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 15:54:01 +00:00
Andrew Eisenberg
b887a2ce1e
Merge pull request #976 from aeisenberg/aeisenberg/timeout-45-min
...
Bump timeout to 45 minutes
2022-03-24 08:33:12 -07:00
Andrew Eisenberg
686c3a37f0
Merge branch 'main' into aeisenberg/timeout-45-min
2022-03-24 08:07:42 -07:00
Chuan-kai Lin
c9973ef56b
Merge pull request #992 from cklin/fix-codeql-version-field
...
Status reporting: fix codeql_version field name
2022-03-23 13:11:09 -07:00
Chuan-kai Lin
c3010cb18a
Status reporting: fix codeql_version field name
2022-03-23 11:32:03 -07:00
Henry Mercer
81bfc289f5
Merge pull request #989 from github/henrymercer/update-readme
...
Update README now build tracing is compatible with Windows 2022
2022-03-21 16:03:34 +00:00
Henry Mercer
5d72058994
Merge branch 'main' into aeisenberg/timeout-45-min
2022-03-21 15:37:09 +00:00
Henry Mercer
6de8537e54
Update README now build tracing is compatible with Windows 2022
2022-03-21 15:31:51 +00:00
Henry Mercer
1d81ec489b
Merge pull request #984 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions.
2022-03-21 13:43:13 +00:00
Henry Mercer
c592f89989
Merge branch 'main' into update-supported-enterprise-server-versions
2022-03-21 13:12:12 +00:00
Henry Mercer
f71aeef4dc
Merge pull request #988 from CommanderRoot/refactor/rm-deprecated-substr
...
refactor: replace deprecated String.prototype.substr()
2022-03-21 10:52:17 +00:00
Tobias Speicher
0a713019c3
refactor: replace deprecated String.prototype.substr()
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
2022-03-20 17:08:43 +01:00
GitHub
243ebf6e35
Update supported GitHub Enterprise Server versions.
2022-03-18 00:09:57 +00:00
Chuan-kai Lin
3886398541
Merge pull request #987 from cklin/report-versions
...
Include CodeQL CLI and action versions in status reports
2022-03-17 10:46:34 -07:00
Chuan-kai Lin
f60bb5cc38
Include CodeQL CLI and action versions in status reports
2022-03-17 10:07:29 -07:00
Chuan-kai Lin
d0ee2b4276
Merge pull request #983 from github/mergeback/v1.1.5-to-main-88347664
...
Mergeback v1.1.5 refs/heads/v1 into main
2022-03-15 14:51:17 -07:00
github-actions[bot]
34905f691e
Update checked-in dependencies
2022-03-15 19:57:13 +00:00
github-actions[bot]
ac7bd44c3b
1.1.6
2022-03-15 19:39:33 +00:00
github-actions[bot]
1457c164a9
Update changelog and version after v1.1.5
2022-03-15 19:39:31 +00:00
Chuan-kai Lin
8834766498
Merge pull request #982 from github/update-v1.1.5-5b59d878
...
Merge main into v1
2022-03-15 12:38:22 -07:00
github-actions[bot]
69a58ad266
1.1.5
2022-03-15 18:16:05 +00:00
Chuan-kai Lin
5b59d8784d
Merge pull request #978 from cklin/restore-ghes-compatibility
...
Restore compatibility with GHES 3.1
2022-03-15 09:29:23 -07:00
Chuan-kai Lin
ea5898d606
Restore compatibility with GHES 3.1: address code review comments
2022-03-14 15:44:16 -07:00
Chuan-kai Lin
39aa619399
Merge branch 'main' into restore-ghes-compatibility
2022-03-14 14:59:00 -07:00
Chuan-kai Lin
2190825ac9
Merge pull request #980 from github/edoardo/release-expected
...
Remove runner from expected release files
2022-03-14 14:40:57 -07:00
Edoardo Pirovano
e61a4b9c7c
Merge branch 'main' into edoardo/release-expected
2022-03-14 18:57:18 +00:00
Chuan-kai Lin
b74506c7c2
Merge pull request #974 from github/cklin/pr/2.8.3
...
Update default CodeQL bundle version to 2.8.3
2022-03-14 11:53:01 -07:00
Edoardo Pirovano
e27fa67f0f
Add changenote mentioning deprecation
2022-03-14 18:35:22 +00:00
Edoardo Pirovano
eb507cfac6
Remove runner from expected release files
2022-03-14 17:56:05 +00:00
Chuan-kai Lin
c33cdd74b3
Merge branch 'main' into cklin/pr/2.8.3
2022-03-14 09:19:25 -07:00
Chuan-kai Lin
aeefdce612
Restore compatibility with GHES 3.1
2022-03-14 08:20:27 -07:00
Andrew Eisenberg
761da7eb50
Merge pull request #968 from github/aeisenberg/required-checks
...
Add some instructions on how to regenerate required checks
2022-03-11 12:11:17 -08:00
Andrew Eisenberg
76c3e91b1f
Bump timeout to 45 minutes
...
With a 30 minute timeout, we were getting some cancelled runs.
This should fix it.
2022-03-11 11:45:45 -08:00
Henry Mercer
560edbc33e
Merge branch 'main' into aeisenberg/required-checks
2022-03-11 18:35:59 +00:00
Andrew Eisenberg
e64a215b41
Add name to workflow
2022-03-11 10:16:34 -08:00
Henry Mercer
e437ea1d38
Merge pull request #975 from github/henrymercer/bump-ml-powered-queries-to-0.1.0
...
Bump ML-powered queries to v0.1.0
2022-03-11 17:47:33 +00:00
Andrew Eisenberg
8ecc1fcbc4
Ignore "Update Supported Enterprise Server Versions"
2022-03-11 09:38:08 -08:00
Henry Mercer
0b3acf68ab
Bump ML-powered queries to v0.1.0
2022-03-11 15:04:07 +00:00
Arthur Baars
480ef7689f
Update default CodeQL bundle version to 2.8.3
2022-03-11 12:07:37 +01:00
Andrew Eisenberg
4e2634f2fd
Merge branch 'main' into aeisenberg/required-checks
2022-03-10 09:20:14 -08:00
Andrew Eisenberg
04d521d705
Avoid using sed, use --slurp instead
2022-03-09 11:07:16 -08:00
Andrew Eisenberg
cdf3c9d01e
Merge pull request #971 from github/aeisenberg/timeouts
...
Add a timeout of 30 min
2022-03-08 20:37:45 -08:00
Andrew Eisenberg
628afae9d3
Add a timeout of 30 min
...
For all CI jobs. Based on some eye-balling 30 minutes should be
enough time for all jobs to complete.
2022-03-08 14:57:35 -08:00
Andrew Eisenberg
111428ce06
Add some instructions on how to regenerate required checks
2022-03-08 10:19:32 -08:00
Andrew Eisenberg
d2fd19b7d7
Merge pull request #966 from github/mergeback/v1.1.4-to-main-f5d82270
...
Mergeback v1.1.4 refs/heads/v1 into main
2022-03-07 17:27:08 -08:00
github-actions[bot]
c825c24663
Update checked-in dependencies
2022-03-07 22:12:02 +00:00
github-actions[bot]
0e0e934038
1.1.5
2022-03-07 21:02:20 +00:00
github-actions[bot]
d430deb927
Update changelog and version after v1.1.4
2022-03-07 21:02:19 +00:00
Henning Makholm
f5d822707e
Merge pull request #965 from github/update-v1.1.4-308528ba
...
Merge main into v1
2022-03-07 22:01:06 +01:00
Henning Makholm
1f44993f56
Update CHANGELOG.md
2022-03-07 20:24:16 +01:00
Henning Makholm
701b6a5569
Update CHANGELOG.md
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-03-07 18:15:18 +01:00
Henning Makholm
e75fa83dde
Update CHANGELOG.md
2022-03-07 17:49:53 +01:00
Henning Makholm
a33ae09fb8
Update CHANGELOG.md
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-03-07 17:44:04 +01:00
github-actions[bot]
44198be781
1.1.4
2022-03-07 16:22:37 +00:00
Andrew Eisenberg
308528ba13
Merge pull request #958 from daniel-beck/fix-link
...
Fix link to docs
2022-03-04 10:48:08 -08:00
Chuan-kai Lin
939659ccd0
Merge pull request #959 from cklin/report-runner-os-arch
...
Add runner OS and arch to status report
2022-03-03 14:59:41 -08:00
Chuan-kai Lin
401a76f245
Add runner OS release to status report
2022-03-03 13:06:02 -08:00
Andrew Eisenberg
5e27f57127
Merge pull request #961 from github/dependabot/npm_and_yarn/actions/artifact-1.0.0
...
Bump @actions/artifact from 0.5.2 to 1.0.0
2022-03-03 11:23:57 -08:00
github-actions[bot]
4154eaf0e9
Update checked-in dependencies
2022-03-03 17:18:51 +00:00
dependabot[bot]
75e4d9f140
Bump @actions/artifact from 0.5.2 to 1.0.0
...
Bumps [@actions/artifact](https://github.com/actions/toolkit/tree/HEAD/packages/artifact ) from 0.5.2 to 1.0.0.
- [Release notes](https://github.com/actions/toolkit/releases )
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/artifact/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/@actions/io@1.0.0/packages/artifact )
---
updated-dependencies:
- dependency-name: "@actions/artifact"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-03 17:01:31 +00:00
Chuan-kai Lin
870dbaaebe
Use getRequiredEnvParam()
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-03-02 16:23:13 -08:00
Chuan-kai Lin
3615d8ac45
Add runner OS and arch to status report
2022-03-02 10:57:12 -08:00
Daniel Beck
47dd636fbc
Fix link to docs
2022-03-02 15:30:11 +01:00
Edoardo Pirovano
e4766c87d5
Merge pull request #957 from github/edoardo/reuse-codescanning-config
...
Second attempt to use `--codescanning-config` flag of CLI
2022-03-02 00:27:29 +00:00
Andrew Eisenberg
5c2600e559
Merge branch 'main' into aeisenberg/checkout-path-commitoid
2022-03-01 13:15:40 -08:00
Andrew Eisenberg
a92e8775d8
Use the checkout_path for getting the commit oid
...
This commit also adds a new integration check to verify this.
When running in test mode, payloads will not be uploaded. Instead, they
will be saved to disk so that they can be inspected later.
2022-03-01 12:40:52 -08:00
Edoardo Pirovano
527d5153ad
Bump version flag for using --codescanning-config flag
2022-03-01 14:34:53 +00:00
Edoardo Pirovano
07990f07e5
Revert "Revert "Use --codescanning-config flag of CLI""
...
This reverts commit 326e5118c5 .
2022-03-01 14:33:00 +00:00
Edoardo Pirovano
fa19286989
Merge pull request #954 from github/edoardo/expand-tests
...
Expand PR checks to cover `windows-2022`
2022-03-01 09:24:51 +00:00
Chris Gavin
b1c781d398
Merge pull request #955 from github/delete-results-directory
...
Delete the results directory in between runs.
2022-02-28 20:26:51 +00:00
Chris Gavin
938e0a0743
Add retryDelay and a type cast to make it work.
2022-02-28 19:42:58 +00:00
Chris Gavin
d63f798314
Retry directory deletion to avoid Windows file locking issues.
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-02-28 18:55:45 +00:00
Chris Gavin
86940df49f
Delete the results directory in between runs.
2022-02-28 18:55:45 +00:00
Henning Makholm
25313901b7
Merge pull request #950 from github/hmakholm/pr/2.8.2
...
Update default CodeQL bundle version to 2.8.2
2022-02-28 19:11:10 +01:00
Edoardo Pirovano
8ec6a84629
Expand PR checks to cover windows-2022
2022-02-28 15:39:34 +00:00
Henning Makholm
162ecaff35
Update default CodeQL bundle version to 2.8.2
2022-02-25 14:09:56 +01:00
Henry Mercer
117a67b074
Merge pull request #949 from github/dependabot/npm_and_yarn/removeNPMAbsolutePaths-3.0.0
...
Bump removeNPMAbsolutePaths from 2.0.0 to 3.0.0
2022-02-24 18:49:56 +00:00
github-actions[bot]
0da815296a
Update checked-in dependencies
2022-02-24 17:03:29 +00:00
dependabot[bot]
4e02f8e87a
Bump removeNPMAbsolutePaths from 2.0.0 to 3.0.0
...
Bumps [removeNPMAbsolutePaths](https://github.com/juanjoDiaz/removeNPMAbsolutePaths ) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/juanjoDiaz/removeNPMAbsolutePaths/releases )
- [Commits](https://github.com/juanjoDiaz/removeNPMAbsolutePaths/compare/v2.0.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: removeNPMAbsolutePaths
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-24 17:01:55 +00:00
Edoardo Pirovano
438f654919
Merge pull request #948 from github/edoardo/revert-windows-11
...
Revert "Merge pull request #869 from github/edoardo/windows-11-error"
2022-02-24 14:36:46 +00:00
Edoardo Pirovano
42af7232c3
Revert "Merge pull request #869 from github/edoardo/windows-11-error"
...
This reverts commit faa9ba7363 , reversing
changes made to 71112ab35d .
2022-02-24 11:29:26 +00:00
Andrew Eisenberg
360221eece
Merge pull request #947 from github/mergeback/v1.1.3-to-main-75f07e7a
...
Mergeback v1.1.3 refs/heads/v1 into main
2022-02-23 14:09:47 -08:00
github-actions[bot]
9169d2461f
Update checked-in dependencies
2022-02-23 19:50:02 +00:00
github-actions[bot]
949eeb2dcf
1.1.4
2022-02-23 19:33:33 +00:00
github-actions[bot]
507795f5c4
Update changelog and version after v1.1.3
2022-02-23 19:33:31 +00:00
Andrew Eisenberg
75f07e7ab2
Merge pull request #946 from github/update-v1.1.3-d7ad71d8
...
Merge main into v1
2022-02-23 11:32:12 -08:00
Andrew Eisenberg
42c72a10c8
Update runner version
...
For some reason, the runner was still on 1.0.x.
2022-02-23 11:02:14 -08:00
Andrew Eisenberg
fa57ef0579
Update changelog
2022-02-23 09:29:10 -08:00
github-actions[bot]
4b66d317a4
1.1.3
2022-02-23 17:13:38 +00:00
Edoardo Pirovano
d7ad71d803
Merge pull request #938 from github/respect-end-tracing
...
Respect `end-tracing` script instead of deleting one variable
2022-02-23 17:08:20 +00:00
Edoardo Pirovano
afbddca263
Improve error handling for ending tracing
2022-02-23 16:43:38 +00:00
Edoardo Pirovano
c592525a67
Respect end-tracing script instead of deleting one variable
2022-02-23 16:21:35 +00:00
Edoardo Pirovano
f14beebc58
Merge pull request #942 from github/aeisenberg/user-error
...
Add `UserError`
2022-02-23 11:21:14 +00:00
Andrew Eisenberg
3d93bb2ac9
Add UserError
...
This commit adds a `UserError` class that should be thrown when the
cause of an error is fundamentally from user configuration.
When sending status reports, avoid sending a `failure` for `UserError`s.
This will prevent our diagnostics from pinging us for errors outside of
our control.
2022-02-17 11:47:31 -08:00
Henry Mercer
040feefecf
Merge pull request #941 from github/mergeback/v1.1.2-to-main-d39d5d5c
...
Mergeback v1.1.2 refs/heads/v1 into main
2022-02-17 19:36:22 +00:00
github-actions[bot]
4d875a922c
Update checked-in dependencies
2022-02-17 18:13:39 +00:00
github-actions[bot]
cbc9c75e8f
1.1.3
2022-02-17 17:57:14 +00:00
github-actions[bot]
65174f238c
Update changelog and version after v1.1.2
2022-02-17 17:57:09 +00:00
Henry Mercer
d39d5d5c97
Merge pull request #939 from github/update-v1.1.2-fe6fb6f2
...
Merge main into v1
2022-02-17 17:55:54 +00:00
github-actions[bot]
da54d7bd9f
1.1.2
2022-02-17 16:35:22 +00:00
Henry Mercer
fe6fb6f21b
Merge pull request #937 from github/henrymercer/revert-node-16-upgrade
...
Revert Node.js v16 upgrade
2022-02-17 16:33:46 +00:00
Henry Mercer
72f407c72c
Merge branch 'main' into henrymercer/revert-node-16-upgrade
2022-02-17 15:30:43 +00:00
Henry Mercer
cefec5bcb7
Merge pull request #935 from github/mergeback/v1.1.1-to-main-ec300a31
...
Mergeback v1.1.1 refs/heads/v1 into main
2022-02-17 15:21:01 +00:00
Henry Mercer
070bf9ae1c
Add changelog note
2022-02-17 13:56:09 +00:00
Henry Mercer
74dd782377
Merge branch 'main' into mergeback/v1.1.1-to-main-ec300a31
2022-02-17 13:55:34 +00:00
Henry Mercer
78e09bd811
Merge pull request #936 from edoardopirovano/revert-codescanning-config
...
Revert "Use `--codescanning-config` flag of CLI"
2022-02-17 13:55:06 +00:00
Henry Mercer
72b5ce4f22
Revert "Upgrade Node type definitions"
...
This reverts commit c72c200f52 .
2022-02-17 13:52:07 +00:00
Henry Mercer
21c48e7a01
Revert "Use Node.js v16 in all Actions"
...
This reverts commit 34c777f8d0 .
2022-02-17 13:51:03 +00:00
Edoardo Pirovano
326e5118c5
Revert "Use --codescanning-config flag of CLI"
...
This reverts commit 0d87b8c615 .
2022-02-17 13:05:55 +00:00
github-actions[bot]
b83cccd8a6
Update checked-in dependencies
2022-02-17 12:50:43 +00:00
github-actions[bot]
9b2dafda62
1.1.2
2022-02-17 12:29:38 +00:00
github-actions[bot]
770ee8972e
Update changelog and version after v1.1.1
2022-02-17 12:29:36 +00:00
Henry Mercer
ec300a3159
Merge pull request #934 from github/update-v1.1.1-6a961c08
...
Merge main into v1
2022-02-17 12:28:17 +00:00
github-actions[bot]
c9f98d45c1
1.1.1
2022-02-17 12:00:54 +00:00
Henry Mercer
6a961c08f2
Merge pull request #931 from github/henrymercer/fix-flaky-tests
...
Bump minimum supported CodeQL version to 2.4.5 to address flaky tests
2022-02-17 11:49:54 +00:00
Henry Mercer
db24c88f31
Merge branch 'main' into henrymercer/fix-flaky-tests
2022-02-17 10:50:19 +00:00
Edoardo Pirovano
c4e058a6a3
Merge pull request #830 from edoardopirovano/cli-config-files
...
Use `--codescanning-config` flag of CLI
2022-02-16 17:05:16 +00:00
Edoardo Pirovano
0d87b8c615
Use --codescanning-config flag of CLI
2022-02-16 13:34:47 +00:00
Henry Mercer
49c1e2f719
Add changelog note
2022-02-16 13:32:12 +00:00
Henry Mercer
13c841aa39
Bump minimum supported CodeQL version to 2.4.5
...
This is the earliest CodeQL version supported by GHES.
Bumping to this version resolves some flaky tests caused by the "We
still have not reached idleness" deadlock, as this deadlock is fixed in
2.4.5.
2022-02-16 12:46:47 +00:00
Henry Mercer
ef024e702c
Merge pull request #930 from github/henrymercer/open-update-supported-enterprise-versions-as-draft
...
Open "Update supported enterprise versions" PR as draft
2022-02-16 12:42:23 +00:00
Henry Mercer
1ed61a37b6
Merge branch 'main' into henrymercer/open-update-supported-enterprise-versions-as-draft
2022-02-16 11:55:10 +00:00
Henry Mercer
abba98ef38
Merge pull request #929 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions.
2022-02-16 11:54:53 +00:00
Henry Mercer
9d794b2b2e
Open "Update supported enterprise versions" PR as draft
...
Actions will not run checks on PRs opened by Actions, so opening the PR as draft allows us to trigger PR checks by marking the PR as ready for review.
2022-02-16 10:42:01 +00:00
GitHub
7e1ca4f093
Update supported GitHub Enterprise Server versions.
2022-02-16 00:07:46 +00:00
Henry Mercer
621c8c7115
Merge pull request #928 from github/henrymercer/add-ml-powered-query-enablement-to-analyze-status-report
...
Add ML-powered query enablement info to analyze finish status report
2022-02-15 19:11:12 +00:00
Henry Mercer
feb711fe0b
Merge branch 'main' into henrymercer/add-ml-powered-query-enablement-to-analyze-status-report
2022-02-15 17:31:07 +00:00
Robert
609ca1e4cf
Merge pull request #927 from github/robertbrignull/remote_database_upload_flag
...
Remove check of database uploads feature flag
2022-02-15 17:24:50 +00:00
Robert
4c266bab6d
Merge branch 'main' into robertbrignull/remote_database_upload_flag
2022-02-15 15:13:33 +00:00
Henry Mercer
ec47ce3982
Merge branch 'main' into henrymercer/add-ml-powered-query-enablement-to-analyze-status-report
2022-02-15 15:09:02 +00:00
Alexander Eyers-Taylor
e72dfad837
Merge pull request #925 from github/alexet/update-2.8.1
...
Update bundle version to 2.8.1
2022-02-15 15:07:58 +00:00
Henry Mercer
bcdaad245b
Add ML-powered query enablement info to analyze finish status report
2022-02-15 15:04:23 +00:00
Robert
8aa32bd9c9
Remove check of database uploads feature flag
2022-02-15 14:10:33 +00:00
alexet
d8ee3b9d09
Update bundle version to 2.8.1
2022-02-14 19:10:33 +00:00
Henry Mercer
2c6b76bc5a
Merge pull request #923 from github/mergeback/v1.1.0-to-main-474bbf07
...
Mergeback v1.1.0 refs/heads/v1 into main
2022-02-11 12:33:18 +00:00
github-actions[bot]
19debd424c
Update checked-in dependencies
2022-02-11 12:12:30 +00:00
github-actions[bot]
3fdc5a23fa
1.1.1
2022-02-11 11:58:00 +00:00
github-actions[bot]
68365ec944
Update changelog and version after v1.1.0
2022-02-11 11:57:58 +00:00
Henry Mercer
474bbf07f9
Merge pull request #922 from github/update-v1.1.0-3d2ad0b9
...
Merge main into v1
2022-02-11 11:56:36 +00:00
github-actions[bot]
58f66fa60a
1.1.0
2022-02-11 11:24:14 +00:00
Henry Mercer
3d2ad0b9c8
Merge pull request #919 from github/henrymercer/rename-status-report-field
...
Rename ML powered JS queries status report field
2022-02-10 10:44:15 +00:00
Henry Mercer
7e15b9612a
Merge branch 'main' into henrymercer/rename-status-report-field
2022-02-09 13:32:57 +00:00
Henry Mercer
7f9dca2982
Merge pull request #918 from github/henrymercer/windows-2022-tracing-notices
...
Update changelog and README with build tracing compatibility info
2022-02-09 13:32:18 +00:00
Henry Mercer
87bfa0ea7a
Rename ML powered JS queries status report field
...
The new name `ml_powered_javascript_queries` is more consistent with
status report fields for analysis and interpretation duration metrics.
This isn't a breaking change since the old name never made it into the
GitHub API.
2022-02-09 12:56:31 +00:00
Henry Mercer
a6d606becc
Update changelog and README with build tracing compatibility info
2022-02-09 12:47:13 +00:00
Henry Mercer
f2027c51f7
Merge pull request #916 from github/dependabot/npm_and_yarn/runner/simple-get-3.1.1
...
Bump simple-get from 3.1.0 to 3.1.1 in /runner
2022-02-08 20:59:28 +00:00
dependabot[bot]
70e63f4b08
Bump simple-get from 3.1.0 to 3.1.1 in /runner
...
Bumps [simple-get](https://github.com/feross/simple-get ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/feross/simple-get/releases )
- [Commits](https://github.com/feross/simple-get/compare/v3.1.0...v3.1.1 )
---
updated-dependencies:
- dependency-name: simple-get
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-08 18:33:09 +00:00
Henry Mercer
88073a5f6e
Merge pull request #909 from github/henrymercer/bump-node-js-to-v16
...
Use Node.js v16 in all Actions
2022-02-08 18:32:24 +00:00
Henry Mercer
eb172af46d
Merge branch 'main' into henrymercer/bump-node-js-to-v16
2022-02-08 17:06:42 +00:00
Henry Mercer
a777a982cb
Merge pull request #917 from github/henrymercer/fix-windows-latest-ci-jobs
...
Fix CI jobs that broke as a result of `windows-latest` being upgraded to Windows Server 2022
2022-02-08 17:05:36 +00:00
Henry Mercer
8f27994474
Add changelog note
2022-02-08 16:19:47 +00:00
Henry Mercer
8e2954c3fa
Bump to v1.1.0
...
The upgrade to Node.js v16 warrants a minor version bump.
2022-02-08 13:55:23 +00:00
Henry Mercer
8768b0f5a3
Remove stub type definitions
2022-02-08 13:55:23 +00:00
Henry Mercer
c72c200f52
Upgrade Node type definitions
2022-02-08 13:55:23 +00:00
Henry Mercer
34c777f8d0
Use Node.js v16 in all Actions
...
This is now in active LTS status.
2022-02-08 13:55:23 +00:00
Henry Mercer
8dd2b9ac2f
Fix typo in Python package installation CI job
2022-02-08 13:50:46 +00:00
Henry Mercer
b8047e5610
Use windows-2019 for CI jobs involving build tracing
...
Build tracing currently does not support Windows 2022, so use
`windows-2019` instead of`windows-latest`.
2022-02-08 13:29:20 +00:00
Chuan-kai Lin
edd03fbd2c
Merge pull request #914 from github/mergeback/v1.0.32-to-main-2b46439d
...
Mergeback v1.0.32 refs/heads/v1 into main
2022-02-07 11:23:20 -08:00
github-actions[bot]
f9607205db
Update checked-in dependencies
2022-02-07 18:45:41 +00:00
github-actions[bot]
b870f13d6d
1.0.33
2022-02-07 18:22:30 +00:00
github-actions[bot]
2890d306c3
Update changelog and version after v1.0.32
2022-02-07 18:22:28 +00:00
Chuan-kai Lin
2b46439dd5
Merge pull request #913 from github/update-v1.0.32-4eb03fb6
...
Merge main into v1
2022-02-07 10:21:10 -08:00
github-actions[bot]
6d8390b7cb
1.0.32
2022-02-07 17:21:16 +00:00
Henry Mercer
4eb03fb6f3
Merge pull request #907 from github/henrymercer/report-ml-powered-query-enablement
...
Report ML-powered query enablement in the `init` status report
2022-02-07 17:16:25 +00:00
Henry Mercer
03c64ef07d
Add more documentation for ML-powered JS queries status report
...
Also be more explicit about which version strings are reportable in
the code.
2022-02-07 16:46:53 +00:00
Henry Mercer
cc622a02a9
Merge branch 'main' into henrymercer/report-ml-powered-query-enablement
2022-02-07 14:39:20 +00:00
Henry Mercer
c95a3d854c
Limit cardinality of ML-powered JS queries status report
...
Some platforms that ingest this status report charge based on the
cardinality of the fields, so here we restrict the version strings we
support to a fixed set.
2022-02-07 14:36:40 +00:00
Henry Mercer
f888be73ce
Nit: Simplify code with optional chaining
2022-02-07 14:24:40 +00:00
Chuan-kai Lin
16d4068732
Merge pull request #911 from github/cklin/codeql-cli-2.8.0
...
Update default CodeQL version to 2.8.0
2022-02-04 13:03:16 -08:00
Chuan-kai Lin
aab545260e
Update default CodeQL version to 2.8.0
2022-02-04 11:24:40 -08:00
Henry Mercer
501fe7ff12
Update getMlPoweredJsQueriesStatus doc
2022-02-04 17:16:25 +00:00
Henry Mercer
ad40e4a8f8
Merge branch 'main' into henrymercer/report-ml-powered-query-enablement
2022-02-04 16:38:18 +00:00
Henry Mercer
537b2f873a
Add "multiple" report for ML-powered JS query enablement
...
When multiple ML-powered JS packs are in scope (an unsupported
scenario), the status report is "multiple".
2022-02-04 16:37:26 +00:00
Henry Mercer
9f32fc9b9d
Only add ML-powered queries pack if the user didn't manually request it
2022-02-04 16:34:17 +00:00
Thomas Horstmeyer
904d0acf90
Merge pull request #858 from github/use-better-base-sha
...
Declare the merge base as base for code scanning comparisons
2022-02-04 12:37:55 +00:00
Thomas Horstmeyer
9b14aa7c84
Merge branch 'main' into use-better-base-sha
2022-02-04 12:04:41 +00:00
Henry Mercer
1cddec9558
Add ML-powered queries enablement to init status report
...
We report this information in the `init` status report rather than the
`analyze` status report so we can gather data about timeouts.
2022-02-03 16:29:28 +00:00
Henry Mercer
a005206838
Convert status report comments to documentation
2022-02-03 11:52:49 +00:00
Henry Mercer
ff33f031e8
Merge pull request #822 from github/dependabot/npm_and_yarn/ava/typescript-3.0.1
...
Upgrade AVA to v4
2022-02-02 18:01:27 +00:00
Henry Mercer
6a6a3203dd
Merge branch 'main' into dependabot/npm_and_yarn/ava/typescript-3.0.1
2022-02-02 17:24:20 +00:00
Henry Mercer
942b34d547
Merge pull request #906 from github/aibaars/fix-typo
...
Fix typo in error message
2022-02-02 16:25:19 +00:00
Thomas Horstmeyer
3469c69bba
Merge branch 'main' into use-better-base-sha
2022-02-02 13:52:13 +00:00
Arthur Baars
d57c2761c9
Fix typo in error message
2022-02-02 13:51:48 +01:00
Henry Mercer
6081b90eae
Merge pull request #905 from github/henrymercer/fix-changelog
...
Fix changelog
2022-02-02 12:02:44 +00:00
Henry Mercer
78eb2c9c00
Fix changelog
...
Move a couple of entries for #889 that should have been in the
unreleased section but were inadvertently moved into the 1.0.31
release.
2022-02-02 11:13:24 +00:00
Andrew Eisenberg
b2af0740e4
Remove security-events: write from tests
...
This is not necessary.
2022-02-01 19:17:15 -08:00
Andrew Eisenberg
77194581b7
Merge pull request #904 from cw-acroteau/add-ref-input
...
Add ref input
2022-02-01 19:15:33 -08:00
cw-acroteau
1a5b604256
Merge branch 'main' into add-ref-input
2022-02-01 20:28:42 -05:00
cw-acroteau
9bfa05fb03
Merge pull request #3 from aeisenberg/aeisenberg/add-ref-input
...
Update the description of new inputs
2022-02-01 17:19:33 -05:00
Henry Mercer
e9aa623c5d
Merge branch 'main' into dependabot/npm_and_yarn/ava/typescript-3.0.1
2022-02-01 18:57:02 +00:00
Henry Mercer
ce89f1b611
Upgrade Ava to v4
2022-02-01 18:56:42 +00:00
Andrew Eisenberg
57f34a1569
Merge pull request #902 from github/aeisenberg/permissions
...
Add a permissions block for generated workflows
2022-02-01 10:54:05 -08:00
Andrew Eisenberg
941e382c65
Merge branch 'main' into aeisenberg/permissions
2022-02-01 10:37:13 -08:00
Andrew Eisenberg
6c6b8c33c4
Update the description of new inputs
...
These new inputs will not work on pull requests from forks.
2022-02-01 10:34:45 -08:00
Andrew Eisenberg
13f97c81fe
Merge branch 'aeisenberg/permissions' into add-ref-input
2022-02-01 10:31:14 -08:00
Andrew Eisenberg
36419a79c1
Avoid sending status reports in test mode
2022-02-01 10:12:35 -08:00
github-actions[bot]
9a40cc5274
Update checked-in dependencies
2022-02-01 17:46:08 +00:00
Thomas Horstmeyer
ec0b3ae7ff
remove some debug info
2022-02-01 15:39:11 +00:00
Thomas Horstmeyer
e836f97769
Detect merge base as base_sha for upload
2022-02-01 15:38:43 +00:00
dependabot[bot]
11639426e6
Bump @ava/typescript from 2.0.0 to 3.0.1
...
Bumps [@ava/typescript](https://github.com/avajs/typescript ) from 2.0.0 to 3.0.1.
- [Release notes](https://github.com/avajs/typescript/releases )
- [Commits](https://github.com/avajs/typescript/compare/v2.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: "@ava/typescript"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-01 13:33:29 +00:00
Henry Mercer
a9da9fc959
Merge pull request #901 from github/dependabot/npm_and_yarn/long-5.2.0
...
Bump long from 4.0.0 to 5.2.0
2022-02-01 13:31:41 +00:00
Henry Mercer
ae8741006b
Merge branch 'main' into dependabot/npm_and_yarn/long-5.2.0
2022-02-01 11:11:25 +00:00
Alex Croteau
72f9a88bc5
Regenerates test workflows
2022-01-31 20:07:55 -05:00
Alex Croteau
9f36b75178
Splits integration tests
2022-01-31 20:06:18 -05:00
Alex Croteau
dfe2bc4e49
Changes to commit hash in main branch
2022-01-31 20:06:18 -05:00
Alex Croteau
63d0c7856c
Fixes integration tests referred repo
2022-01-31 20:06:18 -05:00
Alex Croteau
3cc87990f0
Updates javascript files
2022-01-31 20:06:18 -05:00
Alex Croteau
260b4d5dc4
Fixes integration test
2022-01-31 20:06:18 -05:00
Alex Croteau
1bfa9ace60
Adds integration test and fixes linting
2022-01-31 20:06:18 -05:00
Alex Croteau
1eaaf07b91
Adds check on inputs and compiled files
2022-01-31 20:06:17 -05:00
Alex Croteau
5916f9896d
Applies recomendation in upload-sarif/action.yml
2022-01-31 20:06:17 -05:00
cw-acroteau
0dd4dbf9d9
Apply documentation suggestions from code review
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-01-31 20:06:17 -05:00
Alex Croteau
980fd4ed38
Adds ref and SHA as inputs, and sarif-id as output
2022-01-31 20:06:17 -05:00
Andrew Eisenberg
e9aa2c6f62
Add a permissions block for generated workflows
...
Ensure that all workflows are able to write security events.
2022-01-31 16:11:00 -08:00
Andrew Eisenberg
e9d52340a3
Merge pull request #900 from github/mergeback/v1.0.31-to-main-1a927e93
...
Mergeback v1.0.31 refs/heads/v1 into main
2022-01-31 13:36:54 -08:00
github-actions[bot]
392931027a
Update checked-in dependencies
2022-01-31 18:36:27 +00:00
dependabot[bot]
ba2b46d53e
Bump long from 4.0.0 to 5.2.0
...
Bumps [long](https://github.com/dcodeIO/long.js ) from 4.0.0 to 5.2.0.
- [Release notes](https://github.com/dcodeIO/long.js/releases )
- [Commits](https://github.com/dcodeIO/long.js/compare/4.0.0...v5.2.0 )
---
updated-dependencies:
- dependency-name: long
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-31 18:32:15 +00:00
github-actions[bot]
a602dbedb7
Update checked-in dependencies
2022-01-31 17:42:59 +00:00
Andrew Eisenberg
66777347f6
Merge branch 'main' into mergeback/v1.0.31-to-main-1a927e93
2022-01-31 08:42:20 -08:00
github-actions[bot]
ce6e94b1b8
1.0.32
2022-01-31 16:41:57 +00:00
github-actions[bot]
30790fe430
Update changelog and version after v1.0.31
2022-01-31 16:41:55 +00:00
Andrew Eisenberg
1a927e9307
Merge pull request #899 from github/update-v1.0.31-3a741b6c
...
Merge main into v1
2022-01-31 08:40:43 -08:00
Henry Mercer
ea2ef8554d
Merge pull request #893 from github/dependabot/npm_and_yarn/trim-off-newlines-1.0.3
...
Bump trim-off-newlines from 1.0.2 to 1.0.3
2022-01-31 16:26:49 +00:00
github-actions[bot]
bbb9c53c65
1.0.31
2022-01-31 16:08:02 +00:00
Henry Mercer
9664bae55e
Merge branch 'main' into dependabot/npm_and_yarn/trim-off-newlines-1.0.3
2022-01-31 15:59:28 +00:00
Henry Mercer
3a741b6cf5
Merge pull request #892 from github/dependabot/npm_and_yarn/node-fetch-2.6.7
...
Bump node-fetch from 2.6.1 to 2.6.7
2022-01-31 15:48:18 +00:00
Henry Mercer
1498bce660
Merge branch 'main' into dependabot/npm_and_yarn/node-fetch-2.6.7
2022-01-31 14:51:48 +00:00
Henry Mercer
c260382f36
Merge pull request #894 from github/dependabot/npm_and_yarn/sinon-13.0.0
...
Bump sinon from 11.1.2 to 13.0.0
2022-01-31 14:51:33 +00:00
github-actions[bot]
6410c0691e
Update checked-in dependencies
2022-01-29 01:49:46 +00:00
github-actions[bot]
8e07ec6ce2
Update checked-in dependencies
2022-01-29 01:33:45 +00:00
github-actions[bot]
c337e5f2f3
Update checked-in dependencies
2022-01-29 01:21:58 +00:00
dependabot[bot]
9673b562d9
Bump sinon from 11.1.2 to 13.0.0
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 11.1.2 to 13.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v11.1.2...v13.0.0 )
---
updated-dependencies:
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-29 01:16:14 +00:00
dependabot[bot]
253bc84963
Bump trim-off-newlines from 1.0.2 to 1.0.3
...
Bumps [trim-off-newlines](https://github.com/stevemao/trim-off-newlines ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/stevemao/trim-off-newlines/releases )
- [Commits](https://github.com/stevemao/trim-off-newlines/compare/v1.0.2...v1.0.3 )
---
updated-dependencies:
- dependency-name: trim-off-newlines
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-29 01:15:48 +00:00
dependabot[bot]
bc4366e948
Bump node-fetch from 2.6.1 to 2.6.7
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-29 01:15:47 +00:00
Andrew Eisenberg
3b831aafd9
Merge pull request #885 from github/dependabot/npm_and_yarn/runner/node-fetch-2.6.7
...
Bump node-fetch from 2.6.1 to 2.6.7 in /runner
2022-01-28 17:15:15 -08:00
Andrew Eisenberg
14b1fecf33
Merge branch 'main' into dependabot/npm_and_yarn/runner/node-fetch-2.6.7
2022-01-28 15:42:46 -08:00
Robin Neatherway
5e23536180
Merge pull request #887 from github/rneatherway/content-type
...
Set contentType for database uploads
2022-01-25 18:40:57 +00:00
Robin Neatherway
5f30e2466f
Merge branch 'rneatherway/content-type' of github.com:github/codeql-action into rneatherway/content-type
2022-01-25 17:17:21 +00:00
Andrew Eisenberg
05981c5829
Merge branch 'main' into dependabot/npm_and_yarn/runner/node-fetch-2.6.7
2022-01-25 08:57:02 -08:00
Robin Neatherway
486633d442
Try string literal key
2022-01-25 16:33:09 +00:00
Robin Neatherway
d6360c9075
Merge branch 'main' into rneatherway/content-type
2022-01-25 15:21:13 +00:00
Robin Neatherway
d3a0787934
Merge pull request #886 from github/rneatherway/remove-old-upload-path
...
Remove old upload path
2022-01-25 14:08:16 +00:00
Robin Neatherway
e13c8bbfb7
Merge branch 'main' into rneatherway/remove-old-upload-path
2022-01-25 12:36:23 +00:00
Andrew Eisenberg
1c9a1f5d01
Merge pull request #888 from github/aeisenberg/remove-experiemental-message
...
Remove `experimental` warning message for custom packs
2022-01-24 17:03:09 -08:00
Andrew Eisenberg
1f7dab4ba2
Merge branch 'main' into aeisenberg/remove-experiemental-message
2022-01-24 13:30:45 -08:00
Andrew Eisenberg
8a36468d11
Merge pull request #882 from github/aeisenberg/better-error
...
Ensure loadApiError is caught
2022-01-24 12:05:09 -08:00
Andrew Eisenberg
f8c38c1af3
Update changelog
2022-01-24 09:54:17 -08:00
Robin Neatherway
10249d1591
Update tests to remove feature flag
2022-01-24 17:53:09 +00:00
Andrew Eisenberg
e6bcd71529
Remove experimental warning message for custom packs
2022-01-24 09:40:46 -08:00
Andrew Eisenberg
806fc12eb2
Reword changelog entry and add back test
2022-01-24 09:25:52 -08:00
Andrew Eisenberg
ba352d365b
Merge branch 'main' into aeisenberg/better-error
2022-01-24 08:56:14 -08:00
Robin Neatherway
751af2a9e3
Set contentType for database uploads
2022-01-24 15:54:46 +00:00
Robin Neatherway
1a686e7d76
Remove old upload path
...
The `useUploadDomain` approach is now fully enabled
2022-01-24 15:47:08 +00:00
dependabot[bot]
0479586f61
Bump node-fetch from 2.6.1 to 2.6.7 in /runner
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-24 13:34:40 +00:00
Edoardo Pirovano
708446c6e4
Merge pull request #884 from github/mergeback/v1.0.30-to-main-8b37404d
...
Mergeback v1.0.30 refs/heads/v1 into main
2022-01-24 13:33:55 +00:00
github-actions[bot]
392316b555
Update checked-in dependencies
2022-01-24 13:16:43 +00:00
github-actions[bot]
5604c0a3ad
1.0.31
2022-01-24 13:01:42 +00:00
github-actions[bot]
7d8ca8fa93
Update changelog and version after v1.0.30
2022-01-24 13:01:40 +00:00
Edoardo Pirovano
8b37404d56
Merge pull request #883 from github/update-v1.0.30-a7adbce2
...
Merge main into v1
2022-01-24 13:00:42 +00:00
github-actions[bot]
c180f23bb1
1.0.30
2022-01-24 11:30:41 +00:00
Edoardo Pirovano
a7adbce22c
Merge pull request #877 from github/codeql-cli-2.7.6
...
Update default CodeQL version to 2.7.6
2022-01-24 11:18:52 +00:00
Edoardo Pirovano
3b4e4d44dc
Update default CodeQL version to 2.7.6
2022-01-24 09:45:48 +00:00
Andrew Eisenberg
f18151cc59
Update error message and remove feature flag preloading
...
Discussion here https://github.com/github/codeql-action/pull/882#discussion_r789924177
shows that properly handling preloading feature flag errors is complex
and the benefit we get from it does not offset the complexity.
2022-01-21 11:20:48 -08:00
Andrew Eisenberg
e175dea369
Update changelog
2022-01-21 10:05:52 -08:00
Andrew Eisenberg
752ae5743f
Ensure loadApiError is caught
...
And add a better error message.
By using `void` instead of `await`, any error thrown is not caught
by surrounding try-catch blocks.
I could continue to use `void` and explicitly handle any thrown errors
by using `.catch`, but most likely the time savings is minimal and
this makes the code more complex.
2022-01-21 10:04:08 -08:00
Andrew Eisenberg
0dabead789
Merge pull request #876 from github/aeisenberg/multi-init
...
Include better error message
2022-01-21 08:42:06 -08:00
Andrew Eisenberg
5e69ce82f8
Merge branch 'main' into aeisenberg/multi-init
2022-01-21 08:04:13 -08:00
Edoardo Pirovano
fdb92bbffe
Merge pull request #881 from github/edoardo/respect-env
...
Respect extra options in a few `codeql` calls
2022-01-21 14:02:21 +00:00
Edoardo Pirovano
14b4839253
Respect extra options in a few codeql calls
2022-01-21 13:44:52 +00:00
Edoardo Pirovano
d76304cd8e
Merge pull request #880 from github/mergeback/v1.0.29-to-main-384cfc42
...
Mergeback v1.0.29 refs/heads/v1 into main
2022-01-21 11:53:08 +00:00
github-actions[bot]
57c4e974c2
Update checked-in dependencies
2022-01-21 11:23:59 +00:00
github-actions[bot]
c2fb041dc1
1.0.30
2022-01-21 11:12:16 +00:00
github-actions[bot]
ac9d34fbc6
Update changelog and version after v1.0.29
2022-01-21 11:12:14 +00:00
Edoardo Pirovano
384cfc42b2
Merge pull request #879 from github/update-v1.0.29-67c0353a
...
Merge main into v1
2022-01-21 11:11:07 +00:00
github-actions[bot]
5a1e31dc6a
1.0.29
2022-01-21 10:47:33 +00:00
Edoardo Pirovano
67c0353a8c
Merge pull request #878 from github/revert-wait-for-processing
...
Revert "Start waiting for processing by default."
2022-01-21 10:45:30 +00:00
Chris Gavin
7ec25e02e3
Add a changelog note.
2022-01-21 10:26:18 +00:00
Chris Gavin
713eacdf6c
Revert "Start waiting for processing by default."
...
This reverts commit b661ef1697 .
2022-01-21 10:25:57 +00:00
Andrew Eisenberg
c8290d07f0
Update changelog
...
Add a line item for using a better error message.
Also, add a link for an entry that didn't have one before.
2022-01-20 10:31:43 -08:00
Andrew Eisenberg
51126e5cd1
Include better error message
...
When users call init multiple times.
2022-01-20 10:28:11 -08:00
Edoardo Pirovano
c0b507e521
Merge pull request #875 from github/mergeback/v1.0.28-to-main-8a4b243f
...
Mergeback v1.0.28 refs/heads/v1 into main
2022-01-18 22:21:27 +00:00
github-actions[bot]
d563b098d7
Update checked-in dependencies
2022-01-18 21:54:31 +00:00
github-actions[bot]
fca047627b
1.0.29
2022-01-18 21:35:32 +00:00
github-actions[bot]
28fe8e7028
Update changelog and version after v1.0.28
2022-01-18 21:35:30 +00:00
Andrew Eisenberg
8a4b243fbf
Merge pull request #874 from github/update-v1.0.28-b31df3ff
...
Merge main into v1
2022-01-18 13:33:47 -08:00
Andrew Eisenberg
19970ae6b5
Update changelog
...
Add an entry and move an entry.
2022-01-18 12:44:43 -08:00
github-actions[bot]
ec1b16574e
1.0.28
2022-01-18 19:13:38 +00:00
Henning Makholm
b31df3ff95
Merge pull request #866 from github/hmakholm/pr/2.7.5
...
Bump CodeQL version to 2.7.5
2022-01-17 19:45:58 +01:00
Henning Makholm
776db51d2e
Merge remote-tracking branch 'origin/main' into hmakholm/pr/2.7.5
2022-01-17 18:27:39 +01:00
Andrew Eisenberg
b886234637
Merge pull request #872 from github/aeisenberg/category-with-tool
...
Change category uniqueness test
2022-01-17 09:19:39 -08:00
Henning Makholm
9913c9bfa5
Merge remote-tracking branch 'origin/main' into hmakholm/pr/2.7.5
2022-01-17 18:06:10 +01:00
Andrew Eisenberg
8de62beb50
Merge branch 'main' into aeisenberg/category-with-tool
2022-01-17 09:00:14 -08:00
Andrew Eisenberg
b6fbccaba1
Merge pull request #873 from github/nickrolfe/ruby
...
Update warning about interpreted languages to mention Ruby
2022-01-14 09:05:50 -08:00
Nick Rolfe
df0c306daf
Update warning about interpreted languages to mention Ruby
2022-01-14 11:57:29 +00:00
Andrew Eisenberg
ab1f709732
Allow duplicate categories in the same validation step
...
A single SARIF file should be allowed to have duplicated
categories.
2022-01-13 10:35:03 -08:00
Andrew Eisenberg
8454e21c9c
Change category uniqueness test
...
Turboscan only allows a single combination of tool name and automation
details id for testing category uniqueness.
Previously, the check in the action was not entirely correct since it
only looked at the _category_ and not the combination of the category
and the tool name.
It's even more precise now since it is looking at the actual, computed
value of the automation details id, rather than an inputted value of
the category.
This change also includes a refactoring where the action is now avoiding
multiple parsing/stringifying of the sarif files. Instead, sarif is
parsed once at the start of the process and stringified once, after
sarif processing is completely finished.
2022-01-12 15:26:34 -08:00
Henning Makholm
d85c3e58ec
Bump CodeQL version to 2.7.5
2022-01-12 19:36:20 +01:00