build(ci): fix push to protected branch
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 13 Jul 2023 17:58:31 +0000 (19:58 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 13 Jul 2023 17:58:31 +0000 (19:58 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/clone-count.yml

index 8ae1af0873a10b4249e115f1486b5621115a2c27..b7898a8f615da6e2711cb04a83481298c1affb2d 100644 (file)
@@ -85,6 +85,6 @@ jobs:
           fi
 
       - name: Push
-        uses: ad-m/github-push-action@master
+        uses: CasperWA/push-protected@v2
         with:
-          github_token: ${{ secrets.GITHUB_TOKEN }}
+          token: ${{ secrets.SECRET_TOKEN }}