Skip to content

Commit e00cab5

Browse files
committed
Prevent concurrency race condition
1 parent 1ee766b commit e00cab5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/classroom.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
name: Autograding Tests
2-
'on':
3-
- push
4-
- repository_dispatch
2+
on:
3+
push:
4+
branches:
5+
- main
6+
repository_dispatch:
7+
8+
concurrency:
9+
group: autograding-${{ github.ref }}
10+
cancel-in-progress: true
511

612
permissions:
713
checks: write

0 commit comments

Comments
 (0)