Commit Graph

109 Commits

Author SHA1 Message Date
HonQi
6b89adc168
Fix could not read Username for 'https://github.com' error
Push to the repo of another account (such as an organization) may trigger this error. Clearly indicate the account name to avoid
2021-05-06 16:28:27 +08:00
Carles Pina Estany
940a2857e5
Merge pull request #27 from JamesMCo/main
Add argument to specify name used in commits
2021-04-29 23:45:48 +02:00
James C
637a257cca
Add argument to specify name used in commits 2021-04-29 06:06:40 +01:00
Carles Pina i Estany
5c472514b3 Better use "$" to make it clear that this is going to be escaped 2021-04-25 17:59:53 +01:00
Carles Pina i Estany
cb0e53ecbe Try to let users use GITHU_REF variable in the commit message 2021-04-25 17:53:31 +01:00
Carles Pina i Estany
8e9bfb00e6 Improve error message 2021-04-25 11:26:51 +01:00
Carles Pina i Estany
9b1e7ac6a5 Fix indentation (spaces) 2021-04-25 11:22:41 +01:00
Carles Pina i Estany
3a9dc3773c Uses "main" branch instead of "master" for the examples, instructions, etc. 2021-04-25 11:09:13 +01:00
Carles Pina i Estany
88287f5737 Fix markdown 2021-04-25 10:59:12 +01:00
Carles Pina i Estany
85a0ac138a Improve the error message 2021-04-25 10:57:58 +01:00
Carles Pina i Estany
bb3e4ea525 Add a check in entrypoint.sh to help users if the source directory does not exist
Updated documentation
2021-04-25 10:55:07 +01:00
Carles Pina i Estany
f30895310c Fixed issue deleting files that need to be deleted from the target repo
See #16
2020-12-02 20:04:04 +00:00
Carles Pina i Estany
f5a3797d5b Fix typo 2020-12-02 16:21:05 +00:00
Carles Pina i Estany
ec672cbc0a Fixed deleting files from $CLONE_DIR (keep $CLONE_DIR/.git and deletes files like $CLONE_DIR/.gitattributes)
Thanks @ruuk for the report
2020-12-02 16:16:04 +00:00
Carles Pina i Estany
e7bc77c21d Added verbose 2020-12-02 15:51:35 +00:00
Carles Pina i Estany
3d4da26ca5 Fixed problem deleting files starting with .git (e.g. .gitattributes) 2020-12-02 15:43:05 +00:00
Carles Pina i Estany
976916018a Improve comment 2020-11-10 09:01:07 +00:00
Carles Pina Estany
ea29b5b83f
Fix pushing the generated files into a branch that does not exist
allow to push into remote, even if brach does not exist
2020-11-10 09:00:30 +00:00
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
c6421df38d Fix "typo" in yml 2020-11-04 16:26: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
61d0646c22 Improve documentation 2020-11-04 15:20:40 +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
884b652fa7 Update alpine to latest released 2020-11-04 14:41:02 +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
Carles Pina Estany
160c443d67
Merge pull request #6 from smellman/master
supports github branch renaming (push to another branch that is not master)
2020-09-23 09:50:31 +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
Carles Pina Estany
db81c54e24
Merge pull request #4 from dmnemec/master
allow separate author and destination repository
2020-08-12 15:04:22 +02: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
Carles Pina Estany
ece5884654
Merge pull request #2 from eibanez/master
Delete trailing parenthesis
2020-07-29 10:02:31 +02: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
Carles Pina i Estany
811756fa00 Updates README.md 2020-04-03 23:10:49 +02:00
Carles Pina Estany
d5460a280b
Improves README 2020-03-29 21:46:29 +02:00
Carles Pina Estany
ea53262753
Adds branding (icon, color) 2020-03-29 21:30:17 +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