From fe01735716a71254f8148a5f1216255e74e7fcdc Mon Sep 17 00:00:00 2001 From: Robin Quintero Date: Wed, 22 May 2024 12:29:38 -0500 Subject: [PATCH] feat(doc): #1328 update github actions example - Update the GitHub Actions example in the Getting Started guide to show the use of `chown -R root:root /github/workspace` Signed-off-by: Robin Quintero --- docs/src/getting-started.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/src/getting-started.md b/docs/src/getting-started.md index 50376796..53ad9ac3 100644 --- a/docs/src/getting-started.md +++ b/docs/src/getting-started.md @@ -88,9 +88,17 @@ Example: - uses: docker://ghcr.io/fluidattacks/makes/amd64:24.02 name: helloWorld with: - args: m . /helloWorld 1 2 3 + args: sh -c "chown -R root:root /github/workspace && nix-env -if . && m . /helloWorld 1 2 3" ``` + ???+ note + + We use `chown -R root:root /github/workspace` to solve the error: + `fatal: detected dubious ownership in repository at ...`, this message + typically indicates an issue with the ownership or permissions of the repository. + Checkout the [community discussion](https://github.com/orgs/community/discussions/48355) + for more information. + === "GitLab CI" ```yaml