mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 21:50:58 -05:00
error if trying to push a self action that has uncommitted changes
otherwise it will not push these changes and this is not what is intended during development
This commit is contained in:
parent
6821c1eaf7
commit
8744b5c5cf
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