Skip to content

Releases: suzuki-shunsuke/github-action-format

v0.2.2

17 Jul 00:42
v0.2.2
1f34e09
Compare
Choose a tag to compare

v0.2.1...v0.2.2

Fixes

#690 Replace github.action_path with GITHUB_ACTION_PATH

v0.2.2-1

15 Jul 22:39
v0.2.2-1
073cd37
Compare
Choose a tag to compare
v0.2.2-1 Pre-release
Pre-release

v0.2.1

27 Jan 08:12
v0.2.1
c4e0196
Compare
Choose a tag to compare

Features

#595 Add the input branch

You can specify the remote branch

Bug Fixes

#593 #594 Fix the remote branch on push event

v0.2.0

27 Jan 05:16
v0.2.0
7afa920
Compare
Choose a tag to compare

⚠️ 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!

@Nimesha-Premaraja #583

v0.1.1

27 Oct 08:36
4313014
Compare
Choose a tag to compare

Milestone

Bug Fixes

#13 Skip pushing the fix except for pull request

v0.1.0

27 Oct 07:10
73e6a33
Compare
Choose a tag to compare