6f408f62ba
The scheduled CodeQL analysis explicitly passed ref: github.sha, which is frozen when a cron job is queued, not when it runs. Under load or during a long queue, the analysis could scan code that is days old, missing vulnerabilities introduced since the last scheduling window. Replace with ref: github.ref_name so all trigger types — scheduled, push, and pull_request — consistently scan the current HEAD of the branch being processed.
8.5 KiB
8.5 KiB