File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ func issueEventPayload() github.IssuesEvent {
44
44
if err != nil {
45
45
errorLog (errors .Wrap (err , "Failed to unmarshal JSON to Go Object" ))
46
46
}
47
- if payload .GetAction () != "opened" {
48
- infoLog ("GitHub action interupts!!" )
49
- infoLog ("This issue is not new one :D" )
50
- os .Exit (0 )
51
- }
52
47
53
48
return payload
54
49
}
Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ func pullRequestEventPayload() github.PullRequestEvent {
44
44
if err != nil {
45
45
errorLog (errors .Wrap (err , "Failed to unmarshal JSON to Go Object" ))
46
46
}
47
- if payload .GetAction () != "opened" {
48
- infoLog ("GitHub action interupts!!" )
49
- infoLog ("This PR is not new one :D" )
50
- os .Exit (0 )
51
- }
52
47
53
48
return payload
54
49
}
You can’t perform that action at this time.
0 commit comments