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
Andrew Eisenberg
b2af0740e4
Remove security-events: write from tests
...
This is not necessary.
2022-02-01 19:17:15 -08: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
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
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
Edoardo Pirovano
e677af3fd0
Make name of debugging artifact and DB within it configurable
2022-01-07 15:10:26 +00:00
Edoardo Pirovano
cca1cfdacf
Remove debugging output
2021-12-31 16:32:08 +00:00