Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import os, datetime as dt


# GitHub injects INPUT_WHO_TO_GREET based on the input name
name = os.getenv("INPUT_WHO_TO_GREET", "World")
# GitHub injects INPUT_WHO-TO-GREET based on the input name (only spaces get replaced with underscores, not hyphens)
name = os.getenv("INPUT_WHO-TO-GREET", "World")

# Alternatively, you could read it from the args list using its position
# (you would need to import sys package above)
Expand Down