Commit Graph

81 Commits

Author SHA1 Message Date
Carles Pina Estany
edbe7a0efc
Use long command option instead of short and adds comment
Thanks @TomasVotruba
2020-11-10 08:59:28 +00:00
Tomas Votruba
9852c86807
allow to push into remote, even if brach does not exist 2020-11-10 02:36:41 +01:00
Carles Pina i Estany
eae1cf2f70 Avoid failing if no changes are to be pushed 2020-11-05 17:43:46 +00:00
Carles Pina i Estany
61d842d233 Fix typo in a message 2020-11-05 17:39:27 +00:00
Carles Pina i Estany
c26a144ee1 Fix substitution. Works with any strings (not as sed)
Less portable but tested with Busybox shell used in this image
2020-11-04 16:45:08 +00:00
Carles Pina i Estany
79e1b1b20b Fix sed (had the missing slash but now replaces it every time) 2020-11-04 16:28:43 +00:00
Carles Pina i Estany
cfb5cb5949 Allow to pass the commit message 2020-11-04 16:23:02 +00:00
Carles Pina i Estany
5a00473a58 Align names of the variables in entrypoint.sh with the names of the variables in action.yml 2020-11-04 15:27:20 +00:00
Carles Pina i Estany
da21c6b08d set options to make it easier to debug if a command fails
Make use of optional arguments on action.yml in order to avoid testing
against an undefined variable
2020-11-04 15:02:44 +00:00
Carles Pina i Estany
5d8dc0fe1a Add double quotes
TARGET_BRANCH cannot have spaces currently but adding double shell for
consistent style.

GITHUB_USERNAME probably cannot have spaces but just for consistency
(and in case that it can have spaces)
2020-09-23 09:53:20 +01:00
Taro Matsuzawa
80a683b9ad fixes missing ] 2020-09-23 16:53:28 +09:00
Taro Matsuzawa
26fe0168e2 supports target branch for github-renaming 2020-09-23 16:49:12 +09:00
Devin Nemec
4b313f1b76 unset upstream (not needed) 2020-08-10 09:14:18 -05:00
Devin Nemec
a76c6fd84a explicitly clone and use master branch 2020-08-10 09:13:52 -05:00
Devin Nemec
dc3ca8455d fix typo 2020-08-10 09:03:53 -05:00
Devin Nemec
b511d6418a adding context and setting upstream 2020-08-10 09:02:28 -05:00
Devin Nemec
b174d4c1a3 fix if statement 2020-08-10 08:31:08 -05:00
Devin Nemec
a69edf2ee5 remove space 2020-08-10 08:06:59 -05:00
Devin Nemec
f32c463e11 allow separate author and destination repository 2020-08-07 15:49:54 -05:00
Eduardo Ibanez
807f8fa4f7
Delete trailing parenthesis 2020-07-28 21:32:30 -05:00
Carles Pina i Estany
637125d225 Use consistently USER_EMAIL
fixes #1
2020-06-08 23:49:19 +02:00
cpina
01ab9dd0b3 Simplifies commit message 2020-03-29 21:02:21 +02:00
cpina
57ac4a1864 Updates README and improves commit message of the generated message 2020-03-29 20:59:13 +02:00
cpina
60f023a31a Fixes deleting too many files 2020-03-29 17:49:16 +02:00
cpina
062af890e7 it uses busybox, --directory doesn't exist 2020-03-29 17:36:01 +02:00
cpina
f6ed973d7b Creates a directory, not a file 2020-03-29 17:34:09 +02:00
cpina
30ad5ed618 Does better job with the directory creation, naming, etc. 2020-03-29 17:30:55 +02:00
cpina
0f0c204dae Updates and avoids having the email hardcoded 2020-03-29 17:20:35 +02:00
cpina
38563e1748 Defines variable 2020-03-29 17:13:00 +02:00
cpina
8956a2d3f2 Updates file adding the code to push 2020-03-29 17:07:19 +02:00
cpina
d17570f574 Testing github action 2020-03-29 16:44:47 +02:00