We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
merge_group
1 parent 8fb48ff commit cc20aabCopy full SHA for cc20aab
.github/workflows/is-calypso-channel-green.yml
@@ -1,13 +1,16 @@
1
name: Calypso Channel Status
2
run-name: ${{ github.actor }} Checking Calypso Slack Channel Status
3
-on: [push]
+
4
+on:
5
+ merge_group:
6
7
jobs:
8
CheckCalypsoChannelStatus:
9
runs-on: ubuntu-latest
10
steps:
11
- run:
12
STATUS=$(curl -s https://public-api.wordpress.com/rest/v1.1/internal/calypso-slack-channel --header "Authorization: ${{ secrets.CALYPSO_CHANNEL_STATUS_API_SECRET }}")
- echo $STATUS
13
+ echo $STATUS
14
if [ "$STATUS" = "GREEN" ]; then
15
echo "Calypso Slack channel is green."
16
exit 0
0 commit comments