| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This commit prints diagnostic messages to the Actions log when debug logging is enabled by passing `debug: true` to `codeql-action/init` or enabling Actions step debug logging.
…-debug-enabled Print diagnostic messages when debugging mode is enabled
| Back | FazBrowse Home | New Git URL |
(As @adityasharad pointed out on the internal issue, it's actually three clicks, but you get the point :))
Users can now quickly debug a job that uses the CodeQL Action by re-running the job from the GitHub UI and selecting the "Enable debug logging" option. Debugging mode is also automatically turned on if Actions step debugging is enabled on a repo by setting the ACTIONS_STEP_DEBUG secret to true. This PR also brings all of our debugging functionality under the same banner, e.g. we print the CodeQL CLI debug logs when debug: true, not just when Actions step debugging is enabled.
Example run: the first run is the standard workflow, attempt 2 (i.e. the rerun) was triggered with the "Enable debug logging" option selected.
Merge / deployment checklist