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
I know I can get the commit author's email in template using {{ (call .repo.GetCommitMetadata .app.status.sync.revision).Author }} (I'll get something like John Doe <john-doe@example .com>). I want to send notifications for some triggers to this email address. Is it possible to do this?
Firstly, I can't figure out how to get just email from (call repo.GetCommitMetadata .app.status.sync.revision).Author (i.e. how to get john-doe@example.com from John Doe <john-doe@example.com>
Secondly, I can't figure out how to implement this. I think I could do something like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I know I can get the commit author's email in template using
{{ (call .repo.GetCommitMetadata .app.status.sync.revision).Author }}
(I'll get something likeJohn Doe <john-doe@example .com>
). I want to send notifications for some triggers to this email address. Is it possible to do this?Firstly, I can't figure out how to get just email from
(call repo.GetCommitMetadata .app.status.sync.revision).Author
(i.e. how to getjohn-doe@example.com
fromJohn Doe <john-doe@example.com>
Secondly, I can't figure out how to implement this. I think I could do something like this:
Beta Was this translation helpful? Give feedback.
All reactions