CI: fix permissions for git diff --cached

fdroid build runs git diff --cached for git_repo.is_dirty(). This does
no longer work without these permissions.
This commit is contained in:
Jochen Sprickerhof 2023-02-03 23:12:29 +01:00 committed by Hans-Christoph Steiner
parent 6b9db76c8b
commit 702f84e920
1 changed files with 4 additions and 0 deletions

View File

@ -378,6 +378,10 @@ fdroid build:
fdroid"
- chown -R vagrant $home_vagrant
- chown -R vagrant $fdroidserver/.git
- chown vagrant $fdroidserver/
- chown -R vagrant .git
- chown vagrant .
# try user build
- $fdroid build --verbose --latest org.fdroid.fdroid.privileged