From 6804e3dc736d6632cd093628e0855eb5ce379ef0 Mon Sep 17 00:00:00 2001
From: Alex Tran <alex.tran1502@gmail.com>
Date: Thu, 6 Oct 2022 15:27:31 -0500
Subject: [PATCH] Fixed

---
 .github/workflows/openapi-generator.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/openapi-generator.yml b/.github/workflows/openapi-generator.yml
index eb6cdd2220..8794105d59 100644
--- a/.github/workflows/openapi-generator.yml
+++ b/.github/workflows/openapi-generator.yml
@@ -14,10 +14,6 @@ jobs:
       # Checkout your code
       - name: Checkout
         uses: actions/checkout@v2
-        run: |
-          git config --global init.defaultBranch main
-          git config --global user.email "immichbot@immich.app"
-          git config --global user.name "Immich Bot"
 
       # Use the action to generate a client package
       # This uses the default path for the openapi document and thus assumes there is an openapi.json in the current workspace.
@@ -31,6 +27,9 @@ jobs:
       # Do something with the generated client (likely publishing it somewhere)
       - name: Do something with the client
         run: |
+          git config --global init.defaultBranch main
+          git config --global user.email "immichbot@immich.app"
+          git config --global user.name "Immich Bot"
           cd typescript-axios-client  
           git init
           git add .