GitHub Actions Workflow Logs Get Secret Scanning in Public Preview, With No Backfill for Existing Runs
GitHub's secret scanning now reads Actions workflow logs after runs finish, but the Enterprise Cloud preview sends no alert notifications and does not scan logs created before it was turned on.
Overview
GitHub secret scanning now covers GitHub Actions workflow logs, extending detection beyond the surfaces it already watched. According to a GitHub changelog post published November 9, 2026, secret scanning “now detects secrets in GitHub Actions workflow logs, in addition to issues, wikis, discussions, and pull requests,” and the capability is available in public preview.
What We Know
Per GitHub’s changelog, the scanning runs after the fact: “When a workflow run completes, GitHub scans its logs for provider patterns.” Findings land in the repository’s existing secret scanning alert list “alongside alerts from code and other content, with a link back to the Actions workflow log.” GitHub also runs validity checks for supported secret types and keeps alerts available “even after the logs are deleted.”
The preview is scoped to organizations with paid security add-ons. GitHub’s post states it is “available to enterprises on GitHub Enterprise Cloud with GitHub Secret Protection or GitHub Advanced Security, including those with data residency on GHE.com.” Enterprise owners turn it on through enterprise settings, under Policies and then Advanced Security, by selecting Enabled in the All repositories dropdown. The feature is “disabled by default and applies only to repositories with secret scanning enabled under those licenses,” GitHub says.
GitHub flags several limitations specific to the preview. “Only workflow runs that complete after you enable the feature are scanned; existing logs aren’t backfilled,” according to the changelog, and the scanner does not catch “generic patterns, custom patterns, AI-detected secrets, and secrets already masked by Actions.” GitHub also states that “alerts from Actions workflow logs don’t generate notifications during the preview, so check your repository’s secret scanning alert list directly.”
Independent write-ups on DEV Community confirmed the same constraints. Developer Leo wrote that “only runs that complete after you enable it get scanned” and that “alerts don’t send notifications during the preview.” In a separate post, developer Sascha Mirow-Stanitzok described the preview as covering “logs of completed workflow runs for known provider patterns like AWS keys or GitHub tokens,” adding that it is “off by default” and that “only runs completed after enabling are checked, old logs are not.”
What We Don’t Know
GitHub’s changelog post does not say when the feature might move beyond public preview or whether it will eventually extend past GitHub Enterprise Cloud with Secret Protection or Advanced Security to other plans. It also does not specify a timeline for adding notification support or backfilling historical logs.
Analysis
The two independent developer write-ups both focused on what the new scanning still misses rather than what it adds. Leo argued that organizations should “treat each alert as a key that is already compromised” and lean on short-lived credentials rather than relying on log scanning alone. Mirow-Stanitzok went further into why secrets end up in logs in the first place, writing that GitHub’s existing automatic masking of known secret strings can be defeated by a “Base64 basic auth header, a signed JWT or a URL-encoded value” built at runtime, since that derived text “is new text the runner has never seen” and so was never registered for masking. His recommended fix is architectural rather than reactive: swapping long-lived credentials for short-lived ones issued through OpenID Connect, so that “there is no long-lived key that could leak” in the first place; for a value that must be printed, he advises rotating the secret and checking the cloud provider’s own audit trail for misuse before deleting the log, rather than deleting the log and assuming the problem is solved.
Taken together, the three accounts describe a narrow but concrete expansion of secret scanning’s coverage: it now reaches a place secrets often leak — command output printed during a CI run — but only for runs that happen after an administrator opts in, only for enterprises already paying for GitHub’s security add-ons, and only for secrets matching known provider patterns rather than the derived or transformed values both developer write-ups say are common culprits.