GitHub has expanded secret scanning to cover GitHub Actions workflow logs, adding another place where exposed credentials can be detected before they are overlooked. The feature was announced on November 9, 2026 and is available in public preview for eligible GitHub Enterprise Cloud customers.
How log scanning works
When an Actions workflow run completes, GitHub scans its logs for supported provider-specific secret patterns. Findings are added to the repository’s secret scanning alert list alongside alerts from code and other supported content, with a link back to the workflow log. GitHub says validity checks are performed for supported secret types, and alerts remain available even if the underlying logs are later deleted.
That matters because CI logs can contain more than build output. A workflow may print environment variables, command arguments, debug information or tool responses. If a token or credential is accidentally written to a log, it can be exposed to people or systems with access to that run. Scanning the log creates another detection layer, but it does not make it safe to print secrets in the first place.
Who can enable the preview?
GitHub says the preview is available to enterprises on GitHub Enterprise Cloud with GitHub Secret Protection or GitHub Advanced Security, including customers using data residency on GHE.com. Enterprise owners can enable Actions workflow log scanning in enterprise settings under Policies and Advanced Security. The policy is disabled by default and applies only to repositories where secret scanning is enabled under the required licence.
Important limitations
The preview has several boundaries that administrators should understand. Only workflow runs completed after the feature is enabled are scanned; GitHub is not backfilling existing logs. The preview does not detect generic patterns, custom patterns, AI-detected secrets or secrets that Actions has already masked. GitHub also says alerts from workflow logs do not generate notifications during the preview, so security teams need to check the repository’s secret scanning alert list directly.
These limitations make it a supplementary control rather than a replacement for secure pipeline design. Teams should continue to use short-lived credentials where possible, restrict token permissions, avoid echoing secrets, mask sensitive values and rotate credentials if exposure is suspected. Workflow permissions should follow least privilege, and logs should be treated as potentially sensitive data.
What security teams should do next
Eligible enterprise administrators can pilot the feature on repositories with active CI workflows. After enabling it, review the alert list as part of routine security operations and define who owns triage. Test whether the workflows most likely to handle deployment keys, cloud credentials and package tokens are covered. Also make sure developers understand that a masked value or an absence of alerts is not proof that a pipeline cannot leak credentials.





