Skip to content

Commit b7be649

Browse files
committed
ci: improve grading PR cleanup
- forces PR closure even with prior errors
1 parent a71dabe commit b7be649

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/classroom-autograding.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ jobs:
254254
return `${aiScore}/100`;
255255
256256
- name: Close grading PR
257+
if: always() && steps.create-grading-pr.outputs.pr_number != ''
257258
env:
258259
GH_TOKEN: ${{ secrets.CLASSROOM_TOKEN }}
259260
run: |

0 commit comments

Comments
 (0)