File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -56,21 +56,22 @@ jobs:
5656 - run : unzip pr.zip
5757 - name : ' Find PR Title'
5858 id : find-pr
59- uses : actions/github-script@v3
59+ uses : actions/github-script@v6
6060 with :
6161 github-token : ${{ secrets.GITHUB_TOKEN }}
6262 script : |
6363 var fs = require('fs');
6464 var titleString = String(fs.readFileSync('./NR'));
65- echo "::set-output name=title::titleString"
65+ return titleString
66+ result-encoding : string
6667 - name : " Log PR Title"
6768 run : |
68- echo \ "${{ steps.find-pr.outputs.title }}\ "
69+ echo "${{ steps.find-pr.outputs.result }}"
6970
7071 - name : " Check PR title"
7172 id : is-docs
7273 if : >
73- startsWith(${{ steps.find-pr.outputs.title }}, 'docs:')
74+ startsWith(${{ steps.find-pr.outputs.result }}, 'docs:')
7475 run : |
7576 OUTPUT=true
7677 echo "::set-output name=isDocs::$OUTPUT"
You can’t perform that action at this time.
0 commit comments