Track Changes to Critical Files
When key files or directories change in GitHub, Notis posts an alert to Slack with the changes.
Trigger
Repository Content Changed
Triggers when the content of a file or directory in a GitHub repository changes. Monitors a specified path within a repository on a given branch or tag. For a single file, fires ``content_changed`` when the file is modified. For a directory, fires ``content_changed``, ``content_added``, or ``content_removed`` for modified, new, or deleted entries respectively. content.
Action
Post message to channel
Deprecated: posts a message to a slack channel, direct message, or private channel. use `send message` instead.
Why this helps
Changes to critical files like configs or dependencies can be easy to miss, leading to unexpected behavior or security issues.
- Immediate alert when critical files change
- No need to review all commits constantly
- Creates an audit trail in Slack of who changed what
Setup
Build it in a few focused steps.
- 1Connect GitHub and Slack to Notis
- 2Create an automation: 'Alert when critical files change'
- 3Describe the outcome: 'When package.json, .env, or config files change, post the change and who made it to Slack'
- 4Select the trigger: Repository Content Changed
- 5Choose which files or directories to monitor
- 6Test by editing one of your monitored files
Questions about this workflow
Can I monitor specific directories or just file types?
Yes. Tell Notis to watch specific paths like /config/ or /src/core/, or specific file types like *.yml or *.json.
What if too many files trigger alerts?
Narrow the scope to only the most critical files, or create multiple automations for different file categories.
Can I see the diff in the Slack message?
Yes. Notis will include the changes that were made to the file.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link GitHub to Slack. A trigger fires from one place; an action lands in another.
GitHub triggers
Slack 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.
Set snooze duration
Deprecated: turns on do not disturb mode for the current user, or changes its duration. use `set dnd duration` instead.
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.
Add a custom emoji to a Slack team
Deprecated: adds a custom emoji to a slack workspace given a unique name and an image url. use `add emoji` instead.
New Branch Created
Triggers when a new branch is created in a GitHub repository. Detects newly created branches. Deleted branches do not fire events.
Add an emoji alias
Adds an alias for an existing custom emoji in a slack enterprise grid organization.
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.
Add a remote file
Adds a reference to an external file (e.g., google drive, dropbox) to slack for discovery and sharing, requiring a unique `external id` and an `external url` accessible by slack.
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.
Add a star to an item
Stars a channel, file, file comment, or a specific message in slack.
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.
Add call participants
Registers new participants added to a slack call.
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.
Add emoji
Adds a custom emoji to a slack workspace given a unique name and an image url; subject to workspace emoji limits.
Commit Event
Triggered when a new commit is pushed to a repository.
Add reaction to message
Adds a specified emoji reaction to an existing message in a slack channel, identified by its timestamp; does not remove or retrieve reactions.
Connect any two apps with Notis in the middle.
Not just GitHub and Slack. 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 Slack.
