Merge pull request #2335 from cisagov/2263-notifications-by-label

Add Github action to notify users by labels added to issues
This commit is contained in:
Kaitlin Abbitt 2024-07-18 11:33:58 -06:00 committed by GitHub
commit 2ff6498f57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,18 @@
name: Notify users based on issue labels
on:
issues:
types: [labeled]
pull_request:
types: [labeled]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: jenschelkopf/issue-label-notification-action@1.3
with:
recipients: |
design-review=@Katherine-Osos
message: 'cc/ {recipients} — adding you to this **{label}** issue!'