This is an automated email from the ASF dual-hosted git repository.
potiuk 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 898045f11eb Add missing "^" in --from-ref of basic static checks
(#60202)
898045f11eb is described below
commit 898045f11eb0f8df231a45c00725b41e4f4608d7
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Jan 7 10:20:05 2026 +0100
Add missing "^" in --from-ref of basic static checks (#60202)
When we switched to prek in #54258, we accidentally missed the
`^` after from ref - which turned the basic checks to do checks on
empty set of changes.
---
.github/workflows/basic-tests.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/basic-tests.yml
b/.github/workflows/basic-tests.yml
index c5e1ec1bcc4..f20a868d685 100644
--- a/.github/workflows/basic-tests.yml
+++ b/.github/workflows/basic-tests.yml
@@ -228,7 +228,7 @@ jobs:
- name: "Static checks: basic checks only"
run: >
prek --show-diff-on-failure --color always
- --from-ref "${{ github.sha }}" --to-ref "${{ github.sha }}"
+ --from-ref "${{ github.sha }}"^ --to-ref "${{ github.sha }}"
env:
VERBOSE: "false"
SKIP_BREEZE_PREK_HOOKS: "true"