Skip to content

Commit

Permalink
fix comment logic
Browse files Browse the repository at this point in the history
  • Loading branch information
anshgoyalevil committed Oct 18, 2024
1 parent 284fe3a commit 85f5fab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/if-nodejs-pr-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,10 @@ jobs:
OUTPUT=$(npm run test:md || true)
echo "$OUTPUT" | tee markdown_output.txt
echo "::set-output name=markdown_output::$OUTPUT"
shell: bash

# Post a comment using sticky-pull-request-comment
- name: Comment on PR with markdown issues
if: ${{ always() && steps.markdown_check.outputs.markdown_output != '' }}
if: ${{ steps.markdown_check.outputs.markdown_output != '' }}
uses: marocchino/sticky-pull-request-comment@3d60a5b2dae89d44e0c6ddc69dd7536aec2071cd
with:
header: markdown-check-error
Expand Down

0 comments on commit 85f5fab

Please sign in to comment.