Skip to content

Update SkipIfOnlyChanged pattern to not include hack/lib dirs #773

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

creydr
Copy link
Member

@creydr creydr commented Aug 12, 2025

Ignoring changes on the hack dir does not make sense always. For example in SO, we have some Kafka config in hack/lib folder. Therefor we update the pattern to exclude hack, but not hack/lib

Slack: https://redhat-internal.slack.com/archives/CD87JDUB0/p1755005331665209

@creydr creydr requested a review from matzew August 12, 2025 13:42
@openshift-ci openshift-ci bot requested review from aliok and pierDipi August 12, 2025 13:42
Copy link

openshift-ci bot commented Aug 12, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: creydr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@@ -38,7 +38,7 @@ const (
// Phony targets in Makefile that should be skipped.
makefilePhonyTarget = ".PHONY"
// Files which do not require to run builds on Prow
prowSkipIfOnlyChangedFiles = "^.tekton/.*|^.konflux.*|^.github/.*|^rpms.lock.yaml$|^hack/.*|^OWNERS.*|.*\\.md"
prowSkipIfOnlyChangedFiles = "^.tekton/.*|^.konflux.*|^.github/.*|^rpms.lock.yaml$|^OWNERS.*|.*\\.md"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps we just exclude hack/lib folder?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope the patter in cf3c282 works :D

@creydr creydr force-pushed the update-skipifonlychanged-for-hack-dir branch from 1fddde2 to cf3c282 Compare August 13, 2025 05:51
@creydr creydr changed the title Update SkipIfOnlyChanged pattern to not include hack dirs Update SkipIfOnlyChanged pattern to not include hack/lib dirs Aug 13, 2025
@creydr creydr requested a review from matzew August 13, 2025 05:53
@creydr
Copy link
Member Author

creydr commented Aug 13, 2025

@matzew can you recheck?

@creydr
Copy link
Member Author

creydr commented Aug 13, 2025

/cc @Kaustubh-pande @rudyredhat1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants