All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
TBD
v5.0.1 - 2024-04-12
- Fail if attempting to execute git commands in a directory that is not a git-repo. (#326) @ccomendant
- Bump bats from 1.10.0 to 1.11.0 (#325) @dependabot
- Bump release-drafter/release-drafter from 5 to 6 (#319) @dependabot
- Clarify
commit_author
input option (#315) @npanuhin - Add step id explanation for output in README.md (#324) @ChristianVermeulen
- Linux is not UNIX (#321) @couling
v5.0.0 - 2023-10-06
New major release that bumps the default runtime to Node 20. There are no other breaking changes.
- Update node version to node20 (#300) @ryudaitakai
- Add _log and _set_github_output functions (#273) @stefanzweifel
- Seems like there is an extra space (#288) @pedroamador
- Fix git-auto-commit.yml (#277) @zcong1993
- Bump actions/checkout from 3 to 4 (#302) @dependabot
- Bump bats from 1.9.0 to 1.10.0 (#293) @dependabot
- Bump github/super-linter from 4 to 5 (#289) @dependabot
- Bump bats from 1.8.2 to 1.9.0 (#282) @dependabot
v4.16.0 - 2022-12-02
- Don't commit files when only LF/CRLF changes (#265) @ZeroRin
- Update default email address of github-actions[bot] (#264) @Teko012
v4.15.4 - 2022-11-05
- Let Action fail if git binary can't be located (#261) @stefanzweifel
- Bump github/super-linter from 3 to 4 (#258) @dependabot
- Bump bats from 1.7.0 to 1.8.2 (#259) @dependabot
- Bump actions/checkout from 2 to 3 (#257) @dependabot
v4.15.3 - 2022-10-26
- Use deprecated set-output syntax if GITHUB_OUTPUT environment is not available (#255) @stefanzweifel
v4.15.2 - 2022-10-22
v4.15.1 - 2022-10-10
- Run Action on Node16 (#247) @stefanzweifel
v4.15.0 - 2022-09-24
- Expand
file_pattern
-input to an array (#205) @stefanzweifel
- String values in README.md extended example are now correct (#196) @karolswdev
- Fix Typos and grammer Errors in README (#235) @derrickleemy
- Fix Typo in README (#230) @fty4
- Add missing links in the CHANGELOG (#223) @ericcornelissen
v4.14.1 - 2022-04-12
- Change Commit User Name from "GitHub Actions" to "github-actions[bot]" (#213) @jooola
- Change Commit User Email from "[email protected]" to "github-actions[bot]@users.noreply.github.com" (#213) @jooola
- Update doc link to GITHUB_TOKEN not triggering new workflow runs (#206) @gapple
v4.14.0 - 2022-03-18
- Add
create_branch
option to force create a new branch (#203) @stefanzweifel
- README.md: Updates hyperlink to GH docs (#200) @funkyfuture
v4.13.1 - 2022-01-13
- Properly disambiguate between branch or file checkout (#199) @kenodegard
v4.13.0 - 2022-01-10
- Add
skip_checkout
option (#197) @cmbuckley
- Add note on minimum permissions to the docs (#180) @ericcornelissen
v4.12.0 - 2021-09-10
- Add
commit_hash
output #172
v4.11.0 - 2021-05-03
- Add
status_options
andadd_options
option #156
v4.10.0 - 2021-04-12
v4.9.2 - 2021-03-04
- Push created annotated tags to remote by using
--follow-tags
and--atomic
instead of just--tags
#146
v4.9.1 - 2021-02-23
- Revert changes made in v4.9.0. A branch will no longer be automatically generated. #144
v4.9.0 - 2021-02-20
- Automatically create branch if a branch with the given name does not exist #140
v4.8.0 - 2020-12-15
- Add
skip_fetch
option to skip the execution ofgit-fetch
#131
- Update
git fetch
to only fetch the latest commit from remote #131
v4.7.2 - 2020-10-24
This release basically reverts the Action to the state of v4.6.0
.
- Revert change to fix git-checkout with special characters in branch names #122
v4.7.1 - 2020-10-22
- Remove
checkout_options
as it broke everything #120
v4.7.0 - 2020-10-21
- Add
checkout_options
#115
v4.6.0 - 2020-10-11
- Make "commit_message" optional and set default commit message to "Apply automatic changes" #103, #110
- Better support for branch names with special characters in them #108
v4.5.1 - 2020-09-11
- Remove orphan branch feature added in #95 which broke stuff #98
v4.5.0 - 2020-09-10
- Create orphan branch if branch name does not exist #95
v4.4.1 - 2020-08-16
- Include given
file_pattern
in git dirty check #91
v4.4.0 - 2020-06-26
v4.3.0 - 2020-05-16
Note: Since v4.3.0 we provide major version tags. You can now use stefanzweifel/git-auto-commit-action@v4
to always use the latest release of a major version. See #77 for details.
- Add new
push_options
-input. This feature makes it easier for you to force-push commits to a repository. #78, #72
v4.2.0 - 2020-05-10
- Use
${{ github.head_ref }}
as default branch value. Therefore, the branch name when listening forpull_request
-events is optional. #75, #73
v4.1.6 - 2020-04-28
- Fix issue where tags could not be created correctly #68
v4.1.5 - 2020-04-23
- Update
file_pattern
to support multiple file paths #65
- Revert changes made in v4.1.4 #63
- Fix issue with
commit_options
#64
v4.1.4 - 2020-04-22
- Fix bug introduced in previous version, where git user configuration has been placed inline #62
v4.1.3 - 2020-04-18
- Place Git user configuration inline #59
v4.1.2 - 2020-04-03
- Fix Issue with
changes_detected
-output #57
v4.1.1 - 2020-03-14
- Fix issue where commit has not been pushed to remote repository, when no
branch
-option has been given #54
v4.1.0 - 2020-03-05
- Add
changes_detected
output #49, #46 - Add
tagging_message
input option to create and push tags #50, #47
v4.0.0 - 2020-02-24
- Switch Action to use
node12
-environment instead ofdocker
. #45
v3.0.0 - 2020-02-06
- Add
commit_user_name
,commit_user_email
andcommit_author
input options for full customzation on how the commit is being created #39
- Make the
branch
input option optional #41
- Remove the need of a GITHUB_TOKEN. Users now have to use
actions/checkout@v2
or higher #36
v2.5.0 - 2019-12-18
- Add new
repository
-argument #22
- Extract logic of the Action into methods and into a separate file #24
v2.4.0 - 2019-11-30
v2.3.0 - 2019-11-04
- Add a new
commit_option
-argument. Allows users to define additional commit options for thegit-commit
command. #14
v2.2.0 - 2019-10-26
- Add new
file_pattern
-argument. Allows users to define which files should be added in the commit. #13
v2.1.0 - 2019-09-20
- Add
branch
-argument to determine, to which branch changes should be pushed. See README for usage details.
- Fixes Issue where changes couldn't be pushed to GitHub due to wrong ref-name.
- Remove
commit_author_email
andcommit_author_name
arguments. The$GITHUB_ACTOR
is now used as the Git Author
v2.0.0 - 2019-08-31
- Make Action Compatible with latest beta of GitHub Actions #3
- Add Core Logic for Action