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
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
Chuan-kai Lin
6f174084dd
Add autobuild workind-directory test
2022-04-08 15:18:11 -07: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
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
Edoardo Pirovano
a9095cefc9
Avoid failure if @types/node is already 12.12
2022-03-30 16:58:25 +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
a4da970395
Run workflow also on v2 branch
2022-03-30 11:47:41 +01:00
Edoardo Pirovano
1d58cc1f27
Fix typos in release workflow
2022-03-30 10:28:34 +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
2f4dd4bb41
Use git add --all .
2022-03-29 13:27:03 +01: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
839aa81918
Merge branch 'main' into henrymercer/update-release-process
2022-03-25 19:11:59 +00: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
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
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
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
Henry Mercer
5d72058994
Merge branch 'main' into aeisenberg/timeout-45-min
2022-03-21 15:37:09 +00:00
Edoardo Pirovano
eb507cfac6
Remove runner from expected release files
2022-03-14 17:56:05 +00: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
Andrew Eisenberg
e64a215b41
Add name to workflow
2022-03-11 10:16:34 -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
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
8ec6a84629
Expand PR checks to cover windows-2022
2022-02-28 15:39:34 +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
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
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