File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 3939 env :
4040 lintreport : ' ./report.txt'
4141 outputs :
42- proceed : ${{ steps.report-exists.proceed }}
43- report : ${{ steps.report-exists.report }}
42+ proceed : ${{ steps.report-exists.outputs. proceed }}
43+ report : ${{ steps.report-exists.outputs. report }}
4444
4545 steps :
4646 - name : Checkout Repo
5656 output : ' ${{ env.lintreport }}'
5757
5858 - name : Find previous PR comment
59- if : ${{ steps.markdownlint.outcome == 'success' }}
59+ if : steps.markdownlint.outcome == 'success'
6060 uses : peter-evans/find-comment@v3
6161 id : findcomment
6262 with :
6565 direction : last
6666
6767 - name : Comment on success
68- if : ${{ steps.markdownlint.outcome == 'success' }}
68+ if : steps.markdownlint.outcome == 'success'
6969 id : congrats
7070 uses : peter-evans/create-or-update-comment@v4
7171 with :
9494 echo "::notice::No linting issues with changed markdown"
9595 fi
9696
97- exit 0
98-
9997 - name : Other linter errors
10098 if : ${{ steps.markdownlint.outcome != 'success' && hashFiles(env.lintreport) == '' }}
10199 run : |
@@ -104,7 +102,7 @@ jobs:
104102
105103 pr-comment :
106104 needs : lint-markdown
107- if : ${{ needs.lint-markdown.outputs.proceed == 'true' }}
105+ if : needs.lint-markdown.outputs.proceed == 'true'
108106 runs-on : ubuntu-latest
109107
110108 steps :
You can’t perform that action at this time.
0 commit comments