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.
1 parent d40784b commit 8fb48ffCopy full SHA for 8fb48ff
.github/workflows/is-calypso-channel-green.yml
@@ -6,7 +6,8 @@ jobs:
6
runs-on: ubuntu-latest
7
steps:
8
- run:
9
- STATUS=$(curl -s https://public-api.wordpress.com/rest/v1.1/internal/calypso-slack-channel)
+ 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
11
if [ "$STATUS" = "GREEN" ]; then
12
echo "Calypso Slack channel is green."
13
exit 0
0 commit comments