File tree 1 file changed +15
-4
lines changed
1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Development
2
2
3
+ # Allows workflow to write comments
4
+ permissions :
5
+ pull-requests : write
6
+ issues : write
7
+
3
8
on :
4
9
pull_request :
5
10
types : [opened, synchronize, reopened]
@@ -113,8 +118,14 @@ jobs:
113
118
if-no-files-found : error
114
119
retention-days : 30
115
120
- name : Comment Install instructions
116
- uses : mshick/add-pr-comment@v2
121
+ uses : actions/github-script@v7
117
122
with :
118
- message : |
119
- Build artifacts (.whl and .tar.gz) are available for download for up to 30 days.
120
- They are located at ${{ steps.artifact-upload.outputs.artifact-url }}
123
+ github-token : ${{secrets.GITHUB_TOKEN}}
124
+ script : |
125
+ github.rest.issues.createComment({
126
+ issue_number: context.issue.number,
127
+ owner: context.repo.owner,
128
+ repo: context.repo.repo,
129
+ body: 'Build artifacts (.whl and .tar.gz) are available for download for up to 30 days.
130
+ They are located at ${{ steps.artifact-upload.outputs.artifact-url }}'
131
+ })
You can’t perform that action at this time.
0 commit comments