Error in CI: "Cannot update the ref"

See this run: https://gitlab.com/AOMediaCodec/avm/-/jobs/1538993698

What is the expected output? Job runs successfully

What do you see instead? "error: cannot update the ref 'refs/remotes/origin/research-in-loop-filters': unable to append to '.git/logs/refs/remotes/origin/research-in-loop-filters': Permission denied"