[Git][ghc/ghc][wip/ghcup-ci-master] ci: Change owner of files in source-tarball job
Matthew Pickering (@mpickering)
gitlab at gitlab.haskell.org
Fri Jan 13 15:35:46 UTC 2023
Matthew Pickering pushed to branch wip/ghcup-ci-master at Glasgow Haskell Compiler / GHC
Commits:
ea632cbc by Matthew Pickering at 2023-01-13T15:35:00+00:00
ci: Change owner of files in source-tarball job
This fixes errors of the form:
```
fatal: detected dubious ownership in repository at '/builds/ghc/ghc'
To add an exception for this directory, call:
git config --global --add safe.directory /builds/ghc/ghc
inferred 9.7.20230113
checking for GHC Git commit id... fatal: detected dubious ownership in repository at '/builds/ghc/ghc'
To add an exception for this directory, call:
git config --global --add safe.directory /builds/ghc/ghc
```
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -581,6 +581,7 @@ source-tarball:
paths:
- ghc-*.tar.xz
script:
+ - sudo chown ghc:ghc -R .
- ./boot
- ./configure
- ./hadrian/build source-dist
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ea632cbc8b4147a928f4d98228dff67dfbe2d061
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ea632cbc8b4147a928f4d98228dff67dfbe2d061
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230113/a2511043/attachment.html>
More information about the ghc-commits
mailing list