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.98k stars 227 forks source link

Add options for git add/status commands #156

Closed funkjedi closed 3 years ago

funkjedi commented 3 years ago

Adds options for git add/status commands.


This allows us to set the options required to only commit tracked files.

    - uses: stefanzweifel/git-auto-commit-action@v4
      with:
        status_options: '--untracked-files=no'
        add_options: '-u'
        file_pattern: ''