nuke
nuke copied to clipboard
Add support to detect GitHub actions debug logging
Encapsulates detection whether GHA debug logging is enabled or not.
When enabled (via various mechanisms documented below) the environment variable RUNNER_DEBUG is set to 1.
https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging
I confirm that the pull-request:
- [x] Follows the contribution guidelines
- [x] Is based on my own work
- [x] Is in compliance with my employer