Skip to content

Commit f6cbe92

Browse files
authored
chore(bump-packages): add back missing env var; update PR description (#6856)
1 parent d6e9dc2 commit f6cbe92

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.github/workflows/bump-packages.yaml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/setup-node@v4
3030
with:
3131
node-version: 20.16.0
32-
cache: "npm"
32+
cache: 'npm'
3333

3434
- name: Install [email protected]
3535
run: |
@@ -42,17 +42,26 @@ jobs:
4242
4343
- name: Bump packages
4444
env:
45-
SKIP_BUMP_PACKAGES: "mongodb-compass"
45+
SKIP_BUMP_PACKAGES: 'mongodb-compass'
46+
# Do not remove this variable, bump-packages script uses this env var
47+
# to find the previous commit
48+
LAST_BUMP_COMMIT_MESSAGE: 'chore(release): bump package versions'
4649
run: npm run bump-packages
4750

4851
- name: Create Pull Request
4952
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # 7.0.5
5053
with:
5154
token: ${{ steps.app-token.outputs.token }}
52-
commit-message: "chore(release): bump package versions"
55+
commit-message: 'chore(release): bump package versions'
5356
branch: ci/bump-packages
54-
title: "chore(release): bump package versions"
57+
title: 'chore(release): bump package versions'
5558
labels: no-title-validation
56-
author: "${{ steps.app-token.outputs.app-slug}}[bot] <${{ steps.app-token.outputs.app-email }}>"
57-
body: |
58-
- Bump package versions
59+
author: '${{ steps.app-token.outputs.app-slug}}[bot] <${{ steps.app-token.outputs.app-email }}>'
60+
body: |-
61+
This PR is autogenerated and updates the version of every package in
62+
the monorepo that was changed since last publish. If you need to
63+
publish packages to update the version elsewhere, **you can do this
64+
at your own convenience by just merging this PR**.
65+
66+
After PR is merged, it starts an automatic publish process via
67+
GitHub Actions, you can follow the process [on this page](https://github.com/mongodb-js/compass/actions/workflows/publish-packages.yaml).

0 commit comments

Comments
 (0)