mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-23 02:52:01 +00:00
added token to post-commit hooks
This commit is contained in:
@@ -26,7 +26,7 @@ type Commit struct {
|
||||
// SetAuthor sets the author's email address and calculate the Gravatar hash.
|
||||
func (c *Commit) SetAuthor(email string) {
|
||||
c.Author = email
|
||||
c.Gravatar = createGravatar(email)
|
||||
c.Gravatar = CreateGravatar(email)
|
||||
}
|
||||
|
||||
// Returns the Short (--short) Commit Hash.
|
||||
|
Reference in New Issue
Block a user