add-and-commit

Automatically commit changes made in your workflow run directly to your repo

MIT License

Stars
1.1K
Committers
24

Bot releases are hidden (Show)

add-and-commit - v9.1.4 Latest Release

Published by EndBug 9 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/EndBug/add-and-commit/compare/v9.1.3...v9.1.4

add-and-commit - v9.1.3

Published by EndBug over 1 year ago

What's Changed

Full Changelog: https://github.com/EndBug/add-and-commit/compare/v9.1.2...v9.1.3

add-and-commit - v9.1.2

Published by EndBug over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/EndBug/add-and-commit/compare/v9.1.1...v9.1.2

add-and-commit - v9.1.1

Published by EndBug about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/EndBug/add-and-commit/compare/v9.1.0...v9.1.1

add-and-commit - v9.1.0

Published by EndBug about 2 years ago

Added:

  • The fetch input allows you to customize the git fetch command, or to prevent the action from fetching at all.

Full Changelog: https://github.com/EndBug/add-and-commit/compare/v9.0.1...v9.1.0

add-and-commit - v9.0.1

Published by EndBug over 2 years ago

Fixed:

  • Now files are re-staged after pulling, so that the action works as intended when using options such as pull: --rebase --autostash

New Contributors

Full Changelog: https://github.com/EndBug/add-and-commit/compare/v9.0.0...v9.0.1

add-and-commit - v9.0.0

Published by EndBug over 2 years ago

Changed:

  • [BREAKING] The action will now fail when the git commit command fails. (#370)
  • [BREAKING] The action won't try deleting and re-creting tags when it fails to push them, it's now up to you to set the proper arguments (see the tag_push input). (#367)

Added:

  • tag_push input: you can now set the arguments of the git push --tags command.
  • tag_pushed output: whether the action pushed tags.
add-and-commit - v8.0.2

Published by EndBug over 2 years ago

Fixed:

  • The commit input is now properly listed in the README. (#360)
add-and-commit - v8.0.1

Published by EndBug over 2 years ago

Fixed:

  • Fixed a bug that prevented the --allow-empty flag from being used for the commit input. (#352)
  • Fixed README and CHANGELOG docs for the pull input, that were still showing the option to use NO-PULL to prevent pulling (while now it's the default behavior). (#354)
  • Added a paragraph to the FAQs section of the README, that explains how to work with PRs in v8. (#351)
add-and-commit - v8.0.0

Published by EndBug over 2 years ago

Fixed:

  • [BREAKING] The action will now work with whatever ref has been checked out, without pulling or switching branches by default. You can still pull using the pull input and create a new branch with the newly-added new_branch input. For more info, check commit 6fdb34e.

Removed:

  • [BREAKING] The signoff input has been removed, use commit instead. (#331)
  • [BREAKING] The pull_strategy input has been removed, use pull instead.
  • [BREAKING] The branch and branch_mode inputs have been removed, check commit 6fdb34e for more info.
  • [BREAKING] The pull input doesn't support NO-PULL anymore: if you don't want the action to pull, simply remove the input, as it's the default behavior now.

Added:

  • Added the commit input, that allows you to change the arguments for the git commit command. (#331)
  • Added the new_branch input. (6fdb34e)
  • Added the commit_long_sha output. (#349)
add-and-commit - v7.5.0

Published by EndBug almost 3 years ago

Added:

  • Support remote branch creation: use the branch_mode input to make the action create a new branch when there's no branch with the given name on the remote (#329)
add-and-commit - v7.4.0

Published by EndBug about 3 years ago

Added:

  • Added pull input: you can use it to change the arguments of the git pull command (#294)

Changed:

  • Deprecated pull_strategy: use pull instead (#294)
add-and-commit - v7.3.0

Published by EndBug about 3 years ago

Added:

  • Added custom committer support via the committer_name and committer_email inputs (#264)
  • Added commit_sha output (#275)
  • Added pathspec_error_handling input (#280)
add-and-commit - v7.2.1

Published by EndBug over 3 years ago

Fixed:

  • Fixed an issue with missing outputs (#189)
add-and-commit - v7.2.0

Published by EndBug over 3 years ago

Added:

  • default_author: this input allows you to control how the action fills missing author name or email (issue #167)
  • github_token input introduced to get token to use in API calls

Fixed:

  • Git args are now parsed with string-argv, the format has to comply with what the package can parse (issue #179)
add-and-commit - v7.1.2

Published by EndBug over 3 years ago

Fixed:

  • Git args parsing now correctly handles quotes, that can be used for multi-word arguments (issue #166)
add-and-commit - v7.1.1

Published by EndBug over 3 years ago

Fixed:

  • Git args parsing has been improved, and now handles spaces correctly (issue #154)
add-and-commit - v7.1.0

Published by EndBug over 3 years ago

You can see the full changelog here.

Added:

  • pull_strategy: you can use 'NO-PULL' to prevent the action from pulling from the remote at all.
add-and-commit - v7.0.0

Published by EndBug almost 4 years ago

You can see the full changelog here.

Changed:

  • [BREAKING] The token input has been removed: author info will be filled using the GitHub Actor, instead of fetching info from the GitHub API.
    The commits will be authored using the GitHub no-reply email associated with the account: [email protected]
  • [BREAKING] Because of the change above, the author will now be the user that triggered the action run, and not the author of the last commit: while the two are often the same person, there are instances where they might differ (e.g. when a workflow run is triggered manually).
add-and-commit - v6.2.0

Published by EndBug almost 4 years ago

You can see the full changelog here.

Added:

  • push input: allow for custom git push arguments to be used, more info in the README. (issue #100)