Skip to content

Commit cc20aab

Browse files
committed
Add merge_group trigger
1 parent 8fb48ff commit cc20aab

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/is-calypso-channel-green.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
name: Calypso Channel Status
22
run-name: ${{ github.actor }} Checking Calypso Slack Channel Status
3-
on: [push]
3+
4+
on:
5+
merge_group:
6+
47
jobs:
58
CheckCalypsoChannelStatus:
69
runs-on: ubuntu-latest
710
steps:
811
- run:
912
STATUS=$(curl -s https://public-api.wordpress.com/rest/v1.1/internal/calypso-slack-channel --header "Authorization: ${{ secrets.CALYPSO_CHANNEL_STATUS_API_SECRET }}")
10-
echo $STATUS
13+
echo $STATUS
1114
if [ "$STATUS" = "GREEN" ]; then
1215
echo "Calypso Slack channel is green."
1316
exit 0

0 commit comments

Comments
 (0)