Create the CI YAML
gpt-code-review:
only:
- merge_requests
tags:
- docker
image: ghcr.io/appleboy/codegpt:latest
stage: test
script:
- codegpt version
Error shown
failed to check if config folder /home/codegpt/.config/codegpt is a directory: stat /home/codegpt/.config/codegpt: no such file or directory
To resolve the issue, add to the YAML
mkdir -p /home/codegpt/.config/codegpt
but then you get
mkdir: can't create directory '/home/codegpt/': Permission denied