Skip to content

Commit a3af2a7

Browse files
committed
fix
Signed-off-by: Frederic BIDON <[email protected]>
1 parent bf48dd4 commit a3af2a7

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/markdown.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
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
@@ -56,7 +56,7 @@ jobs:
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:
@@ -65,7 +65,7 @@ jobs:
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:
@@ -94,8 +94,6 @@ jobs:
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:

0 commit comments

Comments
 (0)