This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new a0551a0a269 [v3-1-test] Clean prek cache before running static checks
(#56788) (#56792)
a0551a0a269 is described below
commit a0551a0a2697f378bd535b3c5475ce78c23d011f
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Oct 18 07:16:21 2025 +0200
[v3-1-test] Clean prek cache before running static checks (#56788) (#56792)
* Update CI image checks to clean cache before running prek
* Add description to change for future investigations
(cherry picked from commit 352392f41ebe51345d4971ce9c3018597331419d)
Co-authored-by: Bugra Ozturk <[email protected]>
---
.github/workflows/ci-image-checks.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci-image-checks.yml
b/.github/workflows/ci-image-checks.yml
index f9df6a2d3e3..f573f79bdbd 100644
--- a/.github/workflows/ci-image-checks.yml
+++ b/.github/workflows/ci-image-checks.yml
@@ -155,7 +155,10 @@ jobs:
platform: ${{ inputs.platform }}
save-cache: false
- name: "Static checks"
- run: prek --all-files --show-diff-on-failure --color always
+ # We have added cache cleaning here as otherwise it was failing on
rst-backticks hook
+ # This increases the time of this step from ~9 minutes 25 seconds to
~12 minutes 37 seconds
+ # If we want to remove the first part, we need to find root cause of
the problem
+ run: prek cache clean && prek --all-files --show-diff-on-failure
--color always
env:
VERBOSE: "false"
SKIP: ${{ inputs.skip-prek-hooks }}