Skip to content

Commit da08bbd

Browse files
committed
add breaking change notifier
1 parent f7ab898 commit da08bbd

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Trigger Breaking Change Notifications
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- closed
7+
- reopened
8+
- labeled
9+
- unlabeled
10+
11+
jobs:
12+
trigger-notifier:
13+
if: contains(github.event.pull_request.labels.*.name, 'breaking')
14+
secrets: inherit
15+
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
16+
with:
17+
sender_login: ${{ github.event.sender.login }}
18+
sender_avatar: ${{ github.event.sender.avatar_url }}
19+
repo: ${{ github.repository }}
20+
pr_number: ${{ github.event.pull_request.number }}
21+
pr_title: "${{ github.event.pull_request.title }}"
22+
pr_body: "${{ github.event.pull_request.body || '_Empty PR description_' }}"
23+
pr_base_ref: ${{ github.event.pull_request.base.ref }}
24+
pr_author: ${{ github.event.pull_request.user.login }}
25+
event_action: ${{ github.event.action }}
26+
pr_merged: ${{ github.event.pull_request.merged }}

0 commit comments

Comments
 (0)