mirror of
https://github.com/thegeeklab/drone-github-comment.git
synced 2024-11-22 10:40:42 +00:00
fix build env
This commit is contained in:
parent
b6a992b72f
commit
dbe9548763
BIN
cmd/drone-github-comment/drone-github-comment
Executable file
BIN
cmd/drone-github-comment/drone-github-comment
Executable file
Binary file not shown.
@ -27,7 +27,7 @@ type Settings struct {
|
||||
func (p *Plugin) Validate() error {
|
||||
var err error
|
||||
|
||||
if p.pipeline.Build.Event != "pull" {
|
||||
if p.pipeline.Build.Event != "pull_request" {
|
||||
return fmt.Errorf("github comment plugin is only available for pull requests")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user