mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 00:51:03 +08:00
a6b680f4fe
The `git` version in our discourse_test docker image was recently updated to include a permissions check before running any git commands. For this to pass, the owner of the discourse directory needs to match the user running any git commands. Under GitHub actions, by default the working directory is created with uid=1000 as the owner. We run all our tests as `root`, so this mismatch causes git to raise the permissions error. We can't switch to run the entire workflow as the `discourse (uid=1000)` user because our discourse_test image is not configured to allow `discourse` access to postgres/redis directories. For now, this commit updates the working directory's owner to match the user running the workflow. |
||
---|---|---|
.. | ||
workflows | ||
dependabot.yml | ||
labeler.yml | ||
pull_request_template.md |