Quick overview
This workflow runs every morning, checks GitHub Atom release feeds for your listed repositories, sends new release notes to OpenAI for upgrade guidance tailored to your stack, and posts a formatted summary (breaking changes, security fixes, and checks) to a Slack channel.
How it works
- Runs every morning on a schedule.
- Builds the GitHub releases Atom feed URL for each configured repository and fetches each feed over HTTP.
- Parses the feeds to keep releases published within the configured lookback window (or the latest release per repo in manual tests) and prepares an AI input payload with your stack notes.
- Sends each release’s title and notes to the OpenAI Chat Completions API to generate structured JSON upgrade notes and advice.
- Validates and parses the AI JSON response, then formats a Slack-ready message including the upgrade verdict, breaking changes, security fixes, and pre-upgrade checks.
- Posts one message per release to the configured Slack channel.
Setup
- Create an OpenAI (or compatible) API credential using HTTP Header Auth (for example, header name
Authorization with value Bearer <API_KEY>) and select it in the AI request step.
- Connect your Slack account credential and ensure the workflow can post to the target channel.
- In the Config values, set
repos (comma-separated owner/name), slack_channel_id, and optionally adjust lookback_hours, max_releases_per_repo, and stack_notes to match your environment.