File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,15 +101,20 @@ jobs:
101101
102102 - name : Report progress
103103 if : ${{ github.event_name == 'issues' || github.event_name == 'issue_comment' }}
104- uses : actions-cool/issues-helper@v3
105- with :
106- actions : update-issue
107- token : ${{ secrets.GITHUB_TOKEN }}
108- update-mode : append
109- body : |
104+ run : |
105+ gh issue view "$ISSUE" --json body | jq -r '.body' >body.txt
106+ cat >>body.txt <<-EOF
110107 ${{ env.MARKER }}
111108
112- Running ${{ steps.pr-number.outputs.action }} on #${{ steps.pr-number.outputs.pr }}...
109+ Running $ACTION on #$INPUT_PR...
110+ EOF
111+ gh issue edit "$ISSUE" --body-file body.txt
112+ rm body.txt
113+ env :
114+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
115+ INPUT_PR : ${{ inputs.pr }}
116+ ACTION : ${{ inputs.action }}
117+ ISSUE : ${{ github.event.issue.number }}
113118
114119 - name : Report failure
115120 if : ${{ failure() && (github.event_name == 'issues' || github.event_name == 'issue_comment') }}
@@ -442,4 +447,5 @@ jobs:
442447 gh issue edit "$ISSUE" --body-file body.new.txt
443448 rm body.txt body.new.txt
444449 env :
450+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
445451 ISSUE : ${{ github.event.issue.number }}
You can’t perform that action at this time.
0 commit comments