Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 2

My app creates commits -- is there an email associated with an app installation?

I am writing a private app that creates commits and pushes them to a private repo. I can successfully use my in-app token to push, but is there an email address I can use that will be associated with my app installation? Just like when my app leaves a comment that is attributed to $myapp [bot], I am wondering if there is a way to have the UI show $myapp [bot] for the commit author.

1 Reply
Community Manager
Message 2 of 2

Re: My app creates commits -- is there an email associated with an app installation?

Bots aren't true user accounts, so no, there isn't a way to associate commits with the bot the same way that commits can be associated with a user. You could use a commit author name of `yourapp [bot]` and a support email address for the author email though so that it's more obvious in the commit history.

 

I hope that helps!