Skip to content

Commit

Permalink
add a warning message for deprecated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgocode committed Jul 8, 2024
1 parent 67ae5c4 commit 834a59e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action-allowedlist/action_allowedlist/actions_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,6 @@ def invoke_validate_actions(approved_path, actions_configuration):
else:
print(f"All {num_approved} actions/versions are approved.")
if num_deprecated > 0:
print(f"Deprecated actions found: {num_deprecated}")
e = (f"Deprecated actions found: {num_deprecated}")
print(f"::warning file=actions_parser.py,title=Deprecated Actions::{e}")
return found

0 comments on commit 834a59e

Please sign in to comment.