Skip to content
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

Fix diff-filter parameters in the CI #242

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

BillAnastasiadis
Copy link
Contributor

@BillAnastasiadis BillAnastasiadis commented Dec 13, 2022

The CI step Run yamllint for modified job group schedules will - correctly - not fail if a file is deleted, since the diff filter used by the previous step to calculate changed files is --diff-filter="*ACMRTUX", which doesn't include D (Deleted).

However, the step will fail (incorrectly, due to the removed file) if there's any other change (like changes in files or added files) that are included in the filter, together with a file removal. That is because of the * in the filter, which means "if any of the filter parameters match, return all differences".

This pr removes the * filter (select-all-if-any-matches), to avoid getting wrong CI failures for deleted files.

@BillAnastasiadis BillAnastasiadis changed the title WIP: Fix diff-filter parameters in the CI Fix diff-filter parameters in the CI Dec 13, 2022
@foursixnine foursixnine merged commit 27c6216 into os-autoinst:master Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants