Skip to content
Notis

Review BTCPay API keys when GitHub finds a secret

Pair a new secret scanning alert with a review of the BTCPay API keys associated with your authenticated user, so you can assess whether follow-up is needed.

Trigger

New Secret Scanning Alert Detected

Triggers when a new secret scanning alert is detected in a GitHub repository. Monitors open secret scanning alerts and fires an event for each newly detected alert. Supports filtering by secret type (e.g., personal access tokens, AWS keys) and by token validity status (active, inactive, unknown). The payload includes the alert number, secret type, validity status, resolution state, timestamps, URLs, and flags for push protection bypass, public exposure, and multi-repo detection.

Action

List API Keys

Tool to list api keys. use when you need to retrieve all api keys associated with the authenticated user.

Why this helps

A newly detected secret can call for quick credential review across connected services, and that follow-up is easy to overlook.

  • Start API key review when a new repository secret alert is detected.
  • List keys for the authenticated BTCPay user in a run report.
  • Make follow-up review visible alongside the alert.

Setup

Build it in a few focused steps.

  • 1Connect GitHub and BTCPay Server once in the Notis portal.
  • 2Create an automation in Automations, New Automation, and give it a name.
  • 3Tell Notis to list the authenticated user's BTCPay API keys and report the results alongside the alert.
  • 4Pick the GitHub New Secret Scanning Alert Detected trigger and choose where run reports go.
  • 5Test with one real alert and review the resulting report.

Questions about this workflow

Does listing keys revoke a key?

No. This workflow lists API keys for review. Revoking a specific key requires identifying it and using the separate Delete API Key action.

Will the alert tell Notis which BTCPay key to review?

No. The list action retrieves the keys associated with the authenticated user; review the results to identify any needed follow-up.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

GitHub triggers

Btcpay server actions

Recurring trigger

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

TriggerScheduled

Create Payment Request

Tool to create a new payment request for a store. use after confirming store id.

ActionInstant

Webhook trigger

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

TriggerInstant

Create Store

Tool to create a new store in btcpay server. use when you need to provision a new store before processing transactions.

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 BTCPay Server User

Tool to create a new btcpay server user. use when you need to register a new user programmatically as an administrator.

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

Register a Webhook

Tool to register a new webhook. use when you need to receive store event notifications.

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 API Key

Tool to revoke a specific api key. use when you need to remove an api key to immediately prevent its use. call after identifying the key to revoke.

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 Payment Request

Tool to delete a specific payment request. use when you need to archive/remove an existing payment request for a store.

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 Store Payout

Tool to delete a specific payout from a store. use when you need to cancel a payout no longer needed.

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 API Key

Tool to retrieve the current api key. use after authentication to get api key details.

ActionInstant

Connect any two apps with Notis in the middle.

GitHub and Btcpay server, 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 Btcpay server.