File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ jobs:
4343 if : steps.test-individual-shell-tools.outputs.attempted == 'y' || steps.test-jq.outputs.attempted == 'y' || steps.test-shell-pipelines.outputs.attempted == 'y'
4444 env :
4545 GH_TOKEN : ${{ secrets.MY_TOKEN }}
46- ISSUE_URL : ${{ github.event.issue .html_url }}
46+ ISSUE_URL : ${{ github.event.pull_request .html_url }}
4747 run : |
48- gh issue comment $ISSUE_URL --body-file testoutput.txt
48+ gh pr comment $ISSUE_URL --body-file testoutput.txt
4949 - name : add appropriate labels
5050 if : steps.test-individual-shell-tools.outputs.complete == 'y' || steps.test-jq.outputs.complete == 'y' || steps.test-shell-pipelines.outputs.complete == 'y'
5151 env :
5252 GH_TOKEN : ${{ secrets.MY_TOKEN }}
53- ISSUE_URL : ${{ github.event.issue .html_url }}
53+ ISSUE_URL : ${{ github.event.pull_request .html_url }}
5454 run : |
55- gh issue edit $ISSUE_URL --add-label "Complete"
56- gh issue edit $ISSUE_URL --remove-label "Needs Review"
55+ gh pr edit $ISSUE_URL --add-label "Complete"
56+ gh pr edit $ISSUE_URL --remove-label "Needs Review"
You can’t perform that action at this time.
0 commit comments