Is issue.user.login the actual issue creator? #26029
-
I currently have a auto-commenter action setup that responds to common issues based on assigned labels. Unfortunately as I recently found out, is Is this the actual user who created (opened) the issue, or is there a possibility that this object would also change over time? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @Andre601, Yes, you can get the creater from the Your link points to pull request payload, the creater is For common issue, the creater is Thanks |
Beta Was this translation helpful? Give feedback.
Hi @Andre601,
Yes, you can get the creater from the
user
object in webhook payload, it’s not changed.Your link points to pull request payload, the creater is
${{ github.event.pull_request.user.login }}
.For common issue, the creater is
${{ github.event.issue.user.login }}
.Thanks