Skip to content

Commit 6926eef

Browse files
authored
Update SkipIfOnlyChanged pattern to not include hack/lib dirs (#773)
1 parent 4e493ce commit 6926eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/prowgen/prowgen_tests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const (
3838
// Phony targets in Makefile that should be skipped.
3939
makefilePhonyTarget = ".PHONY"
4040
// Files which do not require to run builds on Prow
41-
prowSkipIfOnlyChangedFiles = "^.tekton/.*|^.konflux.*|^.github/.*|^rpms.lock.yaml$|^hack/.*|^OWNERS.*|.*\\.md"
41+
prowSkipIfOnlyChangedFiles = "^.tekton/.*|^.konflux.*|^.github/.*|^rpms.lock.yaml$|^hack/(?!lib/).*|^OWNERS.*|.*\\.md"
4242
)
4343

4444
// Makefile targets can be defined in multiple ways:

0 commit comments

Comments
 (0)