mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-04-26 13:34:45 +00:00
Merge pull request #1381 from crhym3/no-skip-refs
Do not ignore refs/heads/gh-pages
This commit is contained in:
commit
7075cf02a3
1 changed files with 0 additions and 4 deletions
|
@ -356,10 +356,6 @@ func (g *Github) push(r *http.Request) (*model.Repo, *model.Build, error) {
|
||||||
// default gravatar?
|
// default gravatar?
|
||||||
}
|
}
|
||||||
|
|
||||||
// we should ignore github pages
|
|
||||||
if build.Ref == "refs/heads/gh-pages" {
|
|
||||||
return nil, nil, nil
|
|
||||||
}
|
|
||||||
if strings.HasPrefix(build.Ref, "refs/tags/") {
|
if strings.HasPrefix(build.Ref, "refs/tags/") {
|
||||||
// just kidding, this is actually a tag event
|
// just kidding, this is actually a tag event
|
||||||
build.Event = model.EventTag
|
build.Event = model.EventTag
|
||||||
|
|
Loading…
Reference in a new issue