HDDS-7044. Ignore pr_title_check for selective checks#3620
HDDS-7044. Ignore pr_title_check for selective checks#3620adoroszlai merged 1 commit intoapache:masterfrom
Conversation
|
@adoroszlai I will need to sync up with you to understand this change. |
smengcl
left a comment
There was a problem hiding this comment.
Thanks @adoroszlai for the improvement.
IIUC the idea is to ignore the title checker (which is added in 4f0bd4a not so long ago) for changes that doesn't really involve a PR title change.
|
@kerneltime @smengcl Thanks for taking a look. Let me try to give some background for the change.
Consider the case that I would like to change one of the other (non- So this PR tweaks some of the include/exclude patterns to be more specific. |
smengcl
left a comment
There was a problem hiding this comment.
Thanks @adoroszlai for the detailed explanation. The change looks good to me.
|
Thanks @smengcl for the review. |
What changes were proposed in this pull request?
Avoid triggering all tests:
post-commit.yml: they are not exercised by any jobs in thepost-commit.yml(build-branch) workflow, so running those jobs is uselesspr_title_check.*: these are covered by specific checks (rat for license, and bats for bash unit tests)https://issues.apache.org/jira/browse/HDDS-7044
How was this patch tested?
Added test case in
selective_ci_checks.bats. Also checked output for the commit (96009ab) for HDDS-7043 locally:and for a commit (1493541) that only changed the misc. workflows:
Regular CI:
https://github.com/adoroszlai/hadoop-ozone/runs/7486998639
https://github.com/adoroszlai/hadoop-ozone/runs/7487000326