-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5fea573
commit f56834b
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
if: success() | ||
uses: github-actions-up-and-running/[email protected] | ||
env: | ||
MESSAGE: | | ||
Hi! | ||
|
@@ -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! | ||
|
@@ -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)}} |