-
Notifications
You must be signed in to change notification settings - Fork 42
Container error fatal: --local can only be used inside a git repository #56
Description
Description
One of my workflows based on commitizen-action is now returning the following error:

It used to work properly and the yaml configuration file for the workflow was not subjected to changes when the issue occurred.
I have already tested that the error is raised for both commitizen-action@0.15.1 and commitizen-action@0.16.0.
The only step before commitizen-tools/commitizen-action@0.15.1 is actions/checkout@v3.
References
A similar issue is reported in peter-evans/create-pull-request#1170 and actions/checkout#760.
Docker image update
I've noticed that the image python:3.8 on DockerHub (used by the Dockerfile) was updated just before the first failure of the above-mentioned workflow.
According to the first reference, this issue may be related to Git version: a building process based on different images may explain why the workflow was successful and then failed in two consequent runs, with no configuration changes (and within a few hours of each other).