Detect GitHub Actions supply-chain risks with Gemini and Slack
Ready for 3.0What this workflow does
This AI workflow has 34 nodes and runs on a schedule (every day at 07:00). Along the way it connects GitHub, Google Gemini Chat Model and Slack. It also calls api.github.com over HTTP.
How it runs
Trigger: On a schedule (every day at 07:00).
- Settings (Edit Fields (Set)): sets 8 fields: github_owner, owner_type, repo_name_filter…
- Create Inventory Table (Data table): create (table)
- Load Inventory (Data table): get (row)
- List Repositories (HTTP Request): calls an HTTP API
- Filter: keeps only the items that match a condition
- Limit: keeps the first few items
- List Workflow Files (GitHub): list (file)
- Keep YAML Files (Filter): keeps only the items that match a condition
- Classify Changes (Code): runs custom JavaScript code
- Changed? (If): checks a condition and branches into true / false
…plus 19 more steps. See the full node list below.
Services it uses
Other Google Gemini + Slack templates (309) · Other GitHub + Slack templates (68) · Other GitHub + Google Gemini templates (18)
HTTP calls to: api.github.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (14)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - HTTP Request
n8n-nodes-base.httpRequest - Filter
n8n-nodes-base.filter - Limit
n8n-nodes-base.limit - GitHub
n8n-nodes-base.github - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Slack
n8n-nodes-base.slack - Merge
n8n-nodes-base.merge
From the author
Quick Overview This workflow runs daily to scan GitHub Actions workflow files across a GitHub org or user, flags supply-chain risk patterns and unpinned actions, uses Google Gemini to review new or changed workflows, and posts instant alerts plus a daily…