feat: add event type and action filtering

Configure which events to forward via comma-separated 'events' config.
Supports event-level ('push', 'pull_request') or event:action-level
('pull_request:opened', 'issues:closed') filtering.

Empty/omitted = forward everything (backwards compatible).
This commit is contained in:
2026-03-11 02:04:30 +00:00
parent b5ca99ad9a
commit 19a7b31dea
5 changed files with 232 additions and 15 deletions

View File

@@ -15,3 +15,18 @@ signal_recipient = ""
# OR: Signal group ID for group notifications (overrides signal_recipient)
# signal_group_id = ""
# Event filter — comma-separated list of event types to forward.
# Use "event" for all actions, or "event:action" for specific actions.
# Leave empty or omit to forward everything.
#
# Examples:
# events = "pull_request:opened, pull_request:closed, issues:opened"
# events = "push, pull_request, workflow_run"
# events = "pull_request:opened"
#
# Available events: push, issues, issue_comment, pull_request,
# pull_request_review, pull_request_review_comment, release,
# star, fork, workflow_run, create, delete
#
# events = ""