add-and-commit
add-and-commit copied to clipboard
False reporting of Working tree clean. Nothing to commit.
workflow: https://github.com/Botspot/pi-apps/actions/runs/7676529394/workflow
working tree is checked for any changes with git diff HEAD --name-only
and the output is
apps/Oh My Posh/install
apps/Pycharm CE/install-64
https://github.com/Botspot/pi-apps/actions/runs/7676529394/job/20924363545#step:5:41 these are files that already exist in the git repo but have been modified.
however running EndBug/add-and-commit@v9
results in a false report that the working tree is clean.
Internal logs
> Staging files...
> Adding files...
> No files to remove.
> Checking for uncommitted changes in the git working tree...
> Working tree clean. Nothing to commit.
Outputs
committed: false
commit_long_sha: undefined
commit_sha: undefined
pushed: false
tagged: false
tag_pushed: false
https://github.com/Botspot/pi-apps/actions/runs/7676529394/job/20924363545#step:7:36