Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
fee3663
Bundle Actions using esbuild
henrymercer Aug 21, 2025
67d4718
Compile sources to separate directory for tests
henrymercer Aug 21, 2025
8b7a4ec
Remove `node_modules` directory
henrymercer Aug 21, 2025
88d8b86
Check in compiled files
henrymercer Aug 21, 2025
6d34e4e
Use "Rebuild" workflow instead of "Update dependencies"
henrymercer Aug 20, 2025
88e0162
Update changelog and version after v3.29.11
github-actions[bot] Aug 21, 2025
31ee7f5
Install dependencies in PR checks
henrymercer Aug 21, 2025
06f83b7
Run more checks on `push`
henrymercer Aug 21, 2025
3edad3e
Combine basic jobs to reduce Actions usage
henrymercer Aug 21, 2025
a2df83b
Cache npm dependencies
henrymercer Aug 21, 2025
951c17c
Update checked-in dependencies
github-actions[bot] Aug 21, 2025
d8905c2
Don't run linter in CI on Windows
henrymercer Aug 21, 2025
5b49155
Merge pull request #3053 from github/mergeback/v3.29.11-to-main-3c3833e0
smowton Aug 21, 2025
f04e228
Merge branch 'main' into henrymercer/bundle
henrymercer Aug 21, 2025
3e725de
Copy `defaults.json` to `lib`
henrymercer Aug 21, 2025
d6621b9
Refactor check whether CQ is enabled
mbg Aug 21, 2025
c208f33
Add `analyses` field with comma-separated list of analysis kinds to s…
mbg Aug 21, 2025
f8c0d73
Install dependencies in code scanning config test
henrymercer Aug 21, 2025
879c788
Install npm dependencies where necessary in generated workflows
henrymercer Aug 21, 2025
88f7d3d
Install dependencies in query filters tests
henrymercer Aug 21, 2025
36468ba
Delete expected queries runs check
henrymercer Aug 21, 2025
786d3aa
Remove unused import in build script
henrymercer Aug 21, 2025
4da503e
Use `npm ci` in CI
henrymercer Aug 21, 2025
d062f2b
Change `analyses` to `analysis_kinds`
mbg Aug 22, 2025
8a3bfe6
Transpile separately in both build and test steps
henrymercer Aug 22, 2025
e274fb8
Implement clean and copy as custom plugins
henrymercer Aug 22, 2025
ca5a69b
Specify esbuild target
henrymercer Aug 22, 2025
d7c1640
Avoid automatic semicolon insertion
henrymercer Aug 22, 2025
88e5287
Bump the actions group with 2 updates
dependabot[bot] Aug 26, 2025
88b1212
Bump the npm group with 4 updates
dependabot[bot] Aug 26, 2025
2b18179
Update checked-in dependencies
github-actions[bot] Aug 26, 2025
d2dfa8c
Check in precompiled `upload-lib.ts` for testing environments
henrymercer Aug 27, 2025
bd8a3ce
Refactor `prepare` job into a reusable workflow
mbg Aug 14, 2025
049a0a7
Add initial `rollback-release` workflow
mbg Aug 14, 2025
a1212db
Fix `uses` paths
mbg Aug 14, 2025
541b8e4
Improve comment
mbg Aug 15, 2025
41dab09
Refactor mergeback branch prep into an action
mbg Aug 15, 2025
c700209
Add script for creating a rollback changelog
mbg Aug 15, 2025
c9665e6
Add `dry-run` input to `prepare-mergeback-branch`
mbg Aug 15, 2025
4205856
Create mergeback branch/PR
mbg Aug 15, 2025
e1654f1
Fix `prepare_changelog.py` not using `changelog_file` consistently
mbg Aug 15, 2025
e22f34a
Create a new tag for test runs, to make sure we have changes from a PR
mbg Aug 15, 2025
1e21ce3
Ensure we check out the base branch, before creating the mergeback br…
mbg Aug 15, 2025
67e42fe
Use PR branch as `BASE_BRANCH` when testing, to make sure script chan…
mbg Aug 15, 2025
25c4fcc
Ensure `NEW_BRANCH` is checked out in `prepare-mergeback-branch`
mbg Aug 27, 2025
15ed54f
Move updated changelog into place before creating mergeback PR
mbg Aug 27, 2025
e0104a2
Add `analysis-kinds` input and parse it
mbg Aug 27, 2025
06c39b6
Add Code Quality to enabled analysis kinds if there is an input to `q…
mbg Aug 27, 2025
f96201c
Use `analysisKinds` to decide if Code Quality is enabled
mbg Aug 27, 2025
c1efb64
Fix missing `analysisKinds` in `createTestConfig`
mbg Aug 27, 2025
d72c7f1
Use `analysisKinds` from `config` in `createStatusReportBase`
mbg Aug 27, 2025
270f7ad
Fix import order in `testing-utils.ts`
mbg Aug 27, 2025
57b2c02
Merge pull request #3055 from github/mbg/cq/telemetry
mbg Aug 28, 2025
5896c12
Remove `setup-swift` steps
mbg Aug 28, 2025
5dc3d77
Remove `setup-swift` action from repo
mbg Aug 28, 2025
caeeaa1
Select Xcode 16 in workflows that analyse Swift
mbg Aug 28, 2025
c0abce9
Don't pin Xcode for nightly tests
mbg Aug 28, 2025
046c593
Merge pull request #3063 from github/mbg/ci/pin-xcode16
redsun82 Aug 28, 2025
d61a10a
Merge branch 'main' into mbg/cq/analysis-kinds-input
mbg Aug 28, 2025
a880e53
Merge pull request #3061 from github/mbg/cq/analysis-kinds-input
mbg Aug 28, 2025
71327f5
Bump `@typescript-eslint/parser` version in `package.json`
henrymercer Aug 28, 2025
6d122f1
Update checked-in dependencies
github-actions[bot] Aug 28, 2025
dc3244d
Update generated sources
henrymercer Aug 29, 2025
2e86898
Merge pull request #3060 from github/dependabot/npm_and_yarn/npm-5e05…
henrymercer Aug 29, 2025
48dd624
Merge pull request #3059 from github/dependabot/github_actions/action…
henrymercer Aug 29, 2025
68be0dc
Merge branch 'main' into henrymercer/bundle
henrymercer Aug 29, 2025
6d7d2c6
Bump minor version number
henrymercer Aug 29, 2025
138655e
Update `CONTRIBUTING.md`
henrymercer Aug 29, 2025
3e493e7
Remove `removeNPMAbsolutePaths`
henrymercer Aug 29, 2025
8f01f5d
Apply suggestions from code review
mbg Aug 29, 2025
43d629c
Use `argparse` in `rollback_changelog.py`
mbg Aug 29, 2025
b06d325
Add draft release URL to job summary
mbg Aug 29, 2025
02ab253
Merge pull request #3054 from github/henrymercer/bundle
henrymercer Aug 29, 2025
9389ce0
Merge remote-tracking branch 'origin/main' into mbg/ci/rollback-release
mbg Aug 29, 2025
872a6a4
Add `pull-requests: write` permission
mbg Sep 1, 2025
92eada8
Merge pull request #3033 from github/mbg/ci/rollback-release
mbg Sep 1, 2025
390daaf
Update changelog for v3.30.0
github-actions[bot] Sep 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
80 changes: 80 additions & 0 deletions .github/actions/prepare-mergeback-branch/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: "Prepare mergeback branch"
description: Prepares a mergeback branch and opens a PR for it
inputs:
base:
description: "The name of the base branch"
required: true
head:
description: "The name of the head branch"
required: true
branch:
description: "The name of the branch to create."
required: true
version:
description: "The new version"
required: true
token:
description: "The token to use"
required: true
dry-run:
description: "Set to true to skip creating the PR. The branch will still be pushed."
default: "false"
runs:
using: composite
steps:
- name: Create mergeback branch
shell: bash
env:
VERSION: "${{ inputs.version }}"
NEW_BRANCH: "${{ inputs.branch }}"
run: |
set -exu

# Ensure we are on the new branch
git checkout "${NEW_BRANCH}"

# Update the version number ready for the next release
npm version patch --no-git-tag-version

# Update the changelog, adding a new version heading directly above the most recent existing one
awk '!f && /##/{print "'"## [UNRELEASED]\n\nNo user facing changes.\n"'"; f=1}1' CHANGELOG.md > temp && mv temp CHANGELOG.md
git add .
git commit -m "Update changelog and version after ${VERSION}"

git push origin "${NEW_BRANCH}"

- name: Create PR
shell: bash
if: inputs.dry-run != 'true'
env:
VERSION: "${{ inputs.version }}"
BASE_BRANCH: "${{ inputs.base }}"
HEAD_BRANCH: "${{ inputs.head }}"
NEW_BRANCH: "${{ inputs.branch }}"
GITHUB_TOKEN: "${{ inputs.token }}"
run: |
set -exu
pr_title="Mergeback ${VERSION} ${HEAD_BRANCH} into ${BASE_BRANCH}"
pr_body=$(cat << EOF
This PR bumps the version number and updates the changelog after the ${VERSION} release.

Please do the following:

- [ ] Remove and re-add the "Rebuild" label to the PR to trigger just this workflow.
- [ ] Wait for the "Rebuild" workflow to push a commit updating the distribution files.
- [ ] Mark the PR as ready for review to trigger the full set of PR checks.
- [ ] Approve and merge the PR. When merging the PR, make sure "Create a merge commit" is
selected rather than "Squash and merge" or "Rebase and merge".
EOF
)

# PR checks won't be triggered on PRs created by Actions. Therefore mark the PR as draft
# so that a maintainer can take the PR out of draft, thereby triggering the PR checks.
gh pr create \
--head "${NEW_BRANCH}" \
--base "${BASE_BRANCH}" \
--title "${pr_title}" \
--label "Rebuild" \
--body "${pr_body}" \
--assignee "${GITHUB_ACTOR}" \
--draft
39 changes: 0 additions & 39 deletions .github/actions/setup-swift/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ updates:
schedule:
interval: weekly
labels:
- Update dependencies
- Rebuild
# Ignore incompatible dependency updates
ignore:
# There is a type incompatibility issue between v0.0.9 and our other dependencies.
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 @@ -97,8 +97,8 @@ def open_pr(
body.append(' - [ ] Ensure the docs team is aware of any documentation changes that need to be released.')

if not is_primary_release:
body.append(' - [ ] Remove and re-add the "Update dependencies" label to the PR to trigger just this workflow.')
body.append(' - [ ] Wait for the "Update dependencies" workflow to push a commit updating the dependencies.')
body.append(' - [ ] Remove and re-add the "Rebuild" label to the PR to trigger just this workflow.')
body.append(' - [ ] Wait for the "Rebuild" workflow to push a commit updating the distribution files.')

body.append(' - [ ] Mark the PR as ready for review to trigger the full set of PR checks.')
body.append(' - [ ] Approve and merge this PR. Make sure `Create a merge commit` is selected rather than `Squash and merge` or `Rebase and merge`.')
Expand All @@ -108,7 +108,7 @@ def open_pr(
body.append(' - [ ] Merge all backport PRs to older release branches, that will automatically be created once this PR is merged.')

title = f'Merge {source_branch} into {target_branch}'
labels = ['Update dependencies'] if not is_primary_release else []
labels = ['Rebuild'] if not is_primary_release else []

# Create the pull request
# PR checks won't be triggered on PRs created by Actions. Therefore mark the PR as draft so that
Expand Down Expand Up @@ -389,7 +389,7 @@ def main():

# Migrate the package version number from a vLatest version number to a vOlder version number
print(f'Setting version number to {version} in package.json')
replace_version_package_json(get_current_version(), version) # We rely on the `Update dependencies` workflow to update package-lock.json
replace_version_package_json(get_current_version(), version) # We rely on the `Rebuild` workflow to update package-lock.json
run_git('add', 'package.json')

# Migrate the changelog notes from vLatest version numbers to vOlder version numbers
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/__autobuild-direct-tracing.yml

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

7 changes: 7 additions & 0 deletions .github/workflows/__config-input.yml

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

4 changes: 0 additions & 4 deletions .github/workflows/__export-file-baseline-information.yml

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

10 changes: 5 additions & 5 deletions .github/workflows/__multi-language-autodetect.yml

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

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

7 changes: 7 additions & 0 deletions .github/workflows/__packaging-config-inputs-js.yml

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

7 changes: 7 additions & 0 deletions .github/workflows/__packaging-config-js.yml

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

7 changes: 7 additions & 0 deletions .github/workflows/__packaging-inputs-js.yml

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.

3 changes: 0 additions & 3 deletions .github/workflows/__swift-autobuild.yml

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

7 changes: 4 additions & 3 deletions .github/workflows/__swift-custom-build.yml

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

10 changes: 10 additions & 0 deletions .github/workflows/codescanning-config-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v5

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Prepare test
id: prepare-test
uses: ./.github/actions/prepare-test
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/expected-queries-runs.yml

This file was deleted.

Loading
Loading