Skip to content
Success

Changes

Summary

  1. chore(prow-jobs/pingcap/ticdc): prevent unnecessary job runs for only (commit: 3332fa0) (details)
Commit 3332fa0098e57232675a8b1cdbfd1bc005001ef0 by noreply
chore(prow-jobs/pingcap/ticdc): prevent unnecessary job runs for only json file changes (#3924)

This pull request updates the `skip_if_only_changed` configuration for
several Prow job files.

The primary motivation for this change is to improve the efficiency of
our CI/CD pipeline by preventing unnecessary test runs when only
configuration files are modified. Previously, changes to `.yaml` files
would trigger tests, which is often not the intended behavior for
configuration-only changes.

Here's a breakdown of the changes:

* **Added `.json` to `skip_if_only_changed` regex:** This ensures that
changes to JSON and TOML configuration files will also be skipped by
presubmits, reducing redundant test executions.
* **Updated `latest-presubmits-next-gen.yaml`:** The
`skip_if_only_changed` pattern was modified to include `.json` and
`.toml`.
* **Updated `latest-presubmits.yaml`:** The `skip_if_only_changed`
pattern was modified to include `.json` and `.toml`.
* **Updated `release-9.0-beta-presubmits.yaml`:** The
`skip_if_only_changed` pattern was modified to include `.yaml`, `.json`,
and `.toml`.

This change aims to optimize our CI process by ensuring that only
code-related changes trigger presubmit jobs.

---------

Signed-off-by: tenfyzhong <tenfy@tenfy.cn>
(commit: 3332fa0)
The file was modifiedprow-jobs/pingcap/ticdc/latest-presubmits.yaml (diff)
The file was modifiedprow-jobs/pingcap/ticdc/latest-presubmits-next-gen.yaml (diff)
The file was modifiedprow-jobs/pingcap/ticdc/release-9.0-beta-presubmits.yaml (diff)