Commit Graph

62 Commits

Author SHA1 Message Date
Stefan Zweifel
5a4e81ccd7 WIP 2020-02-05 21:31:46 +01:00
Stefan Zweifel
0884c39e7e WIP 2020-02-05 21:28:18 +01:00
Stefan Zweifel
5ab45a4eef WIP 2020-02-05 21:26:30 +01:00
Stefan Zweifel
5df30c89b8 Update how commit is pushed 2020-02-05 21:22:54 +01:00
Stefan Zweifel
0a5fd7e510 Merge branch 'v3' into feature/commiter-options
# Conflicts:
#	README.md
#	entrypoint.sh
2020-02-05 20:12:29 +01:00
Stefan Zweifel
0822a9b930 Add commit_author input option 2020-02-04 21:02:40 +01:00
Stefan Zweifel
d47024e59c Add commit_user_name and commit_user_email inputs 2020-02-04 20:14:27 +01:00
Stefan Zweifel
b21b1abc6d Update Comment 2020-02-04 19:37:58 +01:00
Stefan Zweifel
4ab94c0ec4 Remove creation of .netrc file 2020-01-13 21:23:03 +01:00
Ivan Yelizariev
5dd90bb58c
refactoring: combine merge lib.sh to entrypoint.sh
If we use "source /lib.sh", bash will point to wrong line in case of an error.
It's confusing on debuggin new features
2020-01-10 13:08:35 +05:00
Stefan Zweifel
7c85ce3dee Update path to lib.sh 2019-12-12 20:46:16 +01:00
Stefan Zweifel
68035425ff Update Path 2019-12-12 20:44:41 +01:00
Stefan Zweifel
3273c330f8 Fix path 2019-12-12 20:42:47 +01:00
Stefan Zweifel
4280601118 Create lib.sh and update entrypoint.sh 2019-12-12 20:41:00 +01:00
Ivan Yelizariev
d3ceacae7d
Add "repository" option for custom repository path 2019-12-10 17:20:25 +05:00
Andreas Möller
b1b8ae8b5c
Fix: Use 'git status -s' to check for untracked/modified files 2019-11-27 11:24:27 +01:00
Stefan Zweifel
fb3de05451 Revert "Fix: Add files that are not tracked yet"
This reverts commit 65d8bdf167.
2019-11-24 12:21:42 +01:00
Andreas Möller
65d8bdf167
Fix: Add files that are not tracked yet 2019-11-22 11:55:58 +01:00
Gömöri Zsolt
2fb839c669 Remove is_defined() 2019-11-01 11:11:19 +01:00
Gömöri Zsolt
908446c002 Use :+ to avoid empty string 2019-11-01 11:03:23 +01:00
Gömöri Zsolt
2d23a29775 Use one-line if statement 2019-11-01 10:53:56 +01:00
Gömöri Zsolt
bdc88aff2c Re-add is_defined() to eliminate empty string in git commit 2019-11-01 10:44:09 +01:00
Gömöri Zsolt
ddcd35eaa8 Remove is_defined() approach 2019-11-01 10:19:20 +01:00
Gömöri Zsolt
69d0349561 Log input params beforehand 2019-11-01 10:10:52 +01:00
Gömöri Zsolt
1ad5315ba7 Fix log statement 2019-11-01 09:51:19 +01:00
gomorizsolt
fa043bd474 Remove junk code 2019-10-31 15:13:27 +01:00
gomorizsolt
af33cfbb5c Replace get_value with is_defined altogether 2019-10-31 14:49:38 +01:00
gomorizsolt
677efa2969 Remove blank line 2019-10-31 11:25:08 +01:00
gomorizsolt
b6dcf94303 Add is_defined and get_value to improve on code's reusability 2019-10-31 11:18:48 +01:00
gomorizsolt
a65a3a47cd Support commit options, update README.md accordingly 2019-10-31 09:02:56 +01:00
Stefan Zweifel
25c0d721b7 Reenable if condition 2019-10-26 14:00:59 +02:00
Stefan Zweifel
d6493da30b Disable if-condition 2019-10-26 13:58:34 +02:00
Stefan Zweifel
03de600c97 Fixes 2019-10-25 20:57:03 +02:00
Stefan Zweifel
40956d2dbd Add file_pattern argument 2019-10-25 20:51:12 +02:00
Stefan Zweifel
5adbb8cb3e Use GITHUB_ACTOR instead of args 2019-09-20 20:34:57 +02:00
Stefan Zweifel
97f9868da0 Rename ref to branch 2019-09-20 20:26:41 +02:00
Stefan Zweifel
7fec5eda4a Cleanup 2019-09-20 10:46:35 +02:00
Stefan Zweifel
6c17ba31a9 Output $INPUT_REF 2019-09-20 10:43:15 +02:00
Stefan Zweifel
6f1c9227f5 Fix git push command 2019-09-20 10:37:16 +02:00
Stefan Zweifel
72e2d4cb1e Fix git checkout 2019-09-20 10:33:12 +02:00
Stefan Zweifel
8cc484cbc5 Add ref argument 2019-09-20 10:30:36 +02:00
Stefan Zweifel
ed0ebb9072 Log $PUSH_BRANCH value 2019-09-20 10:19:34 +02:00
Stefan Zweifel
0b91625aed WIP 2019-09-20 10:11:50 +02:00
Stefan Zweifel
ba1c2a6047 Try to fix that push command 2019-09-20 10:08:13 +02:00
Stefan Zweifel
12282205b7 Try to fix git push 2019-09-20 10:01:27 +02:00
Stefan Zweifel
ef8610f6df Fix git push 2019-09-20 09:56:20 +02:00
Stefan Zweifel
f4fd59c4d4 Use $PUSH_BRANCH in git push command 2019-09-20 09:49:26 +02:00
Stefan Zweifel
ea88bd7cde Try to fix checkout command 2019-09-20 09:42:26 +02:00
Stefan Zweifel
80f825a9bc Update how the branch is checked out 2019-09-20 09:27:50 +02:00
Stefan Zweifel
0364ecfe57 Update Entrypoint 2019-08-31 18:34:01 +02:00