-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtrigger-breaking-change-alert.yaml
More file actions
28 lines (26 loc) · 1.2 KB
/
Copy pathtrigger-breaking-change-alert.yaml
File metadata and controls
28 lines (26 loc) · 1.2 KB
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
name: Trigger Breaking Change Notifications
# Upstream RAPIDS Slack alerting (posts to NVIDIA's #breaking-change channel
# via a secret this fork doesn't hold). Kept for cuVS-sync reference; the
# pull_request_target trigger was removed so VecFlow PRs don't fire it.
# Manual-only via workflow_dispatch.
on:
workflow_dispatch:
jobs:
trigger-notifier:
if: contains(github.event.pull_request.labels.*.name, 'breaking')
permissions:
contents: read
uses: rapidsai/shared-workflows/.github/workflows/breaking-change-alert.yaml@main
secrets:
NV_SLACK_BREAKING_CHANGE_ALERT: ${{ secrets.NV_SLACK_BREAKING_CHANGE_ALERT }}
with:
sender_login: ${{ github.event.sender.login }}
sender_avatar: ${{ github.event.sender.avatar_url }}
repo: ${{ github.repository }}
pr_number: ${{ github.event.pull_request.number }}
pr_title: "${{ github.event.pull_request.title }}"
pr_body: "${{ github.event.pull_request.body || '_Empty PR description_' }}"
pr_base_ref: ${{ github.event.pull_request.base.ref }}
pr_author: ${{ github.event.pull_request.user.login }}
event_action: ${{ github.event.action }}
pr_merged: ${{ github.event.pull_request.merged }}