GitHub release published notifications on your phone.

Get a push notification when a new release is published on GitHub.

releaseDeveloper toolsReleases Signature verified
How it works

Three steps to your first push

STEP 01

Install the recipe

One click in Studio gives you a personal webhook URL.

STEP 02

Paste your URL into GitHub

Add it as a webhook for Releases.

STEP 03

Get a push on your phone

With the text, sound and buttons from the recipe.

Setup

How to set up the GitHub releases webhook

  1. Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
  2. In your repository (or organization), go to Settings > Webhooks and click Add webhook.
  3. Paste your webhook URL as the Payload URL and set Content type to application/json.https://••••••••/•••••••• your personal URL, shown after install
  4. Enter a secret and copy the same secret into JustPush.
  5. Choose Let me select individual events, tick Releases, and save. GitHub sends a ping right away.
  6. Tick **Releases** in the webhook's events. Only *published* releases push; drafts, edits and deletions are ignored.
  7. GitHub signs every delivery with your secret (`X-Hub-Signature-256`), and JustPush checks it, so requests that don't come from GitHub are rejected.
The code

What runs when the webhook arrives

Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.

transform.js
1// GitHub → release (release published)
2// Get a push notification when a new release is published on GitHub.
3// Docs: https://docs.github.com/en/webhooks/webhook-events-and-payloads#release
4
5// Header names can arrive in any case.
6function header(request, name) {
7 const headers = request.headers || {}
8 const key = Object.keys(headers).find((k) => k.toLowerCase() === name)
9 const value = key ? headers[key] : null
10 return Array.isArray(value) ? value[0] : value
11}
12
13// Only link to real http(s) URLs.
14function link(url, cta) {
15 return typeof url === "string" && /^https?:\/\//.test(url) ? [{ cta, url }] : []
16}
17
18function handleRequest(request) {
19 const body = request.body && typeof request.body === "object" ? request.body : {}
20 const event = header(request, "x-github-event")
21
22 // Saving the webhook makes GitHub send a ping; confirm the connection quietly.
23 if (event === "ping" || (body.zen && body.hook_id)) {
24 return {
25 title: "🔔 GitHub connected",
26 message: `Webhook for ${body.repository?.full_name ?? body.organization?.login ?? "your account"} is working`,
27 topic: "GitHub",
28 priority: -1,
29 }
30 }
31
32 // Guard: only release events. The header decides when it's there; the payload's
33 // shape is the fallback (for example in Studio's Test runner).
34 if (event ? event !== "release" : !(body.release)) {
35 console.log(`Ignoring GitHub "${event ?? "unknown"}" event`)
36 return null
37 }
38
39 const repo = body.repository?.full_name ?? "a repository"
40 const release = body.release
41
42 // Only published releases; drafts, edits and deletions are skipped.
43 if (body.action !== "published" || !release) {
44 console.log(`Skipping release action "${body.action}"`)
45 return null
46 }
47
48 const tag = release.tag_name ?? "a new version"
49 const name = release.name && release.name !== release.tag_name ? ` — ${release.name}` : ""
50 const by = release.author?.login ? ` by @${release.author.login}` : ""
51
52 return {
53 title: `${release.prerelease ? "🧪" : "🚀"} ${repo} ${tag}${release.prerelease ? " (pre-release)" : ""}`,
54 message: `Released${by}${name}`,
55 topic: "GitHub",
56 priority: release.prerelease ? -1 : 0, // Pre-releases are quieter than real releases
57 buttons: link(release.html_url, "View release"),
58 }
59}
Payload

The GitHub release webhook

This is what GitHub sends to your URL for releases. It is a sample, trimmed to the fields recipes use.

release · sample.json
1{
2 "action": "published",
3 "sender": {
4 "login": "janedoe"
5 },
6 "release": {
7 "id": 2,
8 "name": "Faster checkout",
9 "draft": false,
10 "author": {
11 "login": "janedoe"
12 },
13 "html_url": "https://github.com/acme/web/releases/tag/v2.4.0",
14 "tag_name": "v2.4.0",
15 "prerelease": false,
16 "published_at": "2026-09-29T10:00:00Z"
17 },
18 "repository": {
19 "html_url": "https://github.com/acme/web",
20 "full_name": "acme/web"
21 }
22}
Security

How the GitHub signature is verified

X-Hub-Signature-256

GitHub signs every webhook with an HMAC-SHA256 hash of the request body in the X-Hub-Signature-256 header, made with the secret you set on the webhook. Add the secret to the recipe in Studio and JustPush checks every request before your code runs, so requests that don't come from GitHub never reach your phone.

FAQ

GitHub release published notifications: questions

Does this work on iPhone and Android?

Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.

Do I need to write code?

No. Install the recipe in Studio, paste your webhook URL into GitHub and you are done. The code is there if you want to change the text, the sound or the buttons.

Can I change what the notification says?

Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.

What does it cost?

JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.

Ready when you are

GitHub on your phone in two minutes.

Install the recipe, paste one URL, done. Free for 30 days, no credit card required.