From ece0f5e8b8c0153f544f907543df917a419222de Mon Sep 17 00:00:00 2001 From: Harsh Khandeparkar Date: Fri, 5 Jan 2024 18:14:14 +0530 Subject: [PATCH] fix: try hard resetting Signed-off-by: Harsh Khandeparkar --- .github/workflows/swagger_docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swagger_docs.yml b/.github/workflows/swagger_docs.yml index f5aff7d..a44e32d 100644 --- a/.github/workflows/swagger_docs.yml +++ b/.github/workflows/swagger_docs.yml @@ -50,7 +50,7 @@ jobs: git config user.signingkey ~/.ssh/koss-service.pub git checkout -b docs || git checkout docs git pull -S origin docs - git merge -S 'origin/${{ github.ref_name }}' + git reset --hard 'origin/${{ github.ref_name }}' - name: Generate swagger.yaml and exit if no changes run: |