Incomplete information about ACTIONS_STEP_DEBUG, ACTIONS_RUNNER_DEBUG

Carlos Quintero 100 Reputation points
2024-07-02T07:42:36.7966667+00:00

The section "Enable step debug logging in a workflow" states:

  • To enable runner diagnostic logging, set the ACTIONS_RUNNER_DEBUG secret in the repository that contains the workflow to true.
  • To enable step diagnostic logging, set the ACTIONS_STEP_DEBUG secret in the repository that contains the workflow to true.

While the official docs (https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging) state that you can use also a variable, not only a secret:

  • To enable runner diagnostic logging, set the following secret or variable in the repository that contains the workflow: ACTIONS_RUNNER_DEBUG to true. If both the secret and variable are set, the value of the secret takes precedence over the variable.
  • To enable step debug logging, set the following secret or variable in the repository that contains the workflow: ACTIONS_STEP_DEBUG to true. If both the secret and variable are set, the value of the secret takes precedence over the variable.

You can fail a question in the exam because of this (I failed one in a practice exam)

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,229 questions
{count} votes

Accepted answer
  1. kguntaka 1,840 Reputation points Microsoft Vendor
    2024-07-02T12:37:36.23+00:00

    Hi Carlos Quintero,

    Thank you for your suggestion regarding the Microsoft Q&A platform. We are currently in the process of updating our Learn paths/courses, so it will take some time for these changes to be reflected in the final documentation. The GitHub suggestions you shared are up-to-date and will also be incorporated into Microsoft Learn as part of the Learn paths update process. We apologize for any inconvenience this may cause. Keep learning and enjoy your journey. We will notify you through the comment section below once the final documentation changes are completed.

    If you have any more questions or need further assistance, please feel free to reach out.

    If the information is helpful, please accept the answer by clicking the "Upvote" and "Accept Answer" on the post.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful