Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
297313d
Add `getLatestToolcacheVersion` with tests
mbg Oct 3, 2025
425ef85
Support requesting CLI from toolcache with `tools: toolcache`
mbg Oct 3, 2025
7d468c9
Accept `toolcache` as `version` value for `prepare-test`
mbg Oct 3, 2025
13a3a68
Add basic PR check for `tools: toolcache`
mbg Oct 3, 2025
dd9e24a
Add more questions to the PR template
mbg Oct 3, 2025
4d0c164
Remove `toolcache` option description from `action.yml`
mbg Oct 6, 2025
43ce7ef
Add `isDynamicWorkflow` function
mbg Oct 6, 2025
1cc5eb6
Use `semver.compare` instead of `semver.lt`
mbg Oct 6, 2025
726a341
Restrict when `tools: toolcache` can be used
mbg Oct 6, 2025
e0b9da7
Introduce `CODEQL_ACTION_SKIP_SARIF_UPLOAD`
redsun82 Oct 6, 2025
9b3ade9
Rename `upload-quality-sarif.yml` workflow
mbg Oct 6, 2025
6bdf5d3
Run `upload-sarif` check for all `analysis-kinds` values
mbg Oct 6, 2025
6f964b7
Cover more cases in `upload-sarif` check
mbg Oct 6, 2025
882667e
Update src/util.ts
redsun82 Oct 6, 2025
11e4034
Clarify comment about SKIP_SARIF_UPLOAD setting
redsun82 Oct 6, 2025
22aba57
Include analysis kind in `payloadSaveFile` path in `uploadPayload`
mbg Oct 6, 2025
680b070
Specify reason for skipping SARIF upload in logs
redsun82 Oct 6, 2025
380e002
Add explicit `category` values
mbg Oct 6, 2025
14c5d77
Fix: Update `payload.json` path in `with-checkout-path` test
mbg Oct 6, 2025
dabf6fc
Adjust step names to be clearer
mbg Oct 6, 2025
25c8db9
Revert "Specify reason for skipping SARIF upload in logs"
redsun82 Oct 6, 2025
00a6e13
Tweak SARIF skipping logs
redsun82 Oct 6, 2025
ff23a55
Bump the npm group with 4 updates
dependabot[bot] Oct 6, 2025
6877465
Rebuild
github-actions[bot] Oct 6, 2025
db562a6
Merge pull request #3182 from github/dependabot/npm_and_yarn/npm-b02b…
henrymercer Oct 7, 2025
1491baa
Merge branch 'main' into mbg/pr-checks/upload-sarif
henrymercer Oct 7, 2025
5dfb610
Merge branch 'main' into redsun82/skip-sarif-upload
redsun82 Oct 7, 2025
86b2ad6
Remove unneeded comment
redsun82 Oct 7, 2025
239d7b2
Merge pull request #3181 from github/mbg/pr-checks/upload-sarif
mbg Oct 7, 2025
7f5db16
Merge branch 'main' into mbg/pr-template/tests
mbg Oct 7, 2025
5431b6a
Merge pull request #3176 from github/mbg/pr-template/tests
mbg Oct 7, 2025
0ba4970
Merge branch 'main' into mbg/setup/toolcache
mbg Oct 7, 2025
2f11c17
Merge pull request #3175 from github/mbg/setup/toolcache
mbg Oct 7, 2025
1b09eb4
Address review
redsun82 Oct 7, 2025
df65651
Merge branch 'main' into redsun82/skip-sarif-upload
redsun82 Oct 7, 2025
0749401
Update changelog and version after v4.30.7
github-actions[bot] Oct 7, 2025
257e42c
Merge remote-tracking branch 'origin/main' into mergeback/v4.30.7-to-…
github-actions[bot] Oct 7, 2025
d95a3b5
Rebuild
github-actions[bot] Oct 7, 2025
8a6b62b
Merge pull request #3186 from github/mergeback/v4.30.7-to-main-e296a935
mario-campos Oct 7, 2025
7892cb2
Overlays: allow any build mode for Go
nickrolfe Oct 7, 2025
d05f225
Tweak comment
redsun82 Oct 8, 2025
1707898
Merge branch 'main' into redsun82/skip-sarif-upload
redsun82 Oct 8, 2025
4489a63
Add unit tests for uploadSpecifiedFiles
redsun82 Oct 7, 2025
a57997f
Fix test after rebase
redsun82 Oct 7, 2025
7bdfa97
Merge pull request #3184 from github/nickrolfe/go-overlay
nickrolfe Oct 8, 2025
8301b8b
Merge pull request #3180 from github/redsun82/skip-sarif-upload
redsun82 Oct 8, 2025
621809b
Address copilot review
redsun82 Oct 8, 2025
527501d
Allow `createStatusReportBase` to accept a `Partial<Config>`
mbg Oct 8, 2025
2ff418f
Parse `language` before calling `getCredentials`
mbg Oct 8, 2025
fb14878
Include `languages` in `start-proxy` telemetry
mbg Oct 8, 2025
bdd2cdf
Also include `language` in error status report for `start-proxy`, if …
mbg Oct 8, 2025
98abb87
Add configuration error for rate limited CodeQL download
henrymercer Oct 8, 2025
196a3e5
Merge pull request #3188 from github/mbg/telemetry/partial-config
mbg Oct 8, 2025
6fd4ceb
Merge pull request #3189 from github/henrymercer/download-codeql-rate…
henrymercer Oct 8, 2025
aeb12f6
Merge branch 'main' into redsun82/skip-sarif-upload-tests
redsun82 Oct 9, 2025
a841c54
Scratch `uploadSpecifiedFiles` tests, make `uploadPayload` tests instead
redsun82 Oct 9, 2025
ff2fc66
Simplify `uploadPayload` tests
redsun82 Oct 9, 2025
610c7c6
Address review
redsun82 Oct 9, 2025
a8440d0
Merge pull request #3185 from github/redsun82/skip-sarif-upload-tests
redsun82 Oct 10, 2025
62f0f21
Add `AllowToolcacheInput` feature
mbg Oct 10, 2025
a512fe0
Gate `tools: toolcache` behind FF
mbg Oct 10, 2025
524b9a0
Fix log message swap
mbg Oct 10, 2025
e74435a
Dependabot: Only group minor and patch updates
henrymercer Oct 10, 2025
5c752c8
Add test macro for fallback tests
mbg Oct 10, 2025
dc2ced8
Add tests for scenarios where the feature is unavailable
mbg Oct 10, 2025
4704ab1
Fix swapped log levels
mbg Oct 10, 2025
168b2de
Merge pull request #3194 from github/henrymercer-patch-1
henrymercer Oct 10, 2025
b516b1d
Bump the npm-minor group with 3 updates
dependabot[bot] Oct 10, 2025
e1257b6
Rebuild
github-actions[bot] Oct 10, 2025
eadf14b
Bump ruby/setup-ruby
dependabot[bot] Oct 10, 2025
4521864
Bump github/codeql-action from 3 to 4 in /.github/workflows
dependabot[bot] Oct 10, 2025
413a4a4
Rebuild
github-actions[bot] Oct 10, 2025
4e90a42
Merge pull request #3193 from github/mbg/ff/tools-toolcache
mbg Oct 10, 2025
f5e53f9
Merge pull request #3197 from github/dependabot/github_actions/dot-gi…
henrymercer Oct 10, 2025
f402506
Merge pull request #3196 from github/dependabot/github_actions/dot-gi…
henrymercer Oct 10, 2025
527f0f3
Merge pull request #3195 from github/dependabot/npm_and_yarn/npm-mino…
henrymercer Oct 10, 2025
7a2cb62
Update changelog for v4.30.8
github-actions[bot] Oct 10, 2025
f443b60
Merge pull request #3198 from github/update-v4.30.8-527f0f324
mbg Oct 10, 2025
c8765c9
Revert "Rebuild" commit rather than "Update dependencies"
henrymercer Oct 10, 2025
2a6736c
Merge pull request #3200 from github/henrymercer/backport-hotfix
henrymercer Oct 10, 2025
bd1ac56
Revert "Update version and changelog for v3.30.7"
github-actions[bot] Oct 10, 2025
319796f
Revert "Rebuild"
github-actions[bot] Oct 10, 2025
ab163cf
Merge remote-tracking branch 'origin/releases/v4' into backport-v3.30…
github-actions[bot] Oct 10, 2025
a37add2
Update version and changelog for v3.30.8
github-actions[bot] Oct 10, 2025
948223f
Rebuild
github-actions[bot] Oct 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/actions/prepare-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Prepare test"
description: Performs some preparation to run tests
inputs:
version:
description: "The version of the CodeQL CLI to use. Can be 'linked', 'default', 'nightly', 'nightly-latest', 'nightly-YYYYMMDD', or 'stable-vX.Y.Z"
description: "The version of the CodeQL CLI to use. Can be 'linked', 'default', 'toolcache', 'nightly', 'nightly-latest', 'nightly-YYYYMMDD', or 'stable-vX.Y.Z"
required: true
use-all-platform-bundle:
description: "If true, we output a tools URL with codeql-bundle.tar.gz file rather than platform-specific URL"
Expand Down Expand Up @@ -41,6 +41,9 @@ runs:
elif [[ "$VERSION" == "linked" ]]; then
echo "tools-url=linked" >> "$GITHUB_OUTPUT"
exit 0
elif [[ "$VERSION" == "toolcache" ]]; then
echo "tools-url=toolcache" >> "$GITHUB_OUTPUT"
exit 0
elif [[ "$VERSION" == "default" ]]; then
echo "tools-url=" >> "$GITHUB_OUTPUT"
exit 0
Expand Down
10 changes: 8 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ updates:
- dependency-name: "eslint-plugin-import"
versions: [">=2.30.0"]
groups:
npm:
npm-minor:
patterns:
- "*"
update-types:
- "minor"
- "patch"
- package-ecosystem: github-actions
directories:
- "/.github/workflows"
Expand All @@ -28,6 +31,9 @@ updates:
labels:
- Rebuild
groups:
actions:
actions-minor:
patterns:
- "*"
update-types:
- "minor"
- "patch"
49 changes: 48 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
<!-- For GitHub staff: Remember that this is a public repository. -->
<!--
For GitHub staff: Remember that this is a public repository. Do not link to internal resources.
If necessary, link to this PR from an internal issue and include further details there.

