We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5938dc3 commit 5a48e21Copy full SHA for 5a48e21
.github/workflows/lab-autograding.yml
@@ -45,7 +45,7 @@ jobs:
45
const files = await github.rest.pulls.listFiles({ owner, repo, pull_number: issue_number });
46
const changedFiles = files.data.map((file) => file.filename);
47
const allowedFileRegex = /^lab\d+\/main_test.js$/;
48
- const specialChangedFiles = ["lab0/lab0.js"];
+ const specialChangedFiles = ["lab0/lab0.js", "lab5/antiasan.c"];
49
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
}
0 commit comments