-
Notifications
You must be signed in to change notification settings - Fork 572
40 lines (35 loc) · 1.65 KB
/
title_to_mention.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Automatically at mention package teams if the package name is in the title
# Because evidently github won't let non-members do this.
on:
issues:
types: [opened, labeled]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: read
issues: write
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Mention MueLu
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
if: (contains(github.event.action, 'labeled') && contains(github.event.label.name, 'MueLu')) || (contains(github.event.action, 'opened') && contains(github.event.issue.title, 'MueLu'))
with:
issue-number: ${{ github.event.issue.number }}
body: |
Automatic mention of the @trilinos/muelu team
- name: Mention Ifpack2
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
if: (contains(github.event.action, 'labeled') && contains(github.event.label.name, 'Ifpack2')) || (contains(github.event.action, 'opened') && contains(github.event.issue.title, 'Ifpack2'))
with:
issue-number: ${{ github.event.issue.number }}
body: |
Automatic mention of the @trilinos/ifpack2 team
- name: Mention ROL
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
if: (contains(github.event.action, 'labeled') && contains(github.event.label.name, 'ROL')) || (contains(github.event.action, 'opened') && contains(github.event.issue.title, 'ROL'))
with:
issue-number: ${{ github.event.issue.number }}
body: |
Automatic mention of @aj463