mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 04:59:59 +02:00
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:
commit
2ff6498f57
1 changed files with 18 additions and 0 deletions
18
.github/workflows/issue-label-notifier.yaml
vendored
Normal file
18
.github/workflows/issue-label-notifier.yaml
vendored
Normal 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!'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue