Skip to content

Commit 3186e5e

Browse files
authored
chore(deps): use Lerna-Lite to comment on release resolved issues/PRs (#446)
1 parent e332dd6 commit 3186e5e

File tree

4 files changed

+74
-91
lines changed

4 files changed

+74
-91
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ on:
1111
description: Force Conventional Graduate
1212

1313
permissions:
14-
contents: write
15-
id-token: write
14+
contents: write # to be able to publish a GitHub release
15+
id-token: write # to enable use of OIDC for npm provenance
16+
issues: write # to be able to comment on released issues
17+
pull-requests: write # to be able to comment on released pull requests
1618

1719
jobs:
1820
deploy-npm-latest:

lerna.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
"createRelease": "github",
1717
"changelogIncludeCommitsClientLogin": " - by @%l",
1818
"changelogHeaderMessage": "## Visit the [Multiple-Select-Vanilla](https://github.com/ghiscoding/multiple-select-vanilla) GitHub project or take a look at the [Live Demo](https://ghiscoding.github.io/multiple-select-vanilla)",
19+
"commentIssues": "✅ This issue has been resolved and included in version %v 📦<br>The release is available on: [GitHub release](%u) 🚀",
20+
"commentPullRequests": "🎉 This pull request is included in version %v 📦<br>The release is available on: [GitHub release](%u) 🚀",
1921
"message": "chore(release): publish new version %s",
2022
"syncWorkspaceLock": true
2123
}
@@ -24,4 +26,4 @@
2426
"packages": [
2527
"packages/multiple-select-vanilla"
2628
]
27-
}
29+
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@
6161
},
6262
"devDependencies": {
6363
"@biomejs/biome": "^2.3.5",
64-
"@lerna-lite/cli": "^4.9.4",
65-
"@lerna-lite/publish": "^4.9.4",
66-
"@lerna-lite/watch": "^4.9.4",
64+
"@lerna-lite/cli": "^4.10.2",
65+
"@lerna-lite/publish": "^4.10.2",
66+
"@lerna-lite/watch": "^4.10.2",
6767
"@playwright/test": "^1.56.1",
6868
"@types/node": "^24.10.1",
6969
"conventional-changelog-conventionalcommits": "^9.1.0",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)