hellej/PR Slack Reminder
Sends a Slack reminder about open PRs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| slack-bot-token | Slack bot token to send the message via (the bot must be a member of the channel) | yes | — |
| github-token | GitHub token to access the repository | yes | — |
| github-token-for-state | GitHub 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-mode | Run mode: post (default) posts a new reminder; update refreshes an existing reminder | no | post |
| state-artifact-name | Name of the artifact containing state from previous runs (required when run-mode is update) | no | pr-slack-reminder-state |
| slack-channel-name | Slack channel name to send the message to | no | — |
| slack-channel-id | Slack channel ID to send the message to | no | — |
| github-repositories | Line 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 | — |
| filters | Global filters (e.g. {"authors": ["alice", "bob"], "labels": ["bug", "enhancement"], "ignored-labels": ["wip"], "ignored-terms": ["WIP"]}) | no | — |
| repository-filters | Repository-specific filters (e.g., "repo1: {"ignored-authors": ["alice"]}; repo2: {"labels": ["bug"]}) | no | — |
| github-user-slack-user-id-mapping | Mapping of GitHub usernames to Slack user IDs (e.g., "alice: U08RWPGNCUX\\nbob: U08RWPGNWER") | no | — |
| pr-list-heading | Main heading of the message to send (`<pr_count>` gets replaced) | no | There are <pr_count> open PRs 👀 |
| no-prs-message | Message to send when there are no open PRs | no | — |
| old-pr-threshold-hours | PR age in hours after which a PR is highlighted as old (with alarm emoji and bold age text) | no | 96 |
| group-by-repository | Group PRs by repository with repository headings. When enabled, pr-list-heading is ignored. | no | false |
Outputs
no outputs