fix build env

This commit is contained in:
Robert Kaussow 2020-11-08 20:46:45 +01:00
parent b6a992b72f
commit dbe9548763
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -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")
}