Commit Graph

42 Commits

Author SHA1 Message Date
fcea09907c fix: Update the documentation (#160)
* fix: Update the documentation and remove the unsafe directory functionality
* docs: Adjust the used checkout version

Co-authored-by: Tonye Jack <jtonye@ymail.com>

---------

Co-authored-by: Tonye Jack <jtonye@ymail.com>
2024-01-22 09:19:38 +01:00
e0ae067286 feat: Add push to submodules support (#155) 2024-01-10 13:15:51 +01:00
df39337088 *fix: Remove the user (#169)
*doc: Adjust the documentation
*fix: Add empty line at the end of the file
2023-05-21 14:10:24 +02:00
c361e2bb07 Revert "fix: Remove the user (#156)" (#168)
This reverts commit 75ba9fb1cf.
2023-05-18 10:13:05 +02:00
75ba9fb1cf fix: Remove the user (#156)
* fix: Remove the user
* doc: Adjust the documentation
* fix: Add empty line at the end of the file
2023-05-18 07:12:20 +02:00
552c074ed7 Update the documentation and the push process (#135)
* doc: Update the documentation and the push process
2022-10-31 08:55:44 +01:00
35284cf030 Merge pull request #138 from sleepypikachu/master
Add atomic push
2022-10-04 15:00:23 +02:00
00483b0482 Add option to control atomic switch 2022-10-04 13:38:53 +01:00
bb3766ad6a Add atomic push
Since time elapses between the checkout the github workflow performs and the eventual push this action invokes the remote HEAD may have changed. If this is the case the HEAD update will be rejected but any tag (and their commits) will be pushed.

In general I think this operation should be atomic, either we push everything or we push nothing.

Force pushes still work the way you would expect (i.e. if we force the HEAD update with --atomic everything is still pushed)

This also protects from the situation where someone else has seized your tag name in the meantime but not updated your HEAD.

See git docs for more information - https://git-scm.com/docs/git-push#Documentation/git-push.txt---no-atomic
2022-09-02 10:53:40 +01:00
7e6f17c52d Merge branch 'master' into patch-4 2022-06-30 15:58:15 +02:00
e5f70b0f07 * Add force with lease support
* Update the documentation
2022-06-25 23:30:43 +02:00
84236bda17 Merge branch 'master' into patch-4 2022-06-16 00:14:47 -04:00
828ee9b9ba Fix removed code lines 2022-06-15 15:48:45 +02:00
e69c0c047e Add deploy key functionality (#120)
* Add deploy key functionality
2022-06-15 13:46:08 +02:00
d403eb46ce chore: remove redundant safe-directory configuration
This has been resolved in the [checkout](https://github.com/actions/checkout/pull/770) action and would already be set by default.
2022-06-14 14:26:16 -04:00
6ca7df8e1c Revert "Use --force-with-lease instead of --force" 2022-05-05 06:27:49 +02:00
f43881ed8c Merge pull request #80 from imba-tjd/patch-1
Use --force-with-lease instead of --force
2022-05-04 14:09:21 +02:00
21d44fe927 Revert "Add deploy key functionality (#115)" (#119)
This reverts commit d4a6a7883a.
2022-05-04 13:04:15 +02:00
d4a6a7883a Add deploy key functionality (#115)
* Add deploy key functionality
2022-05-04 13:00:55 +02:00
694e694af3 Add GitHub Enterprise support (#108)
* * Add GitHub url and GitHub Enterprise support
* Update the GitHub action

* Update build.yml

Remove push command

* Update the PR and remove the test mode

* Delete build-pr.yml

* Update README.md
2022-05-04 00:23:31 +02:00
6defe3bd9f Added workaround as suggested by the git itself (#112)
* Added workaround as suggested by the git itself

* Update start.sh

Co-authored-by: Pascal Zimmermann <Z_pascal@yahoo.de>

Co-authored-by: aleksandr.abroskin <aleksandr.abroskin@getmoss.com>
Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com>
Co-authored-by: Pascal Zimmermann <Z_pascal@yahoo.de>
2022-04-15 01:32:33 +02:00
7257a3a6d5 Revert "Add GitHub Enterprise support (#106)" (#107)
This reverts commit a7824cd3a2.
2022-02-18 10:30:56 +01:00
a7824cd3a2 Add GitHub Enterprise support (#106)
* Add GitHub url and GitHub Enterprise support

* Add review improvements

* Modify the default value to github.server_url
2022-02-18 10:26:44 +01:00
59160b8498 Use --force-with-lease instead of --force 2021-01-26 20:02:40 +08:00
b007e7b818 add cacompatibility for gh latest main branch (#66) 2020-10-13 23:46:47 +02:00
f18534c0e2 Fix undefined variable TAGS with INPUT_TAGS (#54) 2020-05-04 06:44:28 +02:00
508672e3d6 feat: tags is now configurable 2019-11-22 12:30:46 +01:00
dbccd851c4 add tags 2019-11-22 12:28:11 +01:00
c55b1c209b Fix to use REPOSITORY 2019-10-27 01:43:48 +09:00
11c12b7fd5 Merge branch 'master' into master 2019-10-10 09:42:02 +02:00
c180eac26c Simplify Git remote 2019-10-10 04:11:24 +02:00
358cef5702 Add INPUT_REPOSITORY for another repository push 2019-10-06 05:20:52 +09:00
a8bfc1909c Add support for changing directories before push 2019-10-01 23:13:29 +02:00
ed911a0e24 Add simple force input 2019-10-01 18:25:39 +02:00
73b21d470c Publish tags 2019-09-30 16:18:48 +01:00
e8d06b80fa Update start.sh 2019-09-12 03:06:46 +02:00
277d92c683 Update start.sh 2019-09-03 10:47:38 +02:00
fbe6aa5e4b Update start.sh 2019-08-24 13:44:51 +02:00
7f77d44deb Update start.sh 2019-08-24 13:38:52 +02:00
af9fa9e17f Update start.sh 2019-08-24 13:34:41 +02:00
f26d4a7a9f Update start.sh 2019-08-24 13:31:16 +02:00
c4ba72ddd2 first commit 2019-08-24 13:04:49 +02:00