Skip to content

Commit

Permalink
Change the comment bot in check_svg
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Boi committed Jan 9, 2021
1 parent 5fea573 commit f56834b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check_svgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
run: >
python ./.github/scripts/check_svgs.py ./icomoon.json ./devicon.json ./icons
- name: Comment on the PR about the result - Success
uses: NejcZdovc/comment-pr@v1.1.1
if: success()
uses: github-actions-up-and-running/pr-comment@v1.0.1
env:
MESSAGE: |
Hi!
Expand All @@ -28,12 +28,12 @@ jobs:
Have a nice day,
SVG-Checker Bot :grin:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
message: ${{ env.MESSAGE }}

- name: Comment on the PR about the result - Failed
if: failure()
uses: github-actions-up-and-running/pr-comment@v1.0.1
uses: NejcZdovc/comment-pr@v1.1.1
env:
MESSAGE: |
Hi!
Expand All @@ -54,5 +54,5 @@ jobs:
PS. One day, I will be smart enough to fix these errors for you :persevere:. Until then, I can only point them out.
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
message: ${{ format(env.MESSAGE, env.ERR_MSGS)}}

0 comments on commit f56834b

Please sign in to comment.