FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Print diagnostic messages when debugging mode is enabled by henrymercer · Pull Request #1133 · github/codeql-action · GitHub

Print diagnostic messages when debugging mode is enabled - #1133

Merged
henrymercer merged 2 commits into
henrymercer/one-click-debugfrom
henrymercer/log-diagnostics-when-debug-enabled
Jul 12, 2022
Merged

henrymercer merged 2 commits into
henrymercer/one-click-debugfrom
henrymercer/log-diagnostics-when-debug-enabled

Conversation

Copy link
Copy Markdown
Contributor

This PR 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.

Example: The following custom query:

ql
/**
 * @kind diagnostic
 * @id test
 */

select "Test diagnostic message", 2

produces:

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

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.
henrymercer requested a review from a team as a code owner July 1, 2022 18:16
Comment thread src/analyze.ts
henrymercer requested a review from aeisenberg July 12, 2022 14:17
henrymercer merged commit b380175 into henrymercer/one-click-debug Jul 12, 2022
henrymercer deleted the henrymercer/log-diagnostics-when-debug-enabled branch July 12, 2022 14:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL