For more information on viewing your last scan's log, see "Viewing code scanning logs."
Unclear what triggered a workflow run
If you don't know what triggered an analysis, look at the log for the last scan.
Code scanning is available for all public repositories on GitHub.com. Code scanning is also available for private repositories owned by organizations that use GitHub Enterprise Cloud and have a license for GitHub Advanced Security. For more information, see "About GitHub Advanced Security."