diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e8c7a6dcd..589ac50334 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1157,6 +1157,7 @@ ${{ hashFiles('.pre-commit-config.yaml') }}" uses: actions/checkout@v2 with: persist-credentials: false + submodules: recursive - name: "Setup python" uses: actions/setup-python@v2 with: diff --git a/scripts/ci/constraints/ci_commit_constraints.sh b/scripts/ci/constraints/ci_commit_constraints.sh index c3a75211ad..7eda70f9d4 100755 --- a/scripts/ci/constraints/ci_commit_constraints.sh +++ b/scripts/ci/constraints/ci_commit_constraints.sh @@ -22,7 +22,7 @@ cp -v ./files/constraints-*/constraints*.txt repo/ cd repo || exit 1 git config --local user.email "dev@airflow.apache.org" git config --local user.name "Automated GitHub Actions commit" -git diff --exit-code || git commit --all --message "Updating constraints. Build id:${CI_BUILD_ID} +git diff --color --exit-code || git commit --all --message "Updating constraints. Build id:${CI_BUILD_ID} This update in constraints is automatically committed by the CI 'constraints-push' step based on HEAD of '${CI_REF}' in '${CI_TARGET_REPO}'