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 1c367d81f4b [v3-1-test] Add missing "^" in --from-ref of basic static 
checks (#60202) (#60213)
1c367d81f4b is described below

commit 1c367d81f4b10269adc7281022c09eb3bdbd3e77
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Jan 7 14:06:59 2026 +0100

    [v3-1-test] Add missing "^" in --from-ref of basic static checks (#60202) 
(#60213)
    
    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.
    (cherry picked from commit 898045f)
---
 .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 9caecbae6ce..a246ee98f29 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"

Reply via email to