Skip to content

Commit 498c0e7

Browse files
authored
[build] alert Slack when a CDP update lands on trunk (#17950)
* [build] alert Slack when a CDP update lands on trunk * [build] ask in the release alert whether anything needs to land first
1 parent 7bfaedb commit 498c0e7

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release Ready Alert
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
paths:
7+
- 'common/devtools/**'
8+
9+
permissions: {}
10+
11+
jobs:
12+
notify:
13+
name: Notify Release Ready
14+
if: >
15+
github.event.repository.fork == false &&
16+
github.event.pull_request.merged == true &&
17+
github.event.pull_request.head.ref == 'pinned-browser-updates' &&
18+
contains(github.event.pull_request.title, 'with CDP')
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Slack Notification
22+
uses: rtCamp/action-slack-notify@v2
23+
env:
24+
SLACK_ICON_EMOJI: ':rocket:'
25+
SLACK_COLOR: good
26+
SLACK_CHANNEL: selenium-tlc
27+
SLACK_USERNAME: GitHub Workflows
28+
SLACK_TITLE: Ready for Release
29+
SLACK_MESSAGE: "CDP was updated in #${{ github.event.pull_request.number }}. Selenium is ready for the next release. Anything that needs to land before it goes out?"
30+
MSG_MINIMAL: actions url
31+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)