Automatically commit changes made in your workflow run directly to your repo
MIT License
Bot releases are hidden (Show)
Published by EndBug almost 4 years ago
You can see the full changelog here.
token
input: you can now use this instead of setting the GITHUB_TOKEN
env variable, which has been deprecated. This input is optional, its default value is the default secrets.GITHUB_TOKEN
. You only need to use this if you want the action to run with a PAT. (issue #110)GITHUB_TOKEN
: the use of this env variable is now deprecated in favor of the token
input, you'll start receiving warnings if you keep using it. (issue #110)Published by EndBug almost 4 years ago
You can see the full changelog here.
add
and remove
parameters (you still need pass a string as input, but that can be parsed to an array by the action). Using them will run multiple commands in succession. I don't think this will be really breaking anything, but I've used a major version change just to be sure. There's more info about this stuff on the README. (issue #95)Published by EndBug almost 4 years ago
You can see the full changelog here.
committed
, pushed
, and tagged
) that will be set to either true
or false
to tell you what the action has done. The outputs are also shown in the action logs.Published by EndBug about 4 years ago
You can see the full changelog here.
Published by EndBug about 4 years ago
This release adds PR support to the action: you can now use when running the workflow with the pull_request
event, and the action will push commits to the head branch.
Ref: issue #48
Published by EndBug over 4 years ago
This release makes the action work also on Windows instances.
Ref: #33
Published by EndBug over 4 years ago
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
Published by EndBug over 4 years ago
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
Published by EndBug over 4 years ago
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).echo
lines. You will now find additional info in the logs.Published by EndBug over 4 years ago
This release fixes the error handling, so that action failures are easier to read. Ref: #25
Published by EndBug over 4 years ago
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.
Published by EndBug over 4 years ago
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.
Published by EndBug over 4 years ago
This release add the remove
parameter, which allows you to delete files directly from the action.
Published by EndBug over 4 years ago
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.
Published by EndBug almost 5 years ago
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
.