- On pull requests, analyze any workflow file the pull request changes.
- On a daily schedule, scan recent runs to catch workflows that ran and were then removed or force-pushed away.
Check changed workflows
pull_request trigger, so code from forks runs without access to secrets.
Scan recent runs daily
runs array while GitHub still has the logs.
Each scan costs 10 units, so a daily scan uses a small part of the 100-unit daily limit.