hellej/PR Slack Reminder

Sends a Slack reminder about open PRs

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
slack-bot-tokenSlack bot token to send the message via (the bot must be a member of the channel)yes
github-tokenGitHub token to access the repositoryyes
github-token-for-stateGitHub token that has read access to artifacts of the current repository (i.e. actions: read). Only needed if the run-mode is `update` and if the default github-token misses permissions.yes
run-modeRun mode: post (default) posts a new reminder; update refreshes an existing remindernopost
state-artifact-nameName of the artifact containing state from previous runs (required when run-mode is update)nopr-slack-reminder-state
slack-channel-nameSlack channel name to send the message tono
slack-channel-idSlack channel ID to send the message tono
github-repositoriesLine break separated list of GitHub repositories (max 30) to check for open PRs. If not provided, the repository of the current workflow run will be used.no
filtersGlobal filters (e.g. {"authors": ["alice", "bob"], "labels": ["bug", "enhancement"], "ignored-labels": ["wip"], "ignored-terms": ["WIP"]})no
repository-filtersRepository-specific filters (e.g., "repo1: {"ignored-authors": ["alice"]}; repo2: {"labels": ["bug"]})no
github-user-slack-user-id-mappingMapping of GitHub usernames to Slack user IDs (e.g., "alice: U08RWPGNCUX\\nbob: U08RWPGNWER")no
pr-list-headingMain heading of the message to send (`<pr_count>` gets replaced)noThere are <pr_count> open PRs 👀
no-prs-messageMessage to send when there are no open PRsno
old-pr-threshold-hoursPR age in hours after which a PR is highlighted as old (with alarm emoji and bold age text)no96
group-by-repositoryGroup PRs by repository with repository headings. When enabled, pr-list-heading is ignored.nofalse

no outputs