Releases: suzuki-shunsuke/github-action-format
Releases · suzuki-shunsuke/github-action-format
v0.2.2
v0.2.2-1
v0.2.1
v0.2.0
⚠️ Breaking Changes
#590 The default behaviour is changed. The action pushes a commit even if the event isn't pull_request.
To change the behaviour, please use the input skip_push
.
Features
#590 Add a field skip_push
By default this action pushes a commit to format code if code isn't formatted.
You can skip pushing a commit using the input skip_push
.
e.g.
- uses: suzuki-shunsuke/github-action-format@v0.2.0
with:
command: terraform fmt -recursive | sed "s|^|${{ inputs.working_directory }}/|"
commit_message: "style: terraform fmt -recursive"
skip_push: ${{ github.event_name != 'pull_request' && ! startsWith(github.event_name, 'pull_request_') }}
Fixes
#587 Fix action metadata name
and description
New contributors 🎉
Thank you for your contribution!