checkout
checkout copied to clipboard
action delete content after checkout step was finished
I'm trying to build a workflow with terraform. there is a step to call terraform plan --var-file="./terraform-dev.tfvars"
it turns out that actions/checkout@v2
remove all my code. so I cannot refer to any tfvars
The step of checkout:

Error details:
code snippet:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
clean: false
Any idea? thannks
I think I have found the issue in my case, I setup a ref
parameter too, and that runs with git checkout --force
, meaning that it will drop changes if they have conflicts. Maybe that is it?