Skip to content

Commit

Permalink
send message in pull request when test failed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Beltrán committed May 9, 2024
1 parent e0db885 commit 873d432
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@ jobs:

- name: Test
run: npm test

- name: Comment to PR
if: failure() && github.event_name == 'pull_request'
uses: thollander/actions-comment-pull-request@v1
with:
message: "⚠️ Los tests han fallado. Por favor, revisa los cambios propuestos."
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 873d432

Please sign in to comment.