mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 19:11:09 -05:00
Merge pull request 'error if trying to push a self action that has uncommitted changes' (#64) from earl-warren/setup-forgejo:wip-diff-self-ache into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/64 Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
This commit is contained in:
commit
0e868f6735
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ function push_self_action() {
|
||||||
clear_runner_cache
|
clear_runner_cache
|
||||||
|
|
||||||
local dir="$DIR/self"
|
local dir="$DIR/self"
|
||||||
|
git diff --exit-code
|
||||||
git clone . $dir
|
git clone . $dir
|
||||||
(
|
(
|
||||||
cd $dir
|
cd $dir
|
||||||
|
|
Loading…
Reference in a new issue