Skip to content

Commit

Permalink
gitlab: Add approve and unapprove as possible actions
Browse files Browse the repository at this point in the history
  • Loading branch information
herbetom committed Jul 29, 2020
1 parent 4d339f9 commit dcee48e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions input/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,13 @@ func (m GitlabModule) GetHandler() http.HandlerFunc {
}

HookActions := map[string]string{
"open": "opened",
"update": "updated",
"close": "closed",
"reopen": "reopened",
"merge": "merged",
"open": "opened",
"update": "updated",
"close": "closed",
"reopen": "reopened",
"merge": "merged",
"approved": "approved",
"unapproved": "unapproved",
}

const NullCommit = "0000000000000000000000000000000000000000"
Expand Down

0 comments on commit dcee48e

Please sign in to comment.