This PR includes changes to logic of staging files using git add. Currently logic does not support adding files changes if those files are outside of working-dir. Logic behind is changed to list all files that have been modified and then stage only files that are defied within output-file parameter of this GitHub action.
It also includes update to README.md and fixes to docker-entrypoint.sh script to pass Shellcheck scans.
Description of your changes
This PR includes changes to logic of staging files using
git add
. Currently logic does not support adding files changes if those files are outside ofworking-dir
. Logic behind is changed to list all files that have been modified and then stage only files that are defied withinoutput-file
parameter of this GitHub action.It also includes update to
README.md
and fixes todocker-entrypoint.sh
script to pass Shellcheck scans.https://github.com/terraform-docs/gh-actions/issues/93
I have:
How has this code been tested
Tests have been performed locally to make sure all strings are parsed correctly. Also all GitHub Actions workflows are passing.