Never Miss a Branch Protection Change

Branch protection is your safety net, but if someone disables it without telling you, you don't know until something breaks. Get a Telegram alert the moment protection status changes so you can investigate.

Trigger

Branch Changed

Triggers when a GitHub branch changes. Monitors a specific branch for: - New commits pushed (head commit SHA changes) - Protection status toggled (branch becomes protected or unprotected) - Protection settings changed, including: required status checks and their enforcement level, admin enforcement, required pull request reviews (dismiss stale reviews, code owner reviews, approving review count, last push approval), required linear history, force push allowance, deletion allowance, conversation resolution, branch locking, and fork syncing.

Telegram logo

Action

Send Message

Send a text message to a telegram chat using the bot api.

Why this helps

Someone disables branch protection on main to force-push a hotfix. No one notices until reviewers check why their PRs stopped working. Security assumption broken and no audit trail visible to you.

  • Catch unauthorized protection changes immediately
  • Maintain code security without constant manual checks
  • Get audit trail in Telegram for compliance purposes

Setup

Build it in a few focused steps.

  • 1Connect GitHub and Telegram to Notis.
  • 2Ask Notis: 'Alert me in Telegram whenever branch protection settings change', or create in the portal.
  • 3Select 'Branch Changed' as the trigger.
  • 4Choose your Telegram channel for security alerts.
  • 5Test by temporarily modifying a branch protection rule and confirm the Telegram alert fires.

Questions about this workflow

Which branches should I monitor?

Most teams monitor main and production branches. You can configure which specific branches to watch.

What counts as a protection status change?

Enabling or disabling protection, changing required reviewers, modifying status checks, or enforcing admin dismissal all trigger alerts.

Will I get alerts for temporary protection changes?

Yes. You'll see when it's disabled and when it's re-enabled, giving you a complete audit trail.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link GitHub to Telegram. A trigger fires from one place; an action lands in another.

GitHub logo

GitHub triggers

Telegram logo

Telegram actions

New Workflow Artifact Created

Triggers when a new workflow artifact is created in a GitHub repository. Monitors for newly created GitHub Actions workflow artifacts. Optionally filters by artifact name to restrict monitoring to specific artifacts.

TriggerPolling

Answer Callback Query

Use this method to send answers to callback queries sent from inline keyboards. the answer will be displayed to the user as a notification at the top of the chat screen or as an alert.

ActionInstant

Branch Changed

Triggers when a GitHub branch changes. Monitors a specific branch for: - New commits pushed (head commit SHA changes) - Protection status toggled (branch becomes protected or unprotected) - Protection settings changed, including: required status checks and their enforcement level, admin enforcement, required pull request reviews (dismiss stale reviews, code owner reviews, approving review count, last push approval), required linear history, force push allowance, deletion allowance, conversation resolution, branch locking, and fork syncing.

TriggerPolling

Delete Message

Delete a message, including service messages, with certain limitations.

ActionInstant

New Branch Created

Triggers when a new branch is created in a GitHub repository. Detects newly created branches. Deleted branches do not fire events.

TriggerPolling

Edit Message

Edit text messages sent by the bot.

ActionInstant

Check Run Status / Conclusion Changed

Triggers when a specific GitHub check run changes its status or conclusion. Monitors a single check run for changes to: status (queued, in_progress, completed, etc.), conclusion (success, failure, neutral, cancelled, skipped, timed_out, action_required), started_at, and completed_at.

TriggerPolling

Export Chat Invite Link

Generate a new primary invite link for a chat; any previously generated primary link is revoked. the bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.

ActionInstant

Check Suite Status / Conclusion Changed

Triggers when a GitHub check suite changes its status or conclusion for a given ref. Monitors all check suites associated with a git reference (branch, tag, or commit SHA) for changes to status (queued, in_progress, completed, etc.) and conclusion (success, failure, neutral, cancelled, skipped, timed_out, action_required, startup_failure, stale). Optionally filters by GitHub App ID.

TriggerPolling

Forward Message

Forward messages of any kind. service messages can't be forwarded.

ActionInstant

New Code Scanning Alert Created

Triggers when a new code scanning alert is created in a repository. Fires an event for each newly created code scanning alert detected in the configured repository. Alerts can be filtered by Git reference, scanning tool, state, and severity. The payload includes the alert number, rule details, tool information, state, severity, and the location of the most recent instance.

TriggerPolling

Get Chat Info

Get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.).

ActionInstant

New Repository Collaborator Added

Triggers when a new collaborator is added to a GitHub repository. Monitors the full list of collaborators on a repository and fires an event for each newly added collaborator. The payload includes the collaborator's GitHub username, account ID, profile URL, avatar URL, permission flags (pull, triage, push, maintain, admin), and assigned role name.

TriggerPolling

Get Chat Administrators

Get a list of administrators in a chat. on success, returns an array of chatmember objects that contains information about all chat administrators except other bots.

ActionInstant

Commit Event

Triggered when a new commit is pushed to a repository.

TriggerInstant

Get Chat History

Get chat history messages. note: this uses the getupdates method with specific parameters to retrieve historical messages.

ActionInstant

Connect any two apps with Notis in the middle.

Not just GitHub and Telegram. Any combination from 985+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7 days free trial with 20$ free usage included.
No card. Works with personal or business Telegram.