Skip to content
Notis

Fetch DNS logs when GitHub Actions fails

When automation breaks, gather the surrounding signal before you start debugging.

Trigger

GitHub Workflow Run State Changed

Triggers when a GitHub Actions workflow run's status or conclusion changes. Monitors a single workflow run and fires an event whenever it transitions between states (e.g., queued to in_progress, or in_progress to completed) or when its conclusion is set (e.g., success, failure, cancelled).

Action

Get Logs

Tool to retrieve logs for a specific nextdns profile with optional filters. use after confirming the profile id to fetch raw or filtered dns logs.

Why this helps

Failed builds can lead to scattered investigations across GitHub, network logs, and multiple tabs.

  • Pulls network context into the failure response.
  • Reduces repetitive log hunting.
  • Makes debugging easier to resume later.

Setup

Build it in a few focused steps.

  • 1Connect GitHub and NextDNS to Notis once through the portal.
  • 2Create an automation in Automations or ask Notis to create it conversationally.
  • 3Use this instruction: When a GitHub Actions workflow run fails, retrieve the relevant NextDNS logs for the selected profile and summarize the result in my report channel.
  • 4Pick the workflow run state trigger and reporting channel, then test with one failed run.

Questions about this workflow

Does this change any DNS settings?

No. It retrieves logs for investigation.

Can the logs be filtered?

Yes. Include the profile and useful time or domain context in the instruction.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

GitHub triggers

Nextdns 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

Add Blocked TLD

Tool to add a top-level domain to the security blocklist for a nextdns profile. use after listing current security settings to ensure the tld is not already blocked.

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

Add Denylist Domain

Tool to add a domain to the denylist of a nextdns profile. use when blocking specific domains under a profile after obtaining its id.

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

Toggle Block Page

Tool to enable or disable block page for a configuration. use when you need to toggle whether dns blocks show a block page.

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

Clear Logs

Tool to clear dns logs for a nextdns profile. use when you want to remove all existing query logs for a given profile. note: this operation cannot be undone.

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

Create Profile

This tool allows users to create a new nextdns profile. it uses the post method at the endpoint https://api.nextdns.io/profiles. a profile is a distinct configuration set for dns filtering and security settings.

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

Delete NextDNS Configuration

Tool to delete a nextdns configuration profile. use when you need to remove an existing profile by its id. use after confirming the profile exists.

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

Download Logs

Tool to download dns logs for a profile. use when you need the url of the exported logs. use after confirming the profile id is valid. supports getting a redirect url or json.

ActionInstant

Commit Event

Triggered when a new commit is pushed to a repository.

TriggerInstant

Get Analytics Devices

Tool to retrieve analytics aggregated by devices. use when you need per-device query metrics within a specific time frame.

ActionInstant

Connect any two apps with Notis in the middle.

Not just GitHub and Nextdns. Any combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Nextdns.