diff --git a/.github/workflows/continuous-deployment.yml b/.github/workflows/continuous-deployment.yml index b91f7d58..71e3d546 100644 --- a/.github/workflows/continuous-deployment.yml +++ b/.github/workflows/continuous-deployment.yml @@ -25,5 +25,7 @@ jobs: with: draft: false prerelease: false + body: | + See [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md) for details. release_name: "${{ steps.determine-tag.outputs.tag }}" tag_name: "${{ steps.determine-tag.outputs.tag }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index e60b5c71..ddf9b0d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,14 @@ 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.1...HEAD) +## [Unreleased](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.1.2...HEAD) -## [v4.1.1](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.1.1...v4.1.1) - 2020-03-14 +## [v4.1.2](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.1.1...v4.1.2) - 2020-04-03 + +### Fixes +- Fix Issue with `changes_detected`-output [#57](https://github.com/stefanzweifel/git-auto-commit-action/pull/57) + +## [v4.1.1](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.1.0...v4.1.1) - 2020-03-14 ### Fixes - Fix issue where commit has not been pushed to remote repository, when no `branch`-option has been given [#54](https://github.com/stefanzweifel/git-auto-commit-action/pull/54) diff --git a/README.md b/README.md index fa7eaae6..6d3c48d0 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This Action has been inspired and adapted from the [auto-commit](https://github. Add the following step at the end of your job. ```yaml -- uses: stefanzweifel/git-auto-commit-action@v4.1.1 +- uses: stefanzweifel/git-auto-commit-action@v4.1.2 with: commit_message: Apply automatic changes @@ -74,7 +74,7 @@ jobs: - name: Run php-cs-fixer uses: docker://oskarstark/php-cs-fixer-ga - - uses: stefanzweifel/git-auto-commit-action@v4.1.1 + - uses: stefanzweifel/git-auto-commit-action@v4.1.2 with: commit_message: Apply php-cs-fixer changes branch: ${{ github.head_ref }} @@ -97,7 +97,7 @@ jobs: - name: Run php-cs-fixer uses: docker://oskarstark/php-cs-fixer-ga - - uses: stefanzweifel/git-auto-commit-action@v4.1.1 + - uses: stefanzweifel/git-auto-commit-action@v4.1.2 with: commit_message: Apply php-cs-fixer changes ``` @@ -124,7 +124,7 @@ This is due to limitations set up by GitHub: > An action in a workflow run can't trigger a new workflow run. For example, if an action pushes code using the repository's GITHUB_TOKEN, a new workflow will not run even when the repository contains a workflow configured to run when push events occur. [Source](https://help.github.com/en/actions/reference/events-that-trigger-workflows) -You can change this by creating a new [Pesonal Access Token (PAT)](https://github.com/settings/tokens/new), storing the token as a secret in your repository and then passing the new token to the [`actions/checkout`](https://github.com/actions/checkout#usage) Action. +You can change this by creating a new [Personal Access Token (PAT)](https://github.com/settings/tokens/new), storing the token as a secret in your repository and then passing the new token to the [`actions/checkout`](https://github.com/actions/checkout#usage) Action. #### Example Workflow @@ -145,7 +145,7 @@ jobs: - name: Run php-cs-fixer uses: docker://oskarstark/php-cs-fixer-ga - - uses: stefanzweifel/git-auto-commit-action@v4.1.1 + - uses: stefanzweifel/git-auto-commit-action@v4.1.2 with: commit_message: Apply php-cs-fixer changes ``` diff --git a/entrypoint.sh b/entrypoint.sh index 5acd9f88..a7714ca4 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -7,7 +7,7 @@ _main() { if _git_is_dirty; then - echo \"::set-output name=changes_detected::true\" + echo "::set-output name=changes_detected::true" _setup_git @@ -22,7 +22,7 @@ _main() { _push_to_github else - echo \"::set-output name=changes_detected::false\" + echo "::set-output name=changes_detected::false" echo "Working tree clean. Nothing to commit." fi