122 Commits

Author SHA1 Message Date
Pascal Zimmermann
4150bf040c
Revert "Update start.js (#175)" (#176)
This reverts commit f8e0bce1336275c599afd7c2ee08df11d28fd317.
2023-07-27 22:03:00 +02:00
Kerwin Bryant
f8e0bce133
Update start.js (#175)
Compatible with repository addresses using http protocol.
2023-07-27 19:41:00 +02:00
Pascal Zimmermann
d9117be7ca
docs: Add protected branch support to the documentation (#171) 2023-06-06 08:21:35 +02:00
Pascal Zimmermann
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
Pascal Zimmermann
c361e2bb07
Revert "fix: Remove the user (#156)" (#168)
This reverts commit 75ba9fb1cfcb33ef7c6226cfdcbbef9f398a7de3.
2023-05-18 10:13:05 +02:00
Pascal Zimmermann
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
Hubert
0fafdd62b8
fix typo (#149) 2022-12-12 20:49:32 +01:00
Pascal Zimmermann
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
Pascal Zimmermann
4dcce6dea3
Merge pull request #140 from kdambekalns/patch-1
Use node16 to run the action
2022-10-12 08:35:55 +02:00
Karsten Dambekalns
b87afee92c
Use node16 to run action
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
2022-10-11 23:38:16 +02:00
Pascal Zimmermann
35284cf030
Merge pull request #138 from sleepypikachu/master
Add atomic push
2022-10-04 15:00:23 +02:00
Elliot Iddon
00483b0482 Add option to control atomic switch 2022-10-04 13:38:53 +01:00
Pascal Zimmermann
c9ef0a92e1
Merge pull request #128 from jackton1/patch-4
chore: remove redundant safe.directory configuration
2022-10-03 16:58:17 +02:00
Elliot
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
Pascal Zimmermann
7e6f17c52d
Merge branch 'master' into patch-4 2022-06-30 15:58:15 +02:00
Pascal Zimmermann
9a46ba8d86
Merge pull request #134 from SevereCloud/patch-1
Update github_token and github_url to handle it as optional parameter
2022-06-28 18:48:33 +02:00
Daniil Suvorov
67c1a687d9
fix: github_token and github_url optional 2022-06-28 13:40:34 +03:00
Pascal Zimmermann
6195df7871
Merge pull request #124 from ZPascal/add-force-with-lease-support
Add force with lease support
2022-06-26 00:02:58 +02:00
Pascal Zimmermann
e5f70b0f07 * Add force with lease support
* Update the documentation
2022-06-25 23:30:43 +02:00
Tonye Jack
84236bda17
Merge branch 'master' into patch-4 2022-06-16 00:14:47 -04:00
Pascal Zimmermann
492de9080c
Merge pull request #129 from ad-m/add-wrongly-removed-code
Fix removed code lines
2022-06-15 15:52:30 +02:00
Pascal Zimmermann
828ee9b9ba
Fix removed code lines 2022-06-15 15:48:45 +02:00
Pascal Zimmermann
e69c0c047e
Add deploy key functionality (#120)
* Add deploy key functionality
2022-06-15 13:46:08 +02:00
Tonye Jack
f0a42d466f
Update README.md 2022-06-14 14:26:50 -04:00
Tonye Jack
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
Pascal Zimmermann
dda7a419b6
Merge pull request #121 from ad-m/revert-80-patch-1
Revert "Use --force-with-lease instead of --force"
2022-05-05 06:30:47 +02:00
Pascal Zimmermann
6ca7df8e1c
Revert "Use --force-with-lease instead of --force" 2022-05-05 06:27:49 +02:00
Pascal Zimmermann
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
Pascal Zimmermann
21d44fe927
Revert "Add deploy key functionality (#115)" (#119)
This reverts commit d4a6a7883a40e2ff04f1943ca6871fc03fc5a738.
2022-05-04 13:04:15 +02:00
Pascal Zimmermann
d4a6a7883a
Add deploy key functionality (#115)
* Add deploy key functionality
2022-05-04 13:00:55 +02:00
Pascal Zimmermann
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
Pascal Zimmermann
887c31bd83
Update the documentation (#114) 2022-04-25 01:32:41 +02:00
Pascal Zimmermann
f579af7904
Update the urls (#117) 2022-04-24 22:51:40 +02:00
abroskin
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
Pascal Zimmermann
a3fd843e49
Add a PR validation action (#109) 2022-02-23 08:13:22 +01:00
Adam Dobrawy
7257a3a6d5
Revert "Add GitHub Enterprise support (#106)" (#107)
This reverts commit a7824cd3a238190cbeedbec978800df3d94256ac.
2022-02-18 10:30:56 +01:00
Pascal Zimmermann
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
Tonye Jack
8407731efe
Fixed typo (#98)
* Fixed typo

* Update README.md
2021-08-10 21:11:15 +02:00
Tonye Jack
3140f3af79
Update README.md (#93)
* Update README.md

* Update README.md

* Update README.md
2021-07-30 10:14:01 +02:00
Adam Dobrawy
65392840bd
how fix syntax in action.yml
See #91
2021-05-24 11:59:14 +02:00
Tonye Jack
cbec6b6085
Added a default github_token (#91)
* Added a default github_token

* Update README.md

* Update README.md

* Update README.md

* Update action.yml

Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com>

Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com>
2021-05-24 11:32:22 +02:00
谭九鼎
59160b8498
Use --force-with-lease instead of --force 2021-01-26 20:02:40 +08:00
Adam Dobrawy
057a6ba835
Fix passing token to GitHub 2021-01-06 23:37:02 +01:00
Adam Dobrawy
821c9b7de9
Add logging full URL 2021-01-05 04:46:06 +01:00
Adam Dobrawy
13c185d93e
Fix missing repository field 2021-01-04 09:45:13 +01:00
Adam Dobrawy
f6d8fb7302
Remove default from action configuration 2021-01-04 07:41:39 +01:00
Adam Dobrawy
968e14041f
Discovery default branch for repository (#75) 2021-01-04 07:16:22 +01:00
Mike Rogers
3a0787a996
Document the new default branch (#74) 2021-01-03 04:39:35 +01:00
Adam Dobrawy
1bf41a92a1
Revert "refactor(start): use @actions/exec (#47)" (#73)
This reverts commit c52e809b5674f36e38bf83f07568dbf04f7921d4.
2021-01-02 06:50:13 +01:00
jjangga0214
c52e809b56
refactor(start): use @actions/exec (#47) 2021-01-02 06:29:28 +01:00