Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pipeline/frontend/yaml/constraint.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type (
Event Constraint
Branch Constraint
Status Constraint
Refspec Constraint
Matrix ConstraintMap
Local types.BoolTrue
}
Expand All @@ -43,6 +44,7 @@ func (c *Constraints) Match(metadata frontend.Metadata) bool {
c.Environment.Match(metadata.Curr.Target) &&
c.Event.Match(metadata.Curr.Event) &&
c.Branch.Match(metadata.Curr.Commit.Branch) &&
c.Refspec.Match(metadata.Curr.Commit.Refspec) &&
c.Repo.Match(metadata.Repo.Name) &&
c.Ref.Match(metadata.Curr.Commit.Ref) &&
c.Instance.Match(metadata.Sys.Host) &&
Expand Down