build(ci): fixlet to clone count
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 18 Sep 2023 13:17:09 +0000 (15:17 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 18 Sep 2023 13:17:09 +0000 (15:17 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/clone-count.yml

index a4e87d974f325bac2b2457627d60cce04ac5c9b8..aa10b2fa12c67846eba0c831bc8c48cb05eeb8d0 100644 (file)
@@ -78,10 +78,10 @@ jobs:
             echo "<a href='$repo'><img alt='GitHub Clones' src='$shields$url&logo=github'></a>" >> CLONE.md
             echo '```' >> CLONE.md
 
-            git add CLONE.md
             git config --global user.name "GitHub Action"
             git config --global user.email "action@github.com"
-            git commit -m "create clone count badge"
+            git add CLONE.md
+            git commit -m "docs: create clone count badge"
           fi
 
       - name: push