diff --git a/CHANGELOG.md b/CHANGELOG.md index 87ce3b4..787f547 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [Unreleased](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.1.6...HEAD) +## [Unreleased](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.2.0...HEAD) > TBD + +## [v4.2.0](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.1.6...v4.2.0) - 2020-05-10 + ### Changed -- Use `${{ github.head_ref }}` as default branch value. [#75](https://github.com/stefanzweifel/git-auto-commit-action/pull/75), [#73](https://github.com/stefanzweifel/git-auto-commit-action/pull/73) +- Use `${{ github.head_ref }}` as default branch value. Therefore, the branch name when listening for `pull_request`-events is optional. [#75](https://github.com/stefanzweifel/git-auto-commit-action/pull/75), [#73](https://github.com/stefanzweifel/git-auto-commit-action/pull/73) ## [v4.1.6](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.1.5...v4.1.6) - 2020-04-28 diff --git a/README.md b/README.md index 1f917df..0efdded 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ This Action has been inspired and adapted from the [auto-commit](https://github. Add the following step at the end of your job, after other steps that might add or change files. ```yaml -- uses: stefanzweifel/git-auto-commit-action@v4.1.6 +- uses: stefanzweifel/git-auto-commit-action@v4.2.0 with: # Required commit_message: Apply automatic changes @@ -68,7 +68,7 @@ jobs: - name: Run php-cs-fixer uses: docker://oskarstark/php-cs-fixer-ga - - uses: stefanzweifel/git-auto-commit-action@v4.1.6 + - uses: stefanzweifel/git-auto-commit-action@v4.2.0 with: commit_message: Apply php-cs-fixer changes ```