Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added input parameter for ACTIONS_STEP_DEBUG #28

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

siddharthasonker95
Copy link

Objective: Make debugging logs optional.

Changes:

  • Added input parameter debug whose default value is set to false.
  • Added environment variable ACTIONS_STEP_DEBUG in all the Setup OpenTofu steps to enable/disable step debug logging. (reference: Github Docs)

Resolves: #6

Signed-off-by: siddharthasonker95 <158144589+siddharthasonker95@users.noreply.github.com>
@siddharthasonker95 siddharthasonker95 requested a review from a user March 18, 2024 12:25
@@ -5,6 +5,13 @@ on:
branches:
- main
pull_request:
workflow_dispatch:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this needs to be added to action.yml, not here. This script will never be called as a workflow dispatch.

Signed-off-by: siddharthasonker95 <158144589+siddharthasonker95@users.noreply.github.com>
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.

[enhancement] Remove the debugging output emitted by default
1 participant