Skip to content

Commit

Permalink
feat(e2e): react with success
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone committed Dec 28, 2022
1 parent 81cae40 commit f927ed3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,21 @@ jobs:
conclusion: success
details_url: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}

- name: React to comment with success
uses: dkershner6/reaction-action@v1
if: steps.test.outcome == 'success'
with:
token: ${{ secrets.GITHUB_TOKEN }}
commentId: ${{ github.event.comment.id }}
reaction: "hooray"

- name: React to comment with failure
uses: dkershner6/reaction-action@v1
if: steps.test.outcome != 'success'
with:
token: ${{ secrets.GITHUB_TOKEN }}
commentId: ${{ github.event.comment.id }}
reaction: "-1"
reaction: "confused"

- name: Set status failure
uses: LouisBrunner/checks-action@v1.5.0
Expand Down

0 comments on commit f927ed3

Please sign in to comment.