Skip to content

Commit d6d5bf8

Browse files
committed
ci: another try for issue comments
1 parent d6b8a54 commit d6d5bf8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/release-comments.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jobs:
1010
- uses: actions/checkout@v3
1111
with:
1212
token: ${{ secrets.ACCESS_TOKEN }}
13-
fetch-depth: 0
1413

1514
### Semantic Release Bot comments for issues and PRs ###
1615
- name: Add release comments to issues and PRs
@@ -19,7 +18,7 @@ jobs:
1918
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
2019
with:
2120
script: |
22-
import script from '${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs';
21+
const { default: addIssueComments } = await import('${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs');
2322
24-
await script({ github: github.rest, context })
23+
await addIssueComments({ github: github.rest, context })
2524

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
6565
with:
6666
script: |
67-
import script from '${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs';
67+
const { default: addIssueComments } = await import('${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs');
6868
69-
await script({ github: github.rest, context })
69+
await addIssueComments({ github: github.rest, context })
7070

0 commit comments

Comments
 (0)