Everyone: Include a summary of the context of this change, what it aims to accomplish, and why you
chose the approach you did if applicable. Indicate any open questions you want to answer
during the review process and anything you want reviewers to pay particular attention to.

See https://github.com/github/codeql-action/blob/main/CONTRIBUTING.md for additional information.
-->

### Risk assessment

Expand All @@ -7,6 +16,44 @@ For internal use only. Please select the risk level of this change:
- **Low risk:** Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.
- **High risk:** Changes are not fully under feature flags, have limited visibility and/or cannot be tested outside of production.

#### Which use cases does this change impact?

<!-- Delete options that don't apply. -->

- **Advanced setup** - Impacts users who have custom workflows.
- **Default setup** - Impacts users who use default setup.
- **Code Scanning** - Impacts Code Scanning (i.e. `analysis-kinds: code-scanning`).
- **Code Quality** - Impacts Code Quality (i.e. `analysis-kinds: code-quality`).
- **Third-party analyses** - Impacts third-party analyses (i.e. `upload-sarif`).
- **GHES** - Impacts GitHub Enterprise Server.

#### How did/will you validate this change?

<!-- Delete options that don't apply. -->

- **Test repository** - This change will be tested on a test repository before merging.
- **Unit tests** - I am depending on unit test coverage (i.e. tests in `.test.ts` files).
- **End-to-end tests** - I am depending on PR checks (i.e. tests in `pr-checks`).
- **Other** - Please provide details.
- **None** - I am not validating these changes.

