cirrus-actions / rebase

GitHub Action to automatically rebase PRs
MIT License
686 stars 138 forks source link

fix: added safe.directory /github/workspace global #93

Closed cranberryofdoom closed 2 years ago

cranberryofdoom commented 2 years ago

We're getting the following error using cirrus-actions/rebase:

fatal: unsafe repository ('/github/workspace' is owned by someone else)
To add an exception for this directory, call:

    git config --global --add safe.directory /github/workspace

Some more context on this: https://github.com/actions/checkout/issues/766