From a0609306d2acac4984cdcc278bee4647e110c62a Mon Sep 17 00:00:00 2001
From: Candace Savonen <cansav09@gmail.com>
Date: Thu, 14 Nov 2024 09:46:47 -0500
Subject: [PATCH] jhudsl-robot is needed for syncs (#774)

* Update send-updates.yml

* Update update-enrollment.md
---
 .github/automatic-issues/update-enrollment.md | 3 +++
 .github/workflows/send-updates.yml            | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/automatic-issues/update-enrollment.md b/.github/automatic-issues/update-enrollment.md
index 7e804884..3d6cab8b 100644
--- a/.github/automatic-issues/update-enrollment.md
+++ b/.github/automatic-issues/update-enrollment.md
@@ -6,3 +6,6 @@ If you want to receive updates from the original template to your course templat
 
 - [ ] [Follow these instructions](https://www.ottrproject.org/getting_started.html#9_Enroll_your_repository_for_OTTR_updates) to enroll your course repository to receive these updates.
   - [ ] Alternatively, [open an issue in the OTTR_Template repo](https://github.com/jhudsl/OTTR_Template/issues/new?assignees=cansavvy&labels=&projects=&template=new-course-add-to-sync.md&title=), providing us with the necessary information to add the course for you.
+
+In order for these syncs to happen we need credentials to do so. Our `jhudsl-robot` is what you need to give access to. 
+- [ ] [Add the `jhudsl-robot` as a collaborator to your repository.](https://www.ottrproject.org/getting_started.html#5_Add_jhudsl-robot_as_a_collaborator).
diff --git a/.github/workflows/send-updates.yml b/.github/workflows/send-updates.yml
index f636dc04..a86b21a0 100644
--- a/.github/workflows/send-updates.yml
+++ b/.github/workflows/send-updates.yml
@@ -23,8 +23,8 @@ jobs:
       - name: Login as github actions bot
         run: |
           git config --global --add safe.directory $GITHUB_WORKSPACE
-          git config --global user.name 'github-actions[bot]'
-          git config --global user.email 'github-actions[bot]@users.noreply.github.com'
+          git config --local user.email "itcrtrainingnetwork@gmail.com"
+          git config --local user.name "jhudsl-robot"
 
       - name: Get the version
         id: get_tag