#### If something goes wrong after this change is released, what are the mitigation and rollback strategies?

<!-- Delete strategies that don't apply. -->

- **Feature flags** - All new or changed code paths can be fully disabled with corresponding feature flags.
- **Rollback** - Change can only be disabled by rolling back the release or releasing a new version with a fix.
- **Other** - Please provide details.

#### How will you know if something goes wrong after this change is released?

<!-- Delete options that don't apply. -->

- **Telemetry** - I rely on existing telemetry or have made changes to the telemetry.
- **Dashboards** - I will watch relevant dashboards for issues after the release. Consider whether this requires this change to be released at a particular time rather than as part of a regular release.
- **Alerts** - New or existing monitors will trip if something goes wrong with this change.
- **Other** - Please provide details.

### Merge / deployment checklist

- Confirm this change is backwards compatible with existing workflows.
Expand Down
8 changes: 4 additions & 4 deletions .github/update-release-branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,10 @@ def main():
# releases.
run_git('revert', vOlder_update_commits[0], '--no-edit')

# Also revert the "Update checked-in dependencies" commit created by Actions.
update_dependencies_commit = run_git('log', '--grep', '^Update checked-in dependencies', '--format=%H').split()[0]
print(f' Reverting {update_dependencies_commit}')
run_git('revert', update_dependencies_commit, '--no-edit')
# Also revert the "Rebuild" commit created by Actions.
rebuild_commit = run_git('log', '--grep', '^Rebuild$', '--format=%H').split()[0]
print(f' Reverting {rebuild_commit}')
run_git('revert', rebuild_commit, '--no-edit')

else:
print(' Nothing to revert.')
Expand Down

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

2 changes: 1 addition & 1 deletion .github/workflows/__rubocop-multi-language.yml

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

158 changes: 158 additions & 0 deletions .github/workflows/__upload-sarif.yml

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

Loading
Loading