0
0
mirror of https://github.com/thegeeklab/wp-github-comment.git synced 2024-11-21 13:50:40 +00:00

fix build env

This commit is contained in:
Robert Kaussow 2020-11-08 20:46:45 +01:00
parent b6a992b72f
commit dbe9548763
No known key found for this signature in database
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")
}