1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2024-09-19 09:56:16 +00: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:
Earl Warren 2023-10-12 16:01:48 +02:00
parent 6821c1eaf7
commit 8744b5c5cf
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -189,6 +189,7 @@ function push_self_action() {
clear_runner_cache
local dir="$DIR/self"
git diff --exit-code
git clone . $dir
(
cd $dir