File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 11name : Development
22
3+ # Allows workflow to write comments
4+ permissions :
5+ pull-requests : write
6+ issues : write
7+
38on :
49 pull_request :
510 types : [opened, synchronize, reopened]
@@ -113,8 +118,14 @@ jobs:
113118 if-no-files-found : error
114119 retention-days : 30
115120 - name : Comment Install instructions
116- uses : mshick/add-pr-comment@v2
121+ uses : actions/github-script@v7
117122 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