Skip to content

Commit 6816f1b

Browse files
committed
fix: remove release notes generation step from npm publish workflow
Signed-off-by: kaifcoder <kaifmohd2014@gmail.com>
1 parent 7d74077 commit 6816f1b

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,6 @@ on:
88
types: [created]
99

1010
jobs:
11-
generate-release-notes:
12-
runs-on: ubuntu-latest
13-
permissions:
14-
contents: write
15-
pull-requests: read
16-
steps:
17-
- name: Trigger release notes generation
18-
uses: actions/github-script@v7
19-
with:
20-
github-token: ${{ secrets.GITHUB_TOKEN }}
21-
script: |
22-
// Trigger the release notes workflow
23-
await github.rest.actions.createWorkflowDispatch({
24-
owner: context.repo.owner,
25-
repo: context.repo.repo,
26-
workflow_id: 'release-notes.yml',
27-
ref: 'main',
28-
inputs: {
29-
tag_name: '${{ github.event.release.tag_name }}',
30-
target_commitish: '${{ github.event.release.target_commitish }}'
31-
}
32-
});
33-
console.log('Release notes generation triggered');
34-
35-
// Wait a bit for the workflow to complete
36-
await new Promise(resolve => setTimeout(resolve, 5000));
37-
3811
build:
3912
runs-on: ubuntu-latest
4013
steps:

0 commit comments

Comments
 (0)