Skip to content

fixing clang-tidy ci failure#12021

Open
raushanprabhakar1 wants to merge 1 commit intoapache:mainfrom
raushanprabhakar1:GLUTEN-12020
Open

fixing clang-tidy ci failure#12021
raushanprabhakar1 wants to merge 1 commit intoapache:mainfrom
raushanprabhakar1:GLUTEN-12020

Conversation

@raushanprabhakar1
Copy link
Copy Markdown

What changes are proposed in this pull request?

The Clang Tidy workflow runs in apache/gluten:centos-8-jdk8 with the workspace bind-mounted from the GitHub Actions runner. Git 2.35+ treats that layout as “dubious ownership,” so commands such as git fetch in Detect C++ file changes exit with code 128 and the job fails (issue #12020).

Add a step immediately after actions/checkout that runs:

git config --global --add safe.directory "$GITHUB_WORKSPACE"

so subsequent Git usage in the job is allowed without weakening safety beyond this checkout directory.

Fixes #12020

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Cursor agent (GPT-based), session assisting with workflow edit and PR text.

@github-actions github-actions Bot added the INFRA label May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] clang-tidy pipeline failed

1 participant