Skip to content

CI: Skip aio jobs based on changed files #726

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

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

markgoddard
Copy link
Contributor

We don't always want to run all aio jobs - it can be wasteful of CI
resources and slows down merging changes.

This change uses the dorny/paths-filter action to detect changed files
and skip jobs as appropriate.

Note that we can't use the workflow-level paths attribute since this
would skip the workflow entirely, and would prevent us from making the
aio jobs required to pass (a skip counts as a pass).

We don't always want to run all aio jobs - it can be wasteful of CI
resources and slows down merging changes.

This change uses the dorny/paths-filter action to detect changed files
and skip jobs as appropriate.

Note that we can't use the workflow-level paths attribute since this
would skip the workflow entirely, and would prevent us from making the
aio jobs required to pass (a skip counts as a pass).
@markgoddard markgoddard requested a review from a team as a code owner October 30, 2023 10:15
@markgoddard markgoddard self-assigned this Oct 30, 2023
@markgoddard
Copy link
Contributor Author

This is a tidied up version of #708

@markgoddard markgoddard enabled auto-merge October 30, 2023 10:25
@markgoddard markgoddard disabled auto-merge November 1, 2023 16:15
@markgoddard markgoddard merged commit 33f1d88 into stackhpc/wallaby Nov 1, 2023
@markgoddard markgoddard deleted the wallaby-ci-path-filter branch November 1, 2023 16:16
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.

2 participants