Skip to content

Commit

Permalink
update pr owner
Browse files Browse the repository at this point in the history
  • Loading branch information
Aibono1225 committed Sep 28, 2023
1 parent c82ca1f commit 3d54775
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/validate-frontmatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ jobs:
- name: Add Job Summary
if: failure()
run: |
echo 'Hi "$pr_owner"' >> $GITHUB_STEP_SUMMARY
echo '${{ steps.check_markdown.outputs.stdout }}' >> $GITHUB_STEP_SUMMARY
echo "Hi @$pr_owner," >> $GITHUB_STEP_SUMMARY
echo "${{ steps.check_markdown.outputs.stdout }}" >> $GITHUB_STEP_SUMMARY
# Step 6: Leave a comment if the validation has failed and if it's not a PR from a fork
- name: Comment on PR
if: failure() && github.repository != 'SSWConsulting/SSW.Rules.Content'
uses: mshick/add-pr-comment@v2
with:
message: |
Hi ${{ env.pr_owner }},
Hi @$pr_owner,
${{ steps.check_markdown.outputs.stdout }}
Please fix the Frontmatter in your Markdown files.
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 3d54775

Please sign in to comment.