Build logs are easy to overlook as a place where credentials escape. A debugging statement, a verbose test, or a tool dumping its environment can put a token into a workflow log even when the repository itself contains no key. On November 9, GitHub announced a public preview that extends secret scanning to GitHub Actions workflow logs. It adds a useful detection surface, but it is not a general-purpose log auditor or a substitute for careful CI design.
What the preview actually scans
After a workflow run completes, GitHub scans its logs for supported provider-secret patterns. Findings appear in the repository's existing secret-scanning alerts and link back to the workflow log. Supported secret types can receive validity checks, and GitHub says an alert remains available even if the underlying log is later deleted. These details come from GitHub's launch note and its current documentation.
This is post-run detection, not a live interruption: it cannot prevent the workflow from printing a value or stop someone who can read the log from seeing it first. And a finding is not remediation. If an active credential appears in output, revoke or rotate it at the issuing service immediately; deleting the log alone does not invalidate the credential.
Three limits change the rollout
First, access is narrow. The feature is in public preview for GitHub Enterprise Cloud enterprises with GitHub Secret Protection or GitHub Advanced Security. An enterprise owner must enable the policy; it is disabled by default and applies to repositories where secret scanning is enabled. The enterprise policy guide describes the control.
Second, workflow logs use provider patterns only. Generic patterns, custom patterns, AI-detected secrets, and values masked by GitHub Actions are excluded. Old runs are not backfilled: only runs completed after enablement are scanned. Third, alerts do not send notifications during the preview, so teams must deliberately check the alert list. Those are material coverage and response gaps, not fine print.
A practical pilot
For an eligible team, enable the policy for a small set of repositories that run builds with third-party actions or deployment credentials. Before switching it on, name an owner and add a daily check of secret-scanning alerts to the existing CI or security routine; without notifications, an alert can sit unnoticed. For each new finding, record the affected workflow, credential type, whether it was valid, time to revoke it, and how it reached the log. Then remove the output path and rotate the credential. Do not create a real leak as a test; use the preview period to evaluate naturally occurring findings and inspect existing logging practices.
After two weeks, compare the findings with incident reports and a manual review of high-risk workflow output. The useful question is not simply whether the scanner found something: it is which credential paths it covered, how quickly a person acted, and what still escaped detection. Keep push protection, least-privilege workflow permissions, short-lived credentials where available, and log hygiene in place. This feature is an additional net, not the floor.
Source context: a limited extra net
The product change is GitHub's; the rollout advice here is AyNcode's analysis. If your repositories are outside the eligible enterprise plans, this preview is not an immediate control you can turn on. Either way, treat workflow output as sensitive: avoid printing environment values, restrict log access, and make credential revocation part of the incident checklist. Detection after a run helps most when the response path is already clear.
Illustration: original AI-generated editorial artwork for AyNcode showing a completed workflow log moving through detection to an alert and credential rotation; it is not a GitHub interface.