Skip to content

Conversation

giorio94
Copy link
Member

Please see the commit messages for additional details.

The blamed commits added the CODEOWNERS and USERS.md files to the
paths-ignore-regex, to skip full CI for PRs touching only them (or
any other ignored path).

However, the current regex has a trailing / at the end, hence never
matching single files. Let's rework the regex into two different
groups, one for directory paths and another for single files.

Fixes: df7a76e ("ci: Skip full CI for USERS.md file")
Fixes: 12d6712 ("ariane: don't run full CI on CODEOWNERS change")
Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
Skip running the full E2E tests when touching unit test files
only, such as when fixing flakes.

Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
@giorio94 giorio94 added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels Oct 10, 2024
@giorio94 giorio94 requested review from a team as code owners October 10, 2024 08:17
Copy link
Member

@aanm aanm left a comment

Choose a reason for hiding this comment

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

Should we backport this?

@aanm aanm enabled auto-merge October 10, 2024 09:22
@aanm
Copy link
Member

aanm commented Oct 10, 2024

/test

@giorio94
Copy link
Member Author

Should we backport this?

I would say it doesn't hurt, although it is probably more unlikely to have PRs not touching code files as well on stable branches. That said, previous PRs modifying this config don't appear to have been backported, hence it would need to be a manual backport to essentially re-sync the configs.

@aanm aanm added this pull request to the merge queue Oct 10, 2024
Merged via the queue into main with commit 12f51ea Oct 10, 2024
262 checks passed
@aanm aanm deleted the pr/giorio94/main/ariane-skip-more branch October 10, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants