AutomationMart
Home/Browse/Monitor GitHub repo access and push events with GitHub and Slack alerts
n8n

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

n8nn8n12 modulesv1.0
SlackGitHub

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, and PublicEvent. For each event, the workflow extracts the username of actor and looks it up in the itwhitelist data table to determine the user’s role. A Switch node then routes the event to the appropriate validation logic. • Member & Publi

At a glance

Monitor GitHub repo access and push events with GitHub and Slack alerts is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Slack, GitHub. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Slack, GitHub
Modules
12
Price
Free
Version
v1.0
Monitor GitHub repo access and push events with GitHub and Slack alerts workflow diagram

About this workflow

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, and PublicEvent. For each event, the workflow extracts the username of actor and looks it up in the itwhitelist data table to determine the user’s role. A Switch node then routes the event to the appropriate validation logic. • Member & Public events: Only users with the admin role are allowed. Any non-admin action such as adding a repository member or changing a private repository to public triggers an alert. • Push events: The user must exist in the whitelist. If no role is found, the user is treated as unknown and flagged. All unauthorized actions are reported to Slack, including the event type, actor name, and repository details. Setup steps: Credentials: Connect your GitHub Personal Access Token and Slack Bot Token. Create a Data Table named itwhitelist with columns githubusername and role. Add your GitHub username with the role admin to prevent self-alerts. Accordingly, add other developers and members in your organization with appropriate roles to white list them. Switch Configuration: Use the expression {{ $item.json.type }} in 'Rules' mode to route events. Logic: Configure the PushEvent IF node to flag users whose role is empty or missing. Configure the Member and Public IF nodes to flag users whose role is not admin.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Jira project management automation with Google Gemini & MCP server

Jira MCP Server Integration with n8n Overview Transform your Jira project management with the power of AI and automation! This n8n workflow template demonstrates how to create a seamless integration between chat interfaces, AI processing, and Jira Software using MCP (Model Context Protocol) server architecture. What This Workflow Does - Chat-Driven Automation: Trigger Jira operations through simple chat messages - AI-Powered Issue Creation: Automatically generate detailed Jira issues with descri

Free

Automated Upwork job alerts with MongoDB & Slack

Overview This automated workflow fetches Upwork job postings using Apify, removes duplicate job listings via MongoDB, and sends new job opportunities to Slack. Key Features: - Automated job retrieval from Upwork via Apify API - Duplicate filtering using MongoDB to store only unique jobs - Slack notifications for new job postings - Runs every 20 minutes during working hours (9 AM - 5 PM) This workflow requires an active Apify subscription to function, as it uses the Apify Upwork API to fet

Free

Competitor LinkedIn monitor with Airtop

Automating LinkedIn Competitive Monitoring Use Case Automatically track and summarize LinkedIn posts from key executives at competitor companies. This agent provides structured insights into hiring trends, product announcements, strategic shifts, and thought leadership, helping teams stay informed and responsive without manual monitoring. What This Automation Does This automation monitors and summarizes LinkedIn posts from competitor profiles and shares the results on Slack. It uses the followin

Free

Generate continuous PRD updates in Google Docs from Slack, Zoom, Jira, Zendesk, Figma and analytics using OpenAI

This workflow creates an automated Product Intelligence Engine that continuously collects signals from multiple product sources and generates structured PRD updates using AI. It ingests conversations, feedback, support tickets, analytics, and design comments, standardizes them, analyzes them with an AI PRD Agent, and automatically updates a Google Doc with structured PRD recommendations. Instead of manually reviewing Slack threads, Zoom calls, Jira comments, support tickets, and customer forms,

Free

Get a Slack notification for a new Zoom webinar

Every time a new Zoom webinar is created, Make will automatically send a Slack message to a channel or a user.

Free

Forward newly received Telnyx SMS to Slack Channel

When a new message is received in Telnyx, it is automatically forwarded to Slack.

Free

Download media files from Slack messages

Description: This n8n workflow helps you capture Slack messages via a webhook and download attached media files (like images, documents, or videos) directly from those messages. How it works: - Slack Trigger (Webhook) – Listens for new messages in a Slack channel where the app is added. - HTTP Request – Uses the file's private download URL to retrieve the media securely. Use cases: - Download files shared by team members in a Slack channel. - Capture and process media from specific project or su

Free

Automated LinkedIn profile discovery with Airtop and Google Search

About The LinkedIn Profile Discovery Automation Are you tired of manually searching for LinkedIn profiles or paying expensive data providers for often outdated information? If you spend countless hours trying to find accurate LinkedIn URLs for your prospects or candidates, this automation will change your workflow forever. Just give this workflow the information you have about a contact, and it will automatically augment it with a LinkedIn profile. How to find a LinkedIn Profile Link

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free