diff --git a/classroom/student-progression.yml b/classroom/student-progression.yml index 9737559f..0d77ae02 100644 --- a/classroom/student-progression.yml +++ b/classroom/student-progression.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Unlock Next Step - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const eventName = context.eventName; diff --git a/scripts/classroom/Add-AutograderSafeguards.ps1 b/scripts/classroom/Add-AutograderSafeguards.ps1 index ad0c1594..7e36f0fb 100644 --- a/scripts/classroom/Add-AutograderSafeguards.ps1 +++ b/scripts/classroom/Add-AutograderSafeguards.ps1 @@ -186,7 +186,7 @@ if ($tpl -notmatch 'Post workflow error notice') { $lf + ' - name: Post workflow error notice' + $lf + ' if: failure()' + $lf + - ' uses: actions/github-script@v7' + $lf + + ' uses: actions/github-script@v8' + $lf + ' with:' + $lf + ' script: |' + $lf + " const MARKER = '## Challenge 14:';" + $lf + @@ -316,7 +316,7 @@ jobs: steps: - name: Find PR and post notice if needed - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const run = context.payload.workflow_run; diff --git a/scripts/classroom/Fix-AutograderComments.ps1 b/scripts/classroom/Fix-AutograderComments.ps1 index a5b16058..36285c30 100644 --- a/scripts/classroom/Fix-AutograderComments.ps1 +++ b/scripts/classroom/Fix-AutograderComments.ps1 @@ -91,7 +91,7 @@ foreach ($c in $challenges) { $lf + ' - name: Post workflow error notice' + $lf + ' if: failure()' + $lf + - ' uses: actions/github-script@v7' + $lf + + ' uses: actions/github-script@v8' + $lf + ' with:' + $lf + ' script: |' + $lf + " const MARKER = '## Challenge " + $num + ":';" + $lf +