ci: skip test suite for pushes that change only markdown files#14633
Merged
christian-bromann merged 1 commit intowebdriverio:mainfrom Jul 14, 2025
Merged
ci: skip test suite for pushes that change only markdown files#14633christian-bromann merged 1 commit intowebdriverio:mainfrom
christian-bromann merged 1 commit intowebdriverio:mainfrom
Conversation
Signed-off-by: Konstantinos <konstantinos.kitsios@uzh.ch>
The committers listed above are authorized under a signed CLA. |
Contributor
|
Hey kitsiosk 👋 Thank you for your contribution to WebdriverIO! Your pull request has been marked as an "Expensable" contribution. We've sent you an email with further instructions on how to claim your expenses from our development fund. We are looking forward to more contributions from you in the future 🙌 Have a nice day, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Change Summary
Currently, the
TestCI workflow will run even when a push changes only markdown files (e.g., README.md).With these changes, a push that changes only markdown files will not trigger the workflow, thus speeding up the project's CI and saving compute resources 🌱 (see below for quantity).
Example
Here is an example of the behaviour described above: the commit
f384074changed these files:website/docs/visual-testing/service-options.mdand, when pushed, triggered this workflow run, which ran for ~2 CPU hours. With the proposed changes, these 2 CPU hours would have been saved, clearing the queue for other workflows and speeding up the CI of the project, while also saving resources in general.Note that this is a single example out of 12 examples over the last few months; a lower estimate for the accumulated gain is 24 CPU hours, but the actual number could be higher because our cutoff date is late May and our data go only a few months back.
This only affects the
pushtrigger and not thepull_requesttrigger, so the actions related to pull requests (opening, pushing new commits on an open PR, closing) will not be affected, only the pushes to branches which do not have an open pull request.Click here to see all the recent CI runs triggered by markdown files.
commit f384074 => run url
commit 480bc18 => run url
commit f166347 => run url
commit 8f42147 => run url
commit 7b11d74 => run url
commit 152d415 => run url
commit abcf71c => run url
commit 9d0611a => run url
commit 5c9daf0 => run url
commit aaf338d => run url
commit 8265968 => run url
commit 21cb8cc => run url
Context
Hi,
We are a team of researchers from University of Zurich and we are currently working on optimizations in GitHub Actions workflows.
Thanks for your time on this.
Kindly let us know (here or in the email below) if you would like to ignore other file types or apply the filter to other workflows/triggers, or if you have any question whatsoever.
Best regards,
Konstantinos Kitsios
konstantinos.kitsios@uzh.ch
Types of changes
Checklist
Backport Request
v9and doesn't need to be back-ported#XXXXXReviewers: @webdriverio/project-committers