# GitHub Release Slack Alerts

Source: https://openflow.run/zh-tw/templates/github-release-slack-alerts/
Content language: en
Template revision: f2bf5895d91486412f320151dafd9c6b95b42091

營運

Check configured GitHub repositories daily and notify Slack when their latest release was published within the last 24 hours.

[在 Open Flow 中使用](https://console.openflow.run/flows?importUrl=https%3A%2F%2Fraw.githubusercontent.com%2Foomol-lab%2Fawesome-workflow-templates%2Ff2bf5895d91486412f320151dafd9c6b95b42091%2Fworkflows%2Fgithub-release-slack-alerts%2Ftemplates%2Fgithub-release-slack-alerts.openflow.json)

*   [Open Flow JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/github-release-slack-alerts/templates/github-release-slack-alerts.openflow.json)
*   [n8n JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/github-release-slack-alerts/templates/github-release-slack-alerts.n8n.json)

![GitHub Release Slack Alerts 在 Open Flow 中的工作流程截圖](https://openflow.run/_astro/preview-light.B1Bf0DlC_27sXxF.webp)

Check the latest release of each configured GitHub repository every day. Send one Slack message per release published within the preceding 24 hours.

## Setup

For Open Flow, import the JSON and configure:

| Node | Configuration |
| --- | --- |
| Daily release check | Set the schedule and timezone. The default is midnight UTC. |
| Read latest releases | Edit the repositories array and connect GitHub in the node’s Actions settings. |
| Send release alerts | Replace `YOUR_SLACK_CHANNEL_ID`, connect Slack in Actions, and invite the bot to the channel. |

The example repositories are `n8n-io/n8n` and `home-assistant/core`. For n8n, edit the list in **RepoConfig**, connect Slack in **Send Message**, and replace its channel ID. GitHub reads use the public latest-release API; add a GitHub credential on the HTTP node if your repository requires authentication.

Enable the workflow after setup. It reads one latest release per repository, in list order, before sending any notifications. An empty list or no recent releases sends no messages. A read failure stops all notifications; a Slack failure stops later messages. Rerunning can send duplicate alerts, and an earlier Slack message may already have been delivered. GitHub’s latest-release endpoint omits drafts and prereleases; a repository with no published release fails that read.

## Changes to the source

*   Use a correct 24-hour date comparison and an explicit UTC schedule.
*   Handle a missing release body as empty text, use the tag when a release name is absent, and link to the public release page.
*   Escape Slack mention/link markup in repository names and release text.
*   Keep repository identity with each release and preserve the order of reads and notifications.

Adapted from [GitHub release notifications to Slack](https://github.com/Zie619/n8n-workflows/blob/ae8cf6dc5b873cbb4f74587aa9180ed3a9f70682/workflows/Code/0546_Code_Schedule_Create_Scheduled.json) in [Zie619/n8n-workflows](https://github.com/Zie619/n8n-workflows). The source export does not identify a separate template author or license.

The collection’s [MIT notice](https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/LICENSE) is pinned at a later revision. This is the collection notice at that revision; it does not establish a separate original template author’s license. Our changes are listed above; see [repository licensing](https://github.com/oomol-lab/awesome-workflow-templates/blob/f2bf5895d91486412f320151dafd9c6b95b42091/README.md#licensing).

> MIT License
> 
> Copyright (c) 2025 Zie619
> 
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
> 
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## 使用的應用

*   [**GitHub**`github`](https://console.openflow.run/connections/github)
*   [**Slack**`slack`](https://console.openflow.run/connections/slack)

## 設定需求

*   GitHub connection
*   Slack connection and channel ID
*   Repository owner/name list
*   Schedule timezone

*   github
*   releases
*   slack
*   schedule

[在 GitHub 查看](https://github.com/oomol-lab/awesome-workflow-templates/blob/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/github-release-slack-alerts/README.md)
