feat(ci): add weekly on-call Slack notification workflow - #13168
Merged
mekarpeles merged 1 commit intoJul 16, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds GitHub Actions automation for posting weekly PM on-call and deployment-lead reminders to Slack, backed by a roster in-repo and a reusable Slack publishing workflow to avoid duplicating Slack posting logic across future workflows.
Changes:
- Adds a scheduled workflow to compute a weekly lead/secondary rotation and post Monday/Tuesday reminders to Slack.
- Adds a reusable
workflow_callSlack publisher that can post a parent message and optional threaded replies. - Introduces
pm_config.jsonto define the on-call personnel roster (Slack@mentionIDs).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/pm_on_call_notification.yml |
Scheduled Monday/Tuesday workflow that builds a rotation-based message and calls the reusable Slack notifier. |
.github/workflows/notify_slack.yml |
Reusable workflow wrapping slackapi/slack-github-action to post a parent message and optional threaded replies. |
.github/workflows/config/pm_config.json |
On-call roster configuration used by the scheduled workflow. |
Comments suppressed due to low confidence (3)
.github/workflows/pm_on_call_notification.yml:52
- This file ends with a blank line that contains trailing spaces (line 52). Trailing whitespace tends to trip pre-commit/linters; please remove the spaces so the file ends cleanly.
message: ${{ needs.build_message.outputs.message }}
secrets:
slack_token: ${{ secrets.SLACK_TOKEN }}
.github/workflows/notify_slack.yml:95
- This workflow ends with trailing whitespace on the final blank line (line 95). Removing it avoids trailing-whitespace lint failures.
text: ${{ toJson(matrix.reply) }}
.github/workflows/config/pm_config.json:19
- This JSON file appears to end with a blank line containing trailing spaces (line 19). Please remove the trailing whitespace so it ends cleanly.
}
jimchamp
commented
Jul 16, 2026
Posts an on-call announcement every Monday and a deployment-lead reminder every Tuesday, @mentioning people from the roster in pm_config.json. Lead/secondary rotate weekly, computed from days-since-Unix-epoch rather than ISO week number so the rotation doesn't glitch at year boundaries -- no stored index needed. Adds notify_slack.yml, a reusable workflow wrapping slackapi/slack-github-action for posting (and optionally threading replies to) a Slack message, so future workflows can publish to Slack without duplicating that logic.
jimchamp
force-pushed
the
on-call-notifications
branch
from
July 16, 2026 01:10
d94f315 to
60b94c8
Compare
jimchamp
commented
Jul 16, 2026
Collaborator
Author
There was a problem hiding this comment.
I intend to move all configurations for project management workflows to this file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Posts an on-call announcement every Monday and a deployment-lead reminder every Tuesday, @mentioning people from the roster in pm_config.json. Lead/secondary rotate weekly, computed from days-since-Unix-epoch rather than ISO week number so the rotation doesn't glitch at year boundaries -- no stored index needed.
Adds notify_slack.yml, a reusable workflow wrapping slackapi/slack-github-action for posting (and optionally threading replies to) a Slack message, so future workflows can publish to Slack without duplicating that logic.