Skip to content

Commit 6884d54

Browse files
committed
merge branch
2 parents d4acb5e + bcd05dc commit 6884d54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/actions/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const (
2525
githubEventPullRequestComment = "pull_request_comment"
2626
)
2727

28-
func converFromGithubEvent(evt *jobparser.Event) string {
28+
func convertFromGithubEvent(evt *jobparser.Event) string {
2929
switch evt.Name {
3030
case githubEventPullRequest, githubEventPullRequestTarget, githubEventPullRequestReview,
3131
githubEventPullRequestReviewComment:

modules/actions/workflows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func DetectWorkflows(commit *git.Commit, triggedEvent webhook_module.HookEventTy
9999
}
100100

101101
func detectMatched(commit *git.Commit, triggedEvent webhook_module.HookEventType, payload api.Payloader, evt *jobparser.Event) bool {
102-
if converFromGithubEvent(evt) != string(triggedEvent) {
102+
if convertFromGithubEvent(evt) != string(triggedEvent) {
103103
return false
104104
}
105105

0 commit comments

Comments
 (0)