This is an automated email from the ASF dual-hosted git repository.
bugraoz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 352392f41eb Clean prek cache before running static checks (#56788)
352392f41eb is described below
commit 352392f41ebe51345d4971ce9c3018597331419d
Author: Bugra Ozturk <[email protected]>
AuthorDate: Sat Oct 18 03:47:49 2025 +0200
Clean prek cache before running static checks (#56788)
* Update CI image checks to clean cache before running prek
* Add description to change for future investigations
---
.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 }}