File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 10
10
- uses : actions/checkout@v3
11
11
with :
12
12
token : ${{ secrets.ACCESS_TOKEN }}
13
- fetch-depth : 0
14
13
15
14
# ## Semantic Release Bot comments for issues and PRs ###
16
15
- name : Add release comments to issues and PRs
19
18
GH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
20
19
with :
21
20
script : |
22
- import script from '${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs';
21
+ const { default: addIssueComments } = await import( '${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs') ;
23
22
24
- await script ({ github: github.rest, context })
23
+ await addIssueComments ({ github: github.rest, context })
25
24
Original file line number Diff line number Diff line change 64
64
GH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
65
65
with :
66
66
script : |
67
- import script from '${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs';
67
+ const { default: addIssueComments } = await import( '${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs') ;
68
68
69
- await script ({ github: github.rest, context })
69
+ await addIssueComments ({ github: github.rest, context })
70
70
You can’t perform that action at this time.
0 commit comments