Skip to content
Notis

Clear a BunnyCDN pull zone after a successful GitHub run

Let a successful release run trigger the cache refresh, so you do not have to remember a separate cleanup step.

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

Purge Pull Zone

Tool to purge the entire cache of a pull zone. use after updating origin or critical content to ensure no stale assets are served.

Why this helps

When a release workflow succeeds, forgetting the cache purge can leave visitors with old content.

  • Tie a whole-zone purge to a successful run.
  • Avoid purging the cache for unsuccessful runs by directing Notis to check the run conclusion.
  • Reduce release-day follow-up.

Setup

Build it in a few focused steps.

  • 1Connect GitHub and BunnyCDN once in the Notis portal.
  • 2Create an automation in Automations, New Automation, and give it a name and prompt.
  • 3In one instruction, tell Notis which pull zone to purge only when the workflow run concludes successfully.
  • 4Pick GitHub Workflow Run State Changed as the trigger and choose where run reports go.
  • 5Test with one real successful run and verify the pull zone cache was purged.

Questions about this workflow

Will this purge run when a workflow starts?

Use the run state change trigger and instruct Notis to proceed only when the run is completed with a success conclusion.

What information must I provide?

Name the pull zone clearly in your instruction. The action purges the entire cache for that pull zone.

Can this use a specific run?

The trigger monitors a specific workflow run. Set it up for the run whose outcome should drive the purge.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

GitHub triggers

Bunnycdn actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Add Storage Zone

Tool to add a new storage zone. use when you need dedicated file storage in a specific region.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Create DNS Record

Tool to create a new dns record in a specific dns zone. use after confirming the dns zone id is active.

ActionInstant

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

Create Pull Zone

Tool to create a new pull zone. use after gathering origin details.

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 DNS Record

Tool to delete a specific dns record by its id. use after confirming the dns zone id and record 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

Delete DNS Zone

Tool to delete a specific dns zone by its id. use when you need to permanently remove an existing dns zone after verifying the zone id.

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

Delete Pull Zone

Tool to delete a specific pull zone by its id. use when you need to remove a pull zone after confirming its id.

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

Delete Storage Zone

Tool to delete a storage zone. use when you need to remove a storage zone after confirming its id.

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 DNS Zone Details

Tool to retrieve details of a specific dns zone by its id. use when you need to verify dns zone configuration after creation or update.

ActionInstant

Connect any two apps with Notis in the middle.

GitHub and Bunnycdn, or any other 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 Bunnycdn.