From 8533380813060494f9b68cea9e3cb2185006f8d3 Mon Sep 17 00:00:00 2001
From: Michel Roegl-Brunner
 <73236783+michelroegl-brunner@users.noreply.github.com>
Date: Thu, 16 Jan 2025 13:44:04 +0100
Subject: [PATCH] [core]Update update_json_date.yml (#1526)

* [core]Update update_json_date.yml

* Update update_json_date.yml
---
 .github/workflows/update_json_date.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/update_json_date.yml b/.github/workflows/update_json_date.yml
index 6b80583e0..2e21e3b7e 100644
--- a/.github/workflows/update_json_date.yml
+++ b/.github/workflows/update_json_date.yml
@@ -51,8 +51,9 @@ jobs:
           fi
         done
              
-        git config user.name "github-actions[bot]"
-        git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
+        git config --global user.name "github-actions[bot]"
+        git config --global user.email "github-actions[bot]@users.noreply.github.com"
         git diff --exit-code || git commit -am "Updating Dates in affected JSON files."
         git push 
-
+      env:
+        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}