stefanzweifel / git-auto-commit-action

Automatically commit and push changed files back to GitHub with this GitHub Action for the 80% use case.
MIT License
1.97k stars 226 forks source link

Expand `file_pattern`-input to an array #205

Closed stefanzweifel closed 1 year ago

stefanzweifel commented 2 years ago
stefanzweifel commented 1 year ago

I've tested this change in my test repository here: https://github.com/stefanzweifel/git-auto-commit-action-demo-app/pull/35

The file_pattern works much better now, but there is still an issue with globbing: If an untouched file that matches the pathspec is in the repository, the Action still fails with a Working tree clean. Nothing to commit.-mesage. However, this can be resolved by adding disable_globbing: true to a workflow. (Globbing is not disabled by default, due to the fear of breaking the workflow of others. See https://github.com/stefanzweifel/git-auto-commit-action/pull/154 for details.)

I'm gonna merge this PR to master now. A new version will be tagged after 5-6 days, if no bug reports are coming in.