discourse/.github/workflows
David Taylor 8c97ae76e7
DEV: Fix GitHub CI permissions issues (stable) (#20093)
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.
2023-01-31 09:06:56 +00:00
..
labeler.yml DEV: Automatically label chat PRs (#18843) 2022-11-02 15:43:59 +00:00
licenses.yml DEV: Correct private-fork -> private-mirror (#19560) 2022-12-21 16:52:35 +00:00
linting.yml DEV: Introduce syntax_tree code formatter (#19775) 2023-01-07 11:11:08 +00:00
tests.yml DEV: Fix GitHub CI permissions issues (stable) (#20093) 2023-01-31 09:06:56 +00:00