GitHub release

Let’s imagine a notification, which will be triggered if a new release is published  on a GitHub project.

Template
New release for {{ .repository.full_name }}!

---

Repository: {{ .repository.full_name }}
Release tag: {{ .release.tag_name }}

Browse: {{ .release.url }}
Rendered
New release for octocat/Hello-World!

---

Repository: octocat/Hello-World
Release tag: 0.0.1

Browse: https://api.github.com/.../releases/11248810
Payload
{
  "release": {
    "url": "https://api.github.com/.../releases/11248810",
    "tag_name": "0.0.1"
  },
  "repository": {
    "full_name": "octocat/Hello-World"
  }
}