From 5747386bd515e9b5cb7c2173e6dc31912e9cb42d Mon Sep 17 00:00:00 2001 From: Mathieu Guay-Paquet Date: Wed, 8 Nov 2023 13:46:27 -0500 Subject: [PATCH 1/2] Update run_batch_script.yml --- .github/workflows/run_batch_script.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_batch_script.yml b/.github/workflows/run_batch_script.yml index 3c6ac91..2794316 100644 --- a/.github/workflows/run_batch_script.yml +++ b/.github/workflows/run_batch_script.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout spinalcordtoolbox - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: spinalcordtoolbox/spinalcordtoolbox path: spinalcordtoolbox @@ -41,7 +41,7 @@ jobs: cat ~/.bashrc | grep "export PATH" | grep -o "/.*" | cut -d ':' -f 1 >> $GITHUB_PATH - name: "Checkout '${{ github.event.repository.name }}'" - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: ${{ github.event.repository.name }} From ccb66ceba70e212607d6867d77a6d1f3f34671d1 Mon Sep 17 00:00:00 2001 From: Mathieu Guay-Paquet Date: Wed, 8 Nov 2023 13:51:00 -0500 Subject: [PATCH 2/2] Update run_script_and_create_release.yml --- .github/workflows/run_script_and_create_release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run_script_and_create_release.yml b/.github/workflows/run_script_and_create_release.yml index 9d1d27d..027951d 100644 --- a/.github/workflows/run_script_and_create_release.yml +++ b/.github/workflows/run_script_and_create_release.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Checkout spinalcordtoolbox - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: spinalcordtoolbox/spinalcordtoolbox path: spinalcordtoolbox @@ -47,7 +47,7 @@ jobs: cat ~/.bashrc | grep "export PATH" | grep -o "/.*" | cut -d ':' -f 1 >> $GITHUB_PATH - name: "Checkout '${{ github.event.repository.name }}'" - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ env.GITHUB_SHA }} path: ${{ github.event.repository.name }} @@ -82,4 +82,4 @@ jobs: tag_name: ${{ github.event.inputs.release_title }} release_id: ${{ steps.create_release.outputs.id }} # Only attach to release if workflow is run manually. (This allows the workflow to double as a PR test.) - if: github.event_name == 'workflow_dispatch' \ No newline at end of file + if: github.event_name == 'workflow_dispatch'