You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
PR review norification
v1.1
This GitHub action triggers on a PR review update (comment, requested changes, approve changes).
Insert secrets in to Github secrets. The keys has to be as follows:
EMAIL_USERNAME, eg. name@server.com
EMAIL_PASSWORD, eg. passwordToEmail
EMAIL_DOMAIN, eg. smtp.gmail.com
❗ = Required
Input | Description | |
---|---|---|
❗ | filePath | Path to the readme. Where notification addresses are to be found. Computed by the steps in workflow |
❗ | usernameSecret | The username to the Email to send notifications from. Fetched from secrets. |
❗ | passwordSecret | Password to email to send notification from. Fetched from secrets. |
❗ | domainSecret | smtp server to send email from. Eg. smtp.gmail.com |
❗ | keyword | Keyword to be included in a PR-readme if notification is to be enabled. |
name: Some PR
on:
pull_request_review:
types: [edited, dismissed, submitted]
jobs:
notif-prs:
runs-on: ubuntu-latest
steps:
- uses: isacarvid/PR-review-notification
with:
usernameSecret: ${{ secrets.EMAIL_USERNAME }}
passwordSecret: ${{ secrets.EMAIL_PASSWORD }}
domainSecret: ${{ secrets.EMAIL_DOMAIN }}
keyword: '#notify'
```