This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch fix-constraints-checkout-on-forks in repository https://gitbox.apache.org/repos/asf/airflow.git
commit cc9e2beb29323fd2e429fa3093de6e8892c9179e Author: Jarek Potiuk <[email protected]> AuthorDate: Mon Oct 26 17:45:07 2026 +0100 Check out constraints from apache/airflow when diffing them in CI 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:
