Skip to content

Commit

Permalink
ci: add in email step
Browse files Browse the repository at this point in the history
  • Loading branch information
malandis committed Sep 17, 2024
1 parent 0ae74f4 commit c427a8d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,12 @@ jobs:
continue-on-error: true
run: make build-examples

# TODO: set up email secrets
# - name: Send CI failure mail
# if: ${{ steps.validation.outcome == 'failure' }}
# uses: momentohq/standards-and-practices/github-actions/error-email-action@gh-actions-v1
# with:
# username: ${{secrets.MOMENTO_ROBOT_GMAIL_USERNAME}}
# password: ${{secrets.MOMENTO_ROBOT_GMAIL_PASSWORD}}
- name: Send CI failure mail
if: ${{ steps.validation.outcome == 'failure' }}
uses: momentohq/standards-and-practices/github-actions/error-email-action@gh-actions-v1
with:
username: ${{secrets.MOMENTO_ROBOT_GMAIL_USERNAME}}
password: ${{secrets.MOMENTO_ROBOT_GMAIL_PASSWORD}}

- name: Flag Job Failure
if: ${{ steps.validation.outcome == 'failure' }}
Expand Down

0 comments on commit c427a8d

Please sign in to comment.