From 7fea8d385416bf6008d38606fb80ea5ed2c0b47e Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Sun, 12 Jun 2022 00:43:38 +0200 Subject: [PATCH] Change test action yaml to reset correctly. --- .github/workflows/test_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_release.yml b/.github/workflows/test_release.yml index cdc7b5ec..bc242bf1 100644 --- a/.github/workflows/test_release.yml +++ b/.github/workflows/test_release.yml @@ -77,8 +77,8 @@ jobs: git config --global user.name "Actions User" git config --global user.email "actions@github.com" - git fetch origin master && git fetch origin test && git checkout test && git reset --hard master + git fetch origin master && git fetch origin test && git branch -f test origin/master && git checkout test git add repo.json git commit -m "[CI] Updating repo.json for ${{ github.ref }}" || true - git push origin test || true + git push origin test -f || true