Templates / Monitor GitHub repo access and push events with GitHub and Slack alerts

Monitor GitHub repo access and push events with GitHub and Slack alerts

Ready for 3.0

by RamS ✓ · 124 views · created 2025-12-31 · SecOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 12 nodes and runs on a schedule (every hour). Along the way it connects Slack. It also calls api.github.com over HTTP.

How it runs

Trigger: On a schedule (every hour).

  1. Github Events (HTTP) (HTTP Request): calls api.github.com
  2. Filter Member Events (Code): runs custom JavaScript code
  3. Check Whitelist (Data table): get
  4. Switch: routes items into 3 branches
  5. MemberEvent (If): checks a condition and branches into true / false
  6. PublicEvent (If): checks a condition and branches into true / false
  7. PushEvent (If): checks a condition and branches into true / false
  8. Member Event Alert (Slack): uses Slack
  9. Public Event Alert (Slack): uses Slack
  10. Push Event Alert (Slack): uses Slack

Services it uses

Slack

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.

Nodes used (8)

From the author

Monitor GitHub Repositories for Unauthorized Actions How it works: This workflow monitors GitHub for high-risk activities to ensure that only authorized users can modify the repository. It periodically polls GitHub for events such as PushEvent, MemberEvent,…

Excerpt from RamS's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.