forked from alshedivat/al-folio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved prettier comment on PR to its own action (alshedivat#2114)
Signed-off-by: George Araújo <[email protected]>
- Loading branch information
1 parent
bbaae0a
commit db0a92b
Showing
3 changed files
with
28 additions
and
45 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Comment on pull request | ||
|
||
on: | ||
repository_dispatch: | ||
types: [prettier-failed-on-pr] | ||
|
||
jobs: | ||
comment: | ||
# available images: https://github.com/actions/runner-images#available-images | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: PR comment with html diff 💬 | ||
uses: thollander/actions-comment-pull-request@v2 | ||
with: | ||
comment_tag: prettier-failed | ||
pr_number: ${{ github.event.client_payload.pr_number }} | ||
message: | | ||
Failed [prettier code check](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.event.client_payload.run_id }}). Check [this file](${{ github.event.client_payload.artifact_url }}) for more information. |
This file was deleted.
Oops, something went wrong.
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