Skip to content

Commit b6909fb

Browse files
Copilotpelikhan
andauthored
fix: add git safe.directory and refactor git config to shell script to resolve dubious ownership error (#39771)
* Initial plan * Initial plan for safe.directory fix Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * fix: add git safe.directory to prevent dubious ownership error in safe_outputs job Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * fix: configure git safe.directory in gh-aw-node Dockerfile Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * refactor: extract git config to shell script, run in gh-aw-node container entrypoint Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * fix: use GITHUB_REPOSITORY and GIT_SERVER_URL env vars in git credentials step Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * fix: use GITHUB_SERVER_URL instead of GIT_SERVER_URL Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * fix: add --no-auth flag to configure_git_credentials.sh for safeoutputs container Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * fix: remove GITHUB_SERVER_URL from safeoutputs MCP env and drop --no-auth flag Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * fix: set execute bit on configure_git_credentials.sh Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * fix: add bash to gh-aw-node Dockerfile for configure_git_credentials.sh Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * fix: create sh entrypoint script for safeoutputs container, revert bash from Dockerfile Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * fix: use -c flag in safeoutputs entrypoint to expand RUNNER_TEMP variable Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * fix: redirect configure_git_credentials.sh stdout to stderr to prevent MCP protocol corruption Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
1 parent a2d3ece commit b6909fb

275 files changed

Lines changed: 3008 additions & 7895 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ab-testing-advisor.lock.yml

Lines changed: 9 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/ace-editor.lock.yml

Lines changed: 9 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/agent-performance-analyzer.lock.yml

Lines changed: 15 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/agent-persona-explorer.lock.yml

Lines changed: 12 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)