File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 9090 strategy :
9191 matrix :
9292 python : ["3.9"]
93+ # Allows workflow to write comments
94+ permissions :
95+ pull-requests : write
96+ issues : write
9397 steps :
9498 - uses : actions/checkout@v4
9599 - name : Set up Python
@@ -113,8 +117,14 @@ jobs:
113117 if-no-files-found : error
114118 retention-days : 30
115119 - name : Comment Install instructions
116- uses : mshick/add-pr-comment@v2
120+ uses : actions/github-script@v7
117121 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 }}
122+ github-token : ${{ secrets.GITHUB_TOKEN }}
123+ script : |
124+ github.rest.issues.createComment({
125+ issue_number: context.issue.number,
126+ owner: context.repo.owner,
127+ repo: context.repo.repo,
128+ body: 'Build artifacts (.whl and .tar.gz) are available for download for up to 30 days.
129+ They are located at ${{ steps.artifact-upload.outputs.artifact-url }}'
130+ })
You can’t perform that action at this time.
0 commit comments