Open
Description
Describe the bug
Using Self Hosted Runners, on Kubernetes I am not able to get the action to finalize. It continues to state [/github/home/.git](error: could not lock config file /github/home/.gitconfig: No such file or directory)
How can we reproduce it?
This is my file that I am using with a self-hosted-runner-set
name: Generate terraform docs
on:
workflow_dispatch:
jobs:
docs:
runs-on: arc-runner-set
container:
image: alpine:latest
steps:
- uses: actions/checkout@v4
#with:
#ref: ${{ github.event.pull_request.head.ref }}
- name: Render terraform docs inside the README.md and push changes back to PR branch
uses: terraform-docs/gh-actions@v1.3.0
with:
working-dir: ./resources/root/src,./resources/workloads/core_app/src,./resources/workloads/keywords/src,
output-file: readme.md
output-method: inject
git-push: "true"
Environment information
I know this works on Github Hosted runners, but its not working on a self hosted runner. and I have tried a lot of different operating systems for the container.
I have even tried manually creating the file.