diff --git a/.github/workflows/icon-generator.yml b/.github/workflows/icon-generator.yml index b034a17a8..ba4c1ad94 100644 --- a/.github/workflows/icon-generator.yml +++ b/.github/workflows/icon-generator.yml @@ -68,7 +68,7 @@ jobs: - name: Commit and Push changes if: steps.check-changes.outputs.result == 'Changes detected' run: | - git checkout ${{ github.head_ref }} + git checkout -B ${{ github.head_ref }} git config --local user.email "actions@github.com" git config --local user.name "GitHub Actions" git add .