Michael B. Gale
1dafc5cf4c
Fix redundant True / False
2025-08-15 18:10:28 +01:00
Michael B. Gale
3119b35eed
Add template option for installing Java
2025-08-15 17:58:10 +01:00
Michael B. Gale
20c329c963
Sort template files to avoid ordering-issues
2025-08-14 12:08:22 +01:00
Michael B. Gale
bd79bc6b67
Automatically add go-version input if installGo == true
2025-08-14 11:52:35 +01:00
Michael B. Gale
9bd3c14196
Move up workflowsInput initialisation
2025-08-14 11:52:34 +01:00
Michael B. Gale
a592f71173
Allow inputs for workflow_* events, and propagate them through collections
2025-08-14 11:52:34 +01:00
Michael B. Gale
cf7a5d3e11
Add support for named collections of workflows
2025-08-14 11:52:34 +01:00
Michael B. Gale
092bf71d04
Add workflow_call triggers to PR checks
2025-08-14 11:52:34 +01:00
Henry Mercer
9dfbcfd29f
Merge pull request #3025 from github/dependabot/github_actions/actions-b7431406fe
...
Bump the actions group with 3 updates
2025-08-12 12:24:05 +01:00
Henry Mercer
136e8b7a95
Update sources of generated workflows
2025-08-12 10:21:02 +01:00
Paolo Tranquilli
286b9e9d74
Specify the ruamel.yaml version in one place only (sync.sh)
2025-08-11 15:38:32 +02:00
Paolo Tranquilli
2d7401b887
Revert ruamel.yaml back to 0.17.31
...
And revert back related changes
2025-08-11 15:36:42 +02:00
Paolo Tranquilli
28f2516040
Improve Rust analysis PR check
...
Also run the `rust` checks on "milestone" CLI releases, to ensure we
remain backward compatible with those versions. This was prompted by
https://github.com/github/codeql-action/pull/2960#pullrequestreview-3104730221
Running this on current `main` and then on that PR should improve our
confidence we remain backward compatible.
It also turns out a probable `ruamel.yaml` update was changing a lot of
generated workflows, so I've:
* fixed the `ruamel.yaml` version to the latest in `sync.sh`
* added `yaml.width = 120` in `sync.py` to minimize (but not entirely
remove) the number of changes
* checked in the workflows whose formatting was changed by the new
`ruamel.yaml` version
2025-08-11 14:58:50 +02:00
Chuan-kai Lin
88d99b3033
Stop testing stable-v2.16.6
2025-07-29 09:14:16 -07:00
Michael B. Gale
8f71d47b93
Add installGo input for adding setup-go step in sync.py
2025-06-16 12:28:23 +01:00
Henry Mercer
7419bc61b3
Update CodeQL versions in generated workflows
2025-05-30 17:52:01 +01:00
Henry Mercer
9cd802ec12
Give only read-level security-events permission where possible
2025-01-24 13:27:33 +00:00
Henry Mercer
bd76a92ebe
PR checks: Remove code for unsupported versions
2025-01-15 17:50:02 +00:00
Andrew Eisenberg
5f0a4d3e67
Bump the minimum supported version of CodeQL to 2.15.5
2024-12-16 15:39:28 -08:00
Fotis Koutoulakis (@NlightNFotis)
9c48c8bf18
ci: add capability to handle container initialisation steps to sync.py
2024-12-05 15:32:36 +00:00
Andrew Eisenberg
45a6057506
Move to macos-13 runners
...
Macos-12 runners are deprecated and are refusing to run.
2024-11-06 15:15:22 -08:00
Josh Soref
d5e73848c4
Strip trailing whitespace generated by ruamel-yaml
2024-11-06 06:43:41 -05:00
Josh Soref
756aa649df
spelling: macos
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-11-06 06:43:41 -05:00
Henry Mercer
619f0d628b
Update CodeQL versions tested in generated checks
2024-10-15 19:43:56 +01:00
Henry Mercer
990feb59a4
Catch gotcha in PR check workflow generator
2024-09-23 22:39:47 +01:00
Henry Mercer
136f5a589b
Add CodeQL v2.17.6 to default test versions
2024-08-05 19:28:35 +01:00
Henry Mercer
48c11ed2ba
Remove supporting code for CodeQL 2.13.0 through 2.13.4
2024-08-05 19:28:35 +01:00
Henry Mercer
a1404425d9
Remove 2.12.6 from tests
2024-08-05 19:28:35 +01:00
Angela P Wen
5d576606ec
Switch param order for clarity
2024-06-24 17:02:29 +02:00
Angela P Wen
7c35b4f6b5
Rename for clarity per PR review
2024-06-24 16:33:10 +02:00
Angela P Wen
495201e69c
PR check generator: add excludeOsAndVersionCombination
2024-06-24 13:33:24 +02:00
Andrew Eisenberg
79f6e84e69
Ensure string argument instead of boolean
2024-06-14 14:59:22 -07:00
Andrew Eisenberg
3f41e06a52
Merge remote-tracking branch 'upstream/main' into aeisenberg/enable-kotlin-tests
2024-06-14 13:20:03 -07:00
Angela P Wen
67d5a9a476
PR Checks: Use tools: linked rather than tools: latest
...
Also changes the input and output in the `prepare-test` Action to use `linked`.
2024-05-31 11:49:47 +02:00
Henry Mercer
c59e05245f
Disable fail fast in generated workflows
2024-05-10 16:24:22 +01:00
Angela P Wen
ac2f82a1ff
Log warning if SIP is disabled and CLI version is < 2.15.1 ( #2261 )
...
* PR Checks: use `macos-12` runners for CLI v. < 2.15.1
Prior to CLI v2.15.1, MacOS ARM runners were not supported by the build tracer. "macos-latest" is now an ARM runner, so we run these tests on the old CLIs on Intel runners instead.
* Log a warning if SIP is disabled and CLI is < 2.15.1
* Add changenote for SIP-disabled support on old CLI versions
* Set up Python 3.11 for all MacOS checks
2024-04-25 22:20:13 +00:00
Henry Mercer
2f0d0eaebd
Update PR checks
2024-04-09 12:19:26 +01:00
Angela P Wen
f421cda8e7
Run integration test PR checks nightly ( #2222 )
...
* Run integration test PR checks nightly
Scheduled for 5AM UTC. This will assist in catching bugs introduced with new runner images.
* Specify generated YAML indentations
For consistency with our non-autogenerated files and GitHub documentation, we should further indent items in lists (`sequence`).
2024-04-04 10:30:18 -07:00
Andrew Eisenberg
72f5fb9a00
Merge branch 'main' into aeisenberg/enable-kotlin-tests
2024-04-01 11:27:17 -07:00
Henry Mercer
35b10b5ff7
Merge branch 'main' into henrymercer/drop-codeql-v2.11.5
2024-01-02 18:03:32 +00:00
dependabot[bot]
596b173a4e
Bump the actions group with 2 updates ( #2056 )
...
* Bump the actions group with 2 updates
Bumps the actions group with 2 updates: [actions/setup-python](https://github.com/actions/setup-python ) and [actions/setup-go](https://github.com/actions/setup-go ).
Updates `actions/setup-python` from 4 to 5
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
Updates `actions/setup-go` from 4 to 5
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump `setup-python` and `setup-go` to v5
---------
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-12-27 17:12:00 -08:00
nickfyson
0e9a210226
update workflows to run on all release branches
2023-12-06 15:57:43 +00:00
Henry Mercer
649145214e
Update PR checks
...
Stop testing `stable-20220908` bundle as this is no longer supported.
2023-11-27 12:41:44 +00: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
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
Andrew Eisenberg
fcf7c47f2f
Explicitly setup a kotlin version
...
Change the `prepare-test` action to conditionally setup kotlin.
2023-10-13 15:25:37 -07:00
Andrew Eisenberg
7feb9a04fd
Re-enable kotlin tests
...
Reverts https://github.com/github/codeql-action/pull/1473
2023-10-10 16:08:54 -07:00
Henry Mercer
467bfa1cff
Update CodeQL versions tested in PR checks
2023-09-27 16:21:16 +01:00