From 6fdf0a190f1dc6f037efe39a68768e3d21b93b05 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..95c75eec 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 && 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. + See the [community discussion](https://github.com/orgs/community/discussions/48355) + for more information. + === "GitLab CI" ```yaml