Skip to content

Commit

Permalink
GA style display name for shell action
Browse files Browse the repository at this point in the history
  • Loading branch information
luismedel committed Sep 20, 2024
1 parent c26f12f commit 586be92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bluish/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def display_name(self) -> str:
elif self.attrs.uses and self.attrs.uses != action.DEFAULT_ACTION:
return self.attrs.uses
elif self.attrs.run:
return next(self.attrs.run.split("\n", maxsplit=1))
return self.attrs.run.split("\n", maxsplit=1)[0]
else:
return self.id

Expand Down

0 comments on commit 586be92

Please sign in to comment.