From 89795578e50d0594a2992264e64571b5e2f6dfb3 Mon Sep 17 00:00:00 2001 From: tiffany-kobiton Date: Mon, 24 Aug 2026 16:00:38 -0400 Subject: [PATCH] Enable cron, Slack connection --- .github/workflows/status-digest.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/status-digest.yaml b/.github/workflows/status-digest.yaml index c3c81d32..97374e63 100644 --- a/.github/workflows/status-digest.yaml +++ b/.github/workflows/status-digest.yaml @@ -18,10 +18,10 @@ on: - ".github/scripts/docs-review-digest.js" - ".github/scripts/render-docs-review-digest.js" - # schedule: - # # 10:00 AM Eastern during daylight saving time. - # # GitHub cron uses UTC. - # - cron: "0 14 * * 1-5" + schedule: + # 10:00 AM Eastern during daylight saving time. + # GitHub cron uses UTC. + - cron: "0 14 * * 1,3,5" permissions: contents: read @@ -81,7 +81,7 @@ jobs: retention-days: 7 - name: Post Slack digest - if: ${{ github.event_name == 'workflow_dispatch' && inputs.post_to_slack == 'true' }} + if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.post_to_slack == 'true') }} env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_MESSAGE_FILE: ${{ runner.temp }}/docs-review-digest-slack.txt @@ -96,4 +96,6 @@ jobs: curl -X POST \ -H "Content-type: application/json" \ --data "$(jq -n --arg text "$MESSAGE" '{text: $text}')" \ - "$SLACK_WEBHOOK_URL" \ No newline at end of file + "$SLACK_WEBHOOK_URL" + + echo "Dinner Bell posted successfully." \ No newline at end of file