
Push Notifications now support optional redirection and actions fields.
Use redirection to open a URL when a user taps the notification. Use actions to show up to four buttons on long-press.
redirection: HTTPS URL opened on notification tap.actions: up to 4 action buttons shown on long-press.type:
open_url: opens the provided URL in browser.webhook: triggers backend webhook call (GET or POST).This feature is available in the ActivitySmith iOS app version 1.1.0 and newer.
{
"title": "Build Failed 🚨",
"message": "CI pipeline failed on main branch",
"redirection": "https://github.com/org/repo/actions/runs/123456789",
"actions": [
{
"title": "Open Failing Run",
"type": "open_url",
"url": "https://github.com/org/repo/actions/runs/123456789"
},
{
"title": "Create Incident",
"type": "webhook",
"url": "https://hooks.example.com/incidents/create",
"method": "POST",
"body": {
"service": "payments-api",
"severity": "high"
}
}
]
}All SDKs, CLI, and the GitHub Action now support these optional fields in push notification requests.