Fix censoring exclude_directories glob for custom-link-tools#77388
Fix censoring exclude_directories glob for custom-link-tools#77388mmazur wants to merge 1 commit intoopenshift:mainfrom
Conversation
The previous glob `aro-hcp-gather-custom-link-tools/**` never matched because exclude_directories globs are matched against file paths relative to the artifacts root directory. The actual path is `<step-name>/aro-hcp-gather-custom-link-tools/...`, so the glob needs `**/` prefix to match at any depth. Also narrow the exclusion to only HTML files which are the artifacts that need to remain uncensored. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mmazur The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
[REHEARSALNOTIFIER] Note: If this PR includes changes to step registry files ( |
|
@mmazur: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
CI Operator doesn't categorize these changes as having impact on jobs, so I can't pj-rehearse them.
The previous glob
aro-hcp-gather-custom-link-tools/**never matched becauseexclude_directoriesglobs are matched against file paths relative to the artifacts root directory. The actual path is<step-name>/aro-hcp-gather-custom-link-tools/..., so the glob needs**/prefix to match at any depth. Also narrow the exclusion to only HTML files which are the artifacts that need to remain uncensored.