Commit Graph

121 Commits

Author SHA1 Message Date
Eliminater74
b646e274db
Update: entrypoint.sh 2021-08-20 20:54:32 -04:00
Eliminater74
b97d556c1d
Update: action.yml 2021-08-20 19:30:49 -04:00
Eliminater74
67a3a057c8
Update: enterypoint.sh 2021-08-20 19:23:03 -04:00
Michael Ryan
12ff072138
Fixed mistake in readme
Signed-off-by: Eliminater74 <eliminater74@gmail.com>
2021-08-20 18:57:40 -04:00
Michael Ryan
f87dd89716
Modified so this could be deployed to github marketplace
Signed-off-by: Eliminater74 <eliminater74@gmail.com>
2021-08-20 18:57:09 -04:00
Michael Ryan
520a9d8c28
Allows pushing to target directory in target repo
Signed-off-by: Eliminater74 <eliminater74@gmail.com>
2021-08-20 18:56:37 -04:00
Eliminater74
448b7dad95
Test FIX 2021-08-20 18:40:02 -04:00
Piotr Joński
84dc6cc070
Update entrypoint.sh 2021-06-24 09:00:58 +02:00
Piotr Joński
69e1f423c8
Update action.yml 2021-06-24 09:00:26 +02:00
Piotr Joński
280163351f
Update entrypoint.sh 2021-06-24 08:59:20 +02:00
Piotr Joński
c3f0aa4db9
Add github-server input parameter 2021-06-24 08:57:24 +02:00
Carles Pina Estany
2ebe0cc15f
Merge pull request #29 from HonQii/patch-1
Fix could not read Username for 'https://github.com' error
2021-05-08 12:34:02 +02:00
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