File tree Expand file tree Collapse file tree 2 files changed +5
-20
lines changed
Expand file tree Collapse file tree 2 files changed +5
-20
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ changelog:
22 exclude :
33 authors :
44 - dependabot[bot]
5+ - github-actions[bot]
56 - polly-updater-bot[bot]
Original file line number Diff line number Diff line change @@ -45,30 +45,14 @@ jobs:
4545 version = version.slice(1);
4646 }
4747
48- const tag_name = version;
49- const name = tag_name;
50-
51- const { data: notes } = await github.rest.repos.generateReleaseNotes({
52- owner,
53- repo,
54- tag_name,
55- target_commitish: process.env.DEFAULT_BRANCH,
56- });
57-
58- const body = notes.body
59- .split('\n')
60- .filter((line) => !line.includes(' @dependabot '))
61- .filter((line) => !line.includes(' @github-actions '))
62- .filter((line) => !line.includes(' @polly-updater-bot '))
63- .join('\n');
64-
6548 const { data: release } = await github.rest.repos.createRelease({
6649 owner,
6750 repo,
68- tag_name,
69- name ,
70- body ,
51+ tag_name: version ,
52+ target_commitish: process.env.DEFAULT_BRANCH ,
53+ name: version ,
7154 draft,
55+ generate_release_notes: true,
7256 });
7357
7458 core.notice(`Created release ${release.name}: ${release.html_url}`);
You can’t perform that action at this time.
0 commit comments