Skip to content

Releases: EndBug/add-and-commit

v4.2.1

10 Jul 15:31
06d5446
Compare
Choose a tag to compare

This release makes the action work also on Windows instances.
Ref: #33

v4.2.0

17 May 16:32
Compare
Choose a tag to compare

This release adds tagging: you can now create and update lightweight tags within the action. Check out the "tagging" section of the readme for more info!
Ref #30

v4.1.0

01 May 13:40
0e98be5
Compare
Choose a tag to compare

This release adds the ref option, that allows you to tell the action which branch it should use. If none is entered, it will default to the one that triggered the workflow (which is stored by GitHub in the GITHUB_REF env variable).
Please note that you only need to write the branch name, not the whole refs/heads/... string.
Ref issue: #29

v4.0.3

01 May 09:59
5bf921b
Compare
Choose a tag to compare

This release improves logs:

  • git diff will now stop emitting logs, so that everything is easier to read and won't cause buffer problems (ref issue #27).
  • Everything that is supposed to be logged will be: previous versions logged only command outputs and not echo lines. You will now find additional info in the logs.
  • To allow you to focus on the most relevant stuff, I grouped everything that only needs to exist to debug the action in a foldable group called "Internal logs".

v4.0.2

19 Apr 21:29
Compare
Choose a tag to compare

This release fixes the error handling, so that action failures are easier to read. Ref: #25

v4.0.1

20 Mar 15:53
2d77fa2
Compare
Choose a tag to compare

This release allows the action to also work when using a scheduled event as workflow trigger (fixes #22).
It also prevents the action from logging warnings when both author_name and author_email are set.

v4.0.0

03 Mar 18:36
45c7fd7
Compare
Choose a tag to compare

The version gets rid of find commands and path/pattern options: now the action uses git add and git rm commands, and you can directly choose the arguments with the add/remove options.
This version also changes the error handling: if one of the git commands fails the action will not stop. That means that if your git add pathspec doesn't match any file the action can still run the git rm command and vice versa.

v3.1.0

21 Feb 15:58
9a6336d
Compare
Choose a tag to compare

This release add the remove parameter, which allows you to delete files directly from the action.

v3.0.0

24 Jan 09:44
ec03bb8
Compare
Choose a tag to compare

This release allows the action to run in multiple jobs, by pulling before creating the new commit.
Please keep in mind that this will work only if the jobs are fired subsequently, it won't work if they are run at the same time: in that case, only the first commit will get pushed, while the other will get rejected by the remote.
To run jobs one after the other you can use the needs parameter: link

Important: this will only work if you're using actions/checkout@v2, using other major versions may not work.

v2.3.2

29 Dec 19:26
1e1ccbd
Compare
Choose a tag to compare

This release adds the option to change the working directory with the cwd input parameter. This can be useful if you need to commit to a repository that has not been checked out in the GITHUB_WORKSPACE.