We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 087394b commit 24c4bfdCopy full SHA for 24c4bfd
.github/workflows/lab-autograding.yml
@@ -46,7 +46,7 @@ jobs:
46
const changedFiles = files.data.map((file) => file.filename);
47
const allowedFileRegex = /^lab\d+\/main_test.js$/;
48
const specialChangedFiles = ["lab5/Answer.md", "lab5/antiasan.c"];
49
- if (!changedFiles.every((file) => (allowedFileRegex.test(file) || specialChangedFiles.includes(file))) {
+ if (!changedFiles.every((file) => (allowedFileRegex.test(file) || specialChangedFiles.includes(file)))) {
50
core.setFailed('The PR contains changes to files other than the allowed files.');
51
}
52
return labNumber;
0 commit comments