Skip to content

Commit dfee3a3

Browse files
authored
chore: Fix merge changelog action
1 parent 74e7da7 commit dfee3a3

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: 'Merge Changelogs'
22
description: 'Merges all public changelogs from changesets into a single changelog.'
3-
outputs:
4-
changelog:
5-
description: 'The merged changelog.'
63
runs:
74
using: 'node20'
85
main: 'index.js'

.github/actions/merge-changelogs/index.js renamed to .github/actions/merge-and-write-changelogs/index.js

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build-packages/merge-and-write-changelogs/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ export async function mergeChangelogs(): Promise<void> {
200200
mergeMessages(changelogs.map(log => parseChangelog(log)).flat())
201201
);
202202
await writeChangelog(mergedChangelog);
203-
// setOutput('changelog', mergedChangelog);
204203
}
205204

206205
mergeChangelogs().catch(error => {

build-packages/merge-and-write-changelogs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"private": true,
77
"scripts": {
88
"compile": "tsc -p tsconfig.json",
9-
"postcompile": "ncc build lib/build-packages/merge-changelogs/index.js --out ../../.github/actions/merge-changelogs/",
9+
"postcompile": "ncc build lib/build-packages/merge-and-write-changelogs/index.js --out ../../.github/actions/merge-and-write-changelogs/",
1010
"lint": "eslint --ignore-pattern '!index.ts' && prettier --check **/*.ts",
1111
"lint:fix": "eslint --ignore-pattern '!index.ts' --fix --quiet && prettier --write **/*.ts",
1212
"check:dependencies": "depcheck --skip-missing=true .",

0 commit comments

Comments
 (0)