From ea0a74b6b25bb9921df8057fb4d02d09926661f3 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Wed, 5 Apr 2023 14:17:03 -0400 Subject: [PATCH 01/14] Edit the git config steps --- .github/workflows/render-all.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/render-all.yml b/.github/workflows/render-all.yml index 56624878..bc3f5cd8 100644 --- a/.github/workflows/render-all.yml +++ b/.github/workflows/render-all.yml @@ -49,9 +49,9 @@ jobs: - name: Login as jhudsl-robot run: | - git config --system --add safe.directory "$GITHUB_WORKSPACE" - git config --local user.email "itcrtrainingnetwork@gmail.com" - git config --local user.name "jhudsl-robot" + git config --global --add safe.directory ${GITHUB_WORKSPACE} + git config --global user.email "itcrtrainingnetwork@gmail.com" + git config --global user.name "jhudsl-robot" # We want a fresh run of the renders each time - name: Delete old docs/* From 6a3cfc596dc1aed2777c184ed8d51ebd5a42be94 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Wed, 5 Apr 2023 14:26:55 -0400 Subject: [PATCH 02/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index f5968cac..42933f48 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -31,8 +31,9 @@ jobs: # Make the branch fresh - name: Make the branch fresh run: | - git config --local user.email "itcrtrainingnetwork@gmail.com" - git config --local user.name "jhudsl-robot" + git config --global --add safe.directory ${GITHUB_WORKSPACE} + git config --global user.email "itcrtrainingnetwork@gmail.com" + git config --global user.name "jhudsl-robot" branch_name='preview-${{ github.event.pull_request.number }}' echo branch doesnt exist @@ -123,9 +124,9 @@ jobs: # Set up git checkout - name: Set up git checkout run: | - git config --system --add safe.directory "$GITHUB_WORKSPACE" - git config --local user.email "itcrtrainingnetwork@gmail.com" - git config --local user.name "jhudsl-robot" + git config --global --add safe.directory ${GITHUB_WORKSPACE} + git config --global user.email "itcrtrainingnetwork@gmail.com" + git config --global user.name "jhudsl-robot" branch_name='preview-${{ github.event.pull_request.number }}' git fetch --all From 11478f1103274f8c21bbc9eb9254793df14a5938 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Wed, 5 Apr 2023 14:27:27 -0400 Subject: [PATCH 03/14] Update starting-course.yml --- .github/workflows/starting-course.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/starting-course.yml b/.github/workflows/starting-course.yml index a10c1d9c..0781c119 100644 --- a/.github/workflows/starting-course.yml +++ b/.github/workflows/starting-course.yml @@ -20,10 +20,10 @@ jobs: - name: Login as jhudsl-robot run: | - git config --system --add safe.directory "$GITHUB_WORKSPACE" - git config --local user.email "itcrtrainingnetwork@gmail.com" - git config --local user.name "jhudsl-robot" - + git config --global --add safe.directory ${GITHUB_WORKSPACE} + git config --global user.email "itcrtrainingnetwork@gmail.com" + git config --global user.name "jhudsl-robot" + ##### Delete Template-specific files that aren't needed for new courses # Cleanup Template-specific bits From 95e99732fd8dcc382f4a5de997ab076982cdde81 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Wed, 5 Apr 2023 14:28:00 -0400 Subject: [PATCH 04/14] Update send-updates.yml --- .github/workflows/send-updates.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/send-updates.yml b/.github/workflows/send-updates.yml index 0c4dcb91..af9e0867 100644 --- a/.github/workflows/send-updates.yml +++ b/.github/workflows/send-updates.yml @@ -22,8 +22,9 @@ jobs: - name: Login as jhudsl-robot run: | - git config --local user.email "itcrtrainingnetwork@gmail.com" - git config --local user.name "jhudsl-robot" + git config --global --add safe.directory ${GITHUB_WORKSPACE} + git config --global user.email "itcrtrainingnetwork@gmail.com" + git config --global user.name "jhudsl-robot" - name: Get the version id: get_tag From 9364b5c4a38c728a23a1dcf0cf8748ddf9c65d3a Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Wed, 5 Apr 2023 14:28:18 -0400 Subject: [PATCH 05/14] Update test-send-updates.yml --- .github/workflows/test-send-updates.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-send-updates.yml b/.github/workflows/test-send-updates.yml index 8c688eb5..ca606dd2 100644 --- a/.github/workflows/test-send-updates.yml +++ b/.github/workflows/test-send-updates.yml @@ -22,9 +22,9 @@ jobs: - name: Login as jhudsl-robot run: | - git config --system --add safe.directory "$GITHUB_WORKSPACE" - git config --local user.email "itcrtrainingnetwork@gmail.com" - git config --local user.name "jhudsl-robot" + git config --global --add safe.directory ${GITHUB_WORKSPACE} + git config --global user.email "itcrtrainingnetwork@gmail.com" + git config --global user.name "jhudsl-robot" - name: Set up test-sync.yml run: | From d69df45ce57322997d52cc9661518bcd0833a2e8 Mon Sep 17 00:00:00 2001 From: avahoffman Date: Wed, 5 Apr 2023 17:02:18 -0700 Subject: [PATCH 06/14] Seeing what's going on --- .github/workflows/pull_request.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 42933f48..370c379c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -31,6 +31,8 @@ jobs: # Make the branch fresh - name: Make the branch fresh run: | + echo ${GITHUB_WORKSPACE} + echo "$GITHUB_WORKSPACE" git config --global --add safe.directory ${GITHUB_WORKSPACE} git config --global user.email "itcrtrainingnetwork@gmail.com" git config --global user.name "jhudsl-robot" From f507aa468a6b707ca943776fbcfcb6d3f10eecf4 Mon Sep 17 00:00:00 2001 From: avahoffman Date: Wed, 5 Apr 2023 17:12:43 -0700 Subject: [PATCH 07/14] Update pull_request.yml --- .github/workflows/pull_request.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 370c379c..a6f84d4d 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -33,6 +33,7 @@ jobs: run: | echo ${GITHUB_WORKSPACE} echo "$GITHUB_WORKSPACE" + echo $GITHUB_WORKSPACE git config --global --add safe.directory ${GITHUB_WORKSPACE} git config --global user.email "itcrtrainingnetwork@gmail.com" git config --global user.name "jhudsl-robot" From dbdbb90169367e81934603cb84c3c8064e92b4fc Mon Sep 17 00:00:00 2001 From: avahoffman Date: Mon, 10 Apr 2023 11:19:34 -0400 Subject: [PATCH 08/14] Crazy curly brackets --- .github/workflows/pull_request.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a6f84d4d..c140c3b6 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -31,10 +31,7 @@ jobs: # Make the branch fresh - name: Make the branch fresh run: | - echo ${GITHUB_WORKSPACE} - echo "$GITHUB_WORKSPACE" - echo $GITHUB_WORKSPACE - git config --global --add safe.directory ${GITHUB_WORKSPACE} + git config --global --add safe.directory ${{GITHUB_WORKSPACE}} git config --global user.email "itcrtrainingnetwork@gmail.com" git config --global user.name "jhudsl-robot" From 5f65ee99b614374d7e6dff6582d90163c6504b4c Mon Sep 17 00:00:00 2001 From: avahoffman Date: Mon, 10 Apr 2023 11:20:25 -0400 Subject: [PATCH 09/14] Just kidding with the curly braces --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index c140c3b6..86d891f9 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -31,7 +31,7 @@ jobs: # Make the branch fresh - name: Make the branch fresh run: | - git config --global --add safe.directory ${{GITHUB_WORKSPACE}} + git config --global --add safe.directory $GITHUB_WORKSPACE git config --global user.email "itcrtrainingnetwork@gmail.com" git config --global user.name "jhudsl-robot" From e6b95fe616c0c10a8435eb3bb46b3adf094166db Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Thu, 13 Apr 2023 08:16:21 -0400 Subject: [PATCH 10/14] Update .github/workflows/send-updates.yml Co-authored-by: AM Hoffman --- .github/workflows/send-updates.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/send-updates.yml b/.github/workflows/send-updates.yml index af9e0867..3fda2330 100644 --- a/.github/workflows/send-updates.yml +++ b/.github/workflows/send-updates.yml @@ -22,7 +22,7 @@ jobs: - name: Login as jhudsl-robot run: | - git config --global --add safe.directory ${GITHUB_WORKSPACE} + git config --global --add safe.directory $GITHUB_WORKSPACE git config --global user.email "itcrtrainingnetwork@gmail.com" git config --global user.name "jhudsl-robot" From 07d2b0a6c54055a1b771db9a39a539bfdaa50298 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Thu, 13 Apr 2023 08:16:28 -0400 Subject: [PATCH 11/14] Update .github/workflows/test-send-updates.yml Co-authored-by: AM Hoffman --- .github/workflows/test-send-updates.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-send-updates.yml b/.github/workflows/test-send-updates.yml index ca606dd2..ffb1afc9 100644 --- a/.github/workflows/test-send-updates.yml +++ b/.github/workflows/test-send-updates.yml @@ -22,7 +22,7 @@ jobs: - name: Login as jhudsl-robot run: | - git config --global --add safe.directory ${GITHUB_WORKSPACE} + git config --global --add safe.directory $GITHUB_WORKSPACE git config --global user.email "itcrtrainingnetwork@gmail.com" git config --global user.name "jhudsl-robot" From c72720fd38a030c58f9b91968b2ac12bd558c1bf Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Thu, 13 Apr 2023 08:16:33 -0400 Subject: [PATCH 12/14] Update .github/workflows/starting-course.yml Co-authored-by: AM Hoffman --- .github/workflows/starting-course.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/starting-course.yml b/.github/workflows/starting-course.yml index 0781c119..d40a5d50 100644 --- a/.github/workflows/starting-course.yml +++ b/.github/workflows/starting-course.yml @@ -20,7 +20,7 @@ jobs: - name: Login as jhudsl-robot run: | - git config --global --add safe.directory ${GITHUB_WORKSPACE} + git config --global --add safe.directory $GITHUB_WORKSPACE git config --global user.email "itcrtrainingnetwork@gmail.com" git config --global user.name "jhudsl-robot" From b726200b46f509ff2eb870f603da134c59aa15a1 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Thu, 13 Apr 2023 08:16:41 -0400 Subject: [PATCH 13/14] Update .github/workflows/render-all.yml Co-authored-by: AM Hoffman --- .github/workflows/render-all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/render-all.yml b/.github/workflows/render-all.yml index bc3f5cd8..2007e5ee 100644 --- a/.github/workflows/render-all.yml +++ b/.github/workflows/render-all.yml @@ -49,7 +49,7 @@ jobs: - name: Login as jhudsl-robot run: | - git config --global --add safe.directory ${GITHUB_WORKSPACE} + git config --global --add safe.directory $GITHUB_WORKSPACE git config --global user.email "itcrtrainingnetwork@gmail.com" git config --global user.name "jhudsl-robot" From 818fb9c4e00d7155186a0d8db5081174afd25874 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Thu, 13 Apr 2023 08:16:47 -0400 Subject: [PATCH 14/14] Update .github/workflows/pull_request.yml Co-authored-by: AM Hoffman --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 86d891f9..9316682a 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -124,7 +124,7 @@ jobs: # Set up git checkout - name: Set up git checkout run: | - git config --global --add safe.directory ${GITHUB_WORKSPACE} + git config --global --add safe.directory $GITHUB_WORKSPACE git config --global user.email "itcrtrainingnetwork@gmail.com" git config --global user.name "jhudsl-robot"