From 491b5b95229658cccbabba4e59ec65568be1ca34 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Tue, 28 Feb 2023 21:54:28 -0500 Subject: [PATCH] Testing latest release and docker image (#620) * Put a nothing change in here * Add git config --system --add safe.directory "$GITHUB_WORKSPACE" * Maybe we don't want it for the load step? * Missed a few places --- .github/workflows/docker-build.yml | 1 + .github/workflows/docker-test.yml | 1 + .github/workflows/pull_request.yml | 2 ++ .github/workflows/render-all.yml | 2 +- .github/workflows/send-updates.yml | 5 +++-- .github/workflows/starting-course.yml | 1 + .github/workflows/test-send-updates.yml | 1 + 02-chapter_of_course.Rmd | 1 - 8 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index cb20ae80..77491cb8 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -24,6 +24,7 @@ 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" diff --git a/.github/workflows/docker-test.yml b/.github/workflows/docker-test.yml index 6d786f46..e1eab59c 100644 --- a/.github/workflows/docker-test.yml +++ b/.github/workflows/docker-test.yml @@ -45,6 +45,7 @@ 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" diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 0318a944..f5968cac 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -99,6 +99,7 @@ jobs: - name: Commit styled files run: | + git config --system --add safe.directory "$GITHUB_WORKSPACE" git add \*.Rmd git commit -m 'Style Rmds' || echo "No changes to commit" git push origin || echo "No changes to commit" @@ -122,6 +123,7 @@ 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" diff --git a/.github/workflows/render-all.yml b/.github/workflows/render-all.yml index 3780f310..56624878 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 --system --add safe.directory "$GITHUB_WORKSPACE" git config --local user.email "itcrtrainingnetwork@gmail.com" git config --local user.name "jhudsl-robot" diff --git a/.github/workflows/send-updates.yml b/.github/workflows/send-updates.yml index 9cd7fd05..efceda28 100644 --- a/.github/workflows/send-updates.yml +++ b/.github/workflows/send-updates.yml @@ -22,6 +22,7 @@ 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" @@ -30,11 +31,11 @@ jobs: run: | if [ github.event.inputs.prtag == 'null' ] then - echo ::set-output name=version::$(echo $GITHUB_REF | cut -d / -f 3) + echo "version=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT fi if [ github.event.inputs.prtag != 'null' ] then - echo ::set-output name=version::${{ github.event.inputs.prtag }} + echo "version=${{ github.event.inputs.prtag }}" >> $GITHUB_OUTPUT fi - name: Run Mechanics File Sync diff --git a/.github/workflows/starting-course.yml b/.github/workflows/starting-course.yml index f8ab971e..a10c1d9c 100644 --- a/.github/workflows/starting-course.yml +++ b/.github/workflows/starting-course.yml @@ -20,6 +20,7 @@ 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" diff --git a/.github/workflows/test-send-updates.yml b/.github/workflows/test-send-updates.yml index be139355..8c688eb5 100644 --- a/.github/workflows/test-send-updates.yml +++ b/.github/workflows/test-send-updates.yml @@ -22,6 +22,7 @@ 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" diff --git a/02-chapter_of_course.Rmd b/02-chapter_of_course.Rmd index e27a4be7..68835cfd 100644 --- a/02-chapter_of_course.Rmd +++ b/02-chapter_of_course.Rmd @@ -243,7 +243,6 @@ reflection text - ## Dropdown summaries
You can hide additional information in a dropdown menu