GitHub secret scanning now checks GitHub Actions workflow logs (public preview)

Enterprises with Secret Protection or Advanced Security can turn on scanning of completed workflow logs. Alerts stay after the logs are deleted, but older logs are not backfilled and there are no noti

November 8, 2026

GitHub secret scanning can now find leaked secrets in GitHub Actions workflow logs. Before this change it covered issues, wikis, discussions and pull requests. The feature is in public preview for GitHub Enterprise Cloud customers with GitHub Secret Protection or GitHub Advanced Security, including GHE.com data residency.

It is off by default. An enterprise owner turns it on in the enterprise Advanced Security policies, and it applies only to repositories that already have secret scanning. After each workflow run completes, GitHub scans the log for provider patterns. Findings go to the repository’s secret scanning alert list with a link to the log, and “alerts remain available even after the logs are deleted.”

There are limits. Logs from runs before you enable the feature are not scanned. Generic patterns, custom patterns, AI-detected secrets and secrets that Actions already masked are not covered. During the preview, these alerts do not send notifications, so teams must check the alert list themselves.

Source: GitHub Changelog.