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 33486021776 Check out constraints from apache/airflow when diffing 
them in CI (#75675)
33486021776 is described below

commit 3348602177669d3dcec1391e87f1e4a031ff3e25
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Oct 26 20:42:11 2026 +0100

    Check out constraints from apache/airflow when diffing them in CI (#75675)
    
    The Update constraints job checked out the constraints branch from the
    repository the run belongs to. Forks do not carry the constraints-*
    branches, so the job failed on every canary push in a fork. Diff against
    apache/airflow instead; the job only diffs now, so it needs neither
    credentials nor history.
    
    Generated-by: Claude Opus 5
---
 .github/workflows/finalize-tests.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/finalize-tests.yml 
b/.github/workflows/finalize-tests.yml
index b664e49cf06..c0a04fafe5f 100644
--- a/.github/workflows/finalize-tests.yml
+++ b/.github/workflows/finalize-tests.yml
@@ -111,10 +111,12 @@ jobs:
       - name: Checkout ${{ steps.constraints-branch.outputs.branch }}
         uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1  # 
v7.0.1
         with:
+          # Forks do not carry the constraints branches - diff against the 
canonical ones
+          repository: apache/airflow
           path: "constraints"
           ref: ${{ steps.constraints-branch.outputs.branch }}
-          persist-credentials: true
-          fetch-depth: 0
+          persist-credentials: false
+          fetch-depth: 1
       - name: "Download constraints from the constraints generated by build CI 
image"
         uses: 
actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333  # v8.0.2
         with:

Reply via email to