Skip to content

Commit 02ab253

Browse files
authored
Merge pull request #3054 from github/henrymercer/bundle
Bundle Actions using esbuild
2 parents 48dd624 + 3e493e7 commit 02ab253

File tree

23,844 files changed

+1134985
-5266716
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

23,844 files changed

+1134985
-5266716
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ updates:
55
schedule:
66
interval: weekly
77
labels:
8-
- Update dependencies
8+
- Rebuild
99
# Ignore incompatible dependency updates
1010
ignore:
1111
# There is a type incompatibility issue between v0.0.9 and our other dependencies.

.github/update-release-branch.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def open_pr(
9797
body.append(' - [ ] Ensure the docs team is aware of any documentation changes that need to be released.')
9898

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

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

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

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

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

395395
# Migrate the changelog notes from vLatest version numbers to vOlder version numbers

.github/workflows/__config-input.yml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-codescanning-config-inputs-js.yml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-config-inputs-js.yml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-config-js.yml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-inputs-js.yml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/codescanning-config-cli.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ jobs:
5555
steps:
5656
- name: Check out repository
5757
uses: actions/checkout@v5
58+
59+
- name: Set up Node.js
60+
uses: actions/setup-node@v4
61+
with:
62+
node-version: '20'
63+
cache: 'npm'
64+
65+
- name: Install dependencies
66+
run: npm ci
67+
5868
- name: Prepare test
5969
id: prepare-test
6070
uses: ./.github/actions/prepare-test

.github/workflows/expected-queries-runs.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/workflows/post-release-mergeback.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# tag
44
# 2. Updates the `vN` tag to refer to this merge commit.
55
# 3. Iff vN == vLatest, merges any changes from the release back into the main branch.
6-
# Typically, this is two commits – one to update the version number and one to update dependencies.
6+
# Typically, this is two commits – one to update the version number and one to rebuild.
77
name: Tag release and merge back
88

99
on:
@@ -138,8 +138,8 @@ jobs:
138138
139139
Please do the following:
140140
141-
- [ ] Remove and re-add the "Update dependencies" label to the PR to trigger just this workflow.
142-
- [ ] Wait for the "Update dependencies" workflow to push a commit updating the dependencies.
141+
- [ ] Remove and re-add the "Rebuild" label to the PR to trigger just this workflow.
142+
- [ ] Wait for the "Rebuild" workflow to push a commit updating the distribution files.
143143
- [ ] Mark the PR as ready for review to trigger the full set of PR checks.
144144
- [ ] Approve and merge the PR. When merging the PR, make sure "Create a merge commit" is
145145
selected rather than "Squash and merge" or "Rebase and merge".
@@ -162,7 +162,7 @@ jobs:
162162
--head "${NEW_BRANCH}" \
163163
--base "${BASE_BRANCH}" \
164164
--title "${pr_title}" \
165-
--label "Update dependencies" \
165+
--label "Rebuild" \
166166
--body "${pr_body}" \
167167
--assignee "${GITHUB_ACTOR}" \
168168
--draft

0 commit comments

Comments
 (0)