Skip to content

Commit

Permalink
added logging for step output
Browse files Browse the repository at this point in the history
  • Loading branch information
CallMeGreg committed Nov 20, 2024
1 parent 8bb2a7f commit a53115d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ def main(github_token, fail_on_alert, fail_on_alert_exclude_closed, disable_pr_c
"push_protection_bypassed": alert["push_protection_bypassed"],
"push_protection_bypassed_by": alert["push_protection_bypassed_by"]
})

print("alerts step output:\n" + {step_output})

# Write the alert details to the step output
with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
Expand Down

0 comments on commit a53115d

Please sign in to comment.