v3.0.0 comes with a couple of breaking changes and 3 new input options.
Breaking changes
This Action now requires that you use at least action/checkout@v2. The action/checkout team made some significant changes to the Action which we take advantage of (see next point).
This Action now longer requires a GITHUB_TOKEN. As mentioned in the first point, you should now use action/checkout@v2. v2 of the Action persists the used authentication token, so other Actions in the Workflow run can execute git commands which interract with GitHub. If you experience problems, you can still overwrite the used token (with a Personal Access Token for example). Checkout the usage documentation of actions/checkout for details.
Added
We've added 3 new options to allow you to customize the commit user and author:
Checkout the action.yml file for more detailed information.
Changes
The branch input option is now optional (again). action/checkout@v2 no longer leaves the repo in a detached HEAD state in Workflows listening to the push-event. This allows us to simply call git push origin to push the changes back to the repository.
However, the branch input option is still required for Workflows which listen to the pull_request event. Checkout the usage examples in the README.
Workflow examples
Following are 2 Workflow examples on how you can use this Action on Workflows which listen to push and pull_request-events.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps stefanzweifel/git-auto-commit-action from 2 to 4.
Release notes
Sourced from stefanzweifel/git-auto-commit-action's releases.
... (truncated)
Changelog
Sourced from stefanzweifel/git-auto-commit-action's changelog.
... (truncated)
Commits
3ea6ae1
Fix "nothing to commit" error with LF/CRLF changes #241 (#265)976f220
Fix github-actions[bot] email address (#264)ebb5756
Fix link and text for workflow limitation (#263)3dce995
Update CHANGELOG0b007fb
Let Action fail if git binary can't be located (#261)7106b21
Bump github/super-linter from 3 to 4 (#258)f166130
Bump bats from 1.7.0 to 1.8.2 (#259)021a636
Bump actions/checkout from 2 to 3 (#257)38864a6
Create dependabot.yml393fea5
Update CHANGELOGDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)