Skip to content

Commit

Permalink
feat(doc): fluidattacks#1328 update github actions example
Browse files Browse the repository at this point in the history
- 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 <rohaquinlop301@gmail.com>
  • Loading branch information
rohaquinlop committed May 22, 2024
1 parent 1afab69 commit fe01735
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/src/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe01735

Please sign in to comment.