Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ci: fix dubious ownership error on self-hosted runners#106

Merged
lizhengfeng101 merged 1 commit into
alibaba:main from
stay-foolish-forever:fix/fix-doubious-ownership
Jun 12, 2026
Merged

ci: fix dubious ownership error on self-hosted runners #106
lizhengfeng101 merged 1 commit into
alibaba:main from
stay-foolish-forever:fix/fix-doubious-ownership

Conversation

@stay-foolish-forever

@stay-foolish-forever stay-foolish-forever commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Add safe.directory '*' to git config before running git operations. Self-hosted runners may run jobs under a different OS user than the one that owns the workspace, causing git to refuse operations with a 'dubious ownership' error.

Description

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Refactoring (no functional changes)
  • Documentation update
  • CI / Build / Tooling

How Has This Been Tested?

  • make test passes locally
  • Manual testing (describe below)

Checklist

  • My code follows the project's coding style (go fmt, go vet)
  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or my feature works
  • New and existing unit tests pass locally with my changes
  • I have updated the documentation accordingly (if applicable)
  • I have signed the CLA

Related Issues

Add safe.directory '*' to git config before running git operations.
Self-hosted runners may run jobs under a different OS user than the
one that owns the workspace, causing git to refuse operations with a
'dubious ownership' error.
@lizhengfeng101 lizhengfeng101 merged commit 3239640 into alibaba:main Jun 12, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /