You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The {{ sender.login }} placeholder seems to get replaced with whoever was the person labeling the issue, causing stuff like mentions to mention the wrong person
To Reproduce
Steps to reproduce the behavior:
Use the {{ sender.login }} placeholder in a comment
Label an issue that triggers this comment
Expected behavior
The placeholder should instead show the actual issuer of said issue or PR (See additional context for possible solution)
Additional context
According to Webhook events and payload help article is there an issue and pull_request object respectively that contains a user object with login (the name).
This seems to be the actual name of the person creating the issue while sender.login seems to just be whoever triggered the event.
So the action should perhaps be changed to that instead if possible.
The text was updated successfully, but these errors were encountered:
Describe the bug
The
{{ sender.login }}
placeholder seems to get replaced with whoever was the person labeling the issue, causing stuff like mentions to mention the wrong personTo Reproduce
Steps to reproduce the behavior:
{{ sender.login }}
placeholder in a commentExpected behavior
The placeholder should instead show the actual issuer of said issue or PR (See additional context for possible solution)
Screenshots
Your YAML file
Additional context
According to Webhook events and payload help article is there an
issue
andpull_request
object respectively that contains auser
object withlogin
(the name).This seems to be the actual name of the person creating the issue while
sender.login
seems to just be whoever triggered the event.So the action should perhaps be changed to that instead if possible.
The text was updated successfully, but these errors were encountered: