This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch pin-provider-tag-fetch-to-apache
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 7281bcb84afc9871309660aca7a62a64339fabf1
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Oct 26 01:43:28 2026 +0100

    Fetch provider release tags from apache/airflow in fork CI runs
    
    On a fork, GitHub Actions sets GITHUB_REPOSITORY to the fork, and the
    breeze provider commands use it as the remote to fetch release tags
    from. Forks rarely carry every upstream release tag, so the changelog's
    tag-range git log fails with "bad revision" and the provider wheel job
    goes red for reasons unrelated to the change under test. Release tags
    only ever exist in apache/airflow, so CI should always read them there.
    
    Generated-by: Claude Opus 5
---
 .github/workflows/generate-constraints.yml | 2 +-
 .github/workflows/prod-image-build.yml     | 2 +-
 .github/workflows/test-providers.yml       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/generate-constraints.yml 
b/.github/workflows/generate-constraints.yml
index 58312ea63c4..662fb0bfa63 100644
--- a/.github/workflows/generate-constraints.yml
+++ b/.github/workflows/generate-constraints.yml
@@ -148,7 +148,7 @@ jobs:
         shell: bash
         run: >
           breeze release-management prepare-provider-distributions
-          --include-not-ready-providers --distribution-format wheel
+          --include-not-ready-providers --distribution-format wheel 
--github-repository apache/airflow
         if: inputs.generate-pypi-constraints == 'true' && 
inputs.pypi-providers-only != 'true'
       - name: "Prepare airflow distributions"
         shell: bash
diff --git a/.github/workflows/prod-image-build.yml 
b/.github/workflows/prod-image-build.yml
index 31eaabace18..8825103d328 100644
--- a/.github/workflows/prod-image-build.yml
+++ b/.github/workflows/prod-image-build.yml
@@ -165,7 +165,7 @@ jobs:
         run: >
           breeze release-management prepare-provider-distributions
           --distributions-list-file ./prod_image_installed_providers.txt
-          --distribution-format wheel --include-not-ready-providers
+          --distribution-format wheel --include-not-ready-providers 
--github-repository apache/airflow
         if: >
           inputs.upload-package-artifact == 'true' && inputs.branch != 'main'
       - name: "Prepare airflow package"
diff --git a/.github/workflows/test-providers.yml 
b/.github/workflows/test-providers.yml
index 406ebde52fa..2e99506d276 100644
--- a/.github/workflows/test-providers.yml
+++ b/.github/workflows/test-providers.yml
@@ -113,7 +113,7 @@ jobs:
       - name: "Prepare provider documentation"
         run: >
           breeze release-management prepare-provider-documentation 
--include-not-ready-providers
-          --non-interactive --answer yes
+          --non-interactive --answer yes --github-repository apache/airflow
         if: matrix.package-format == 'wheel'
       - name: "Prepare provider distributions: ${{ matrix.package-format }}"
         run: >

Reply via email to