From 178c0e0c781e0d05496fcef7756f3f72f086bbbc Mon Sep 17 00:00:00 2001 From: AlaRduTP Date: Thu, 14 Mar 2024 16:14:57 +0800 Subject: [PATCH] hotfix: remove changed files check --- .github/workflows/lab-autograding.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lab-autograding.yml b/.github/workflows/lab-autograding.yml index 52f68ea6..595dc5ce 100644 --- a/.github/workflows/lab-autograding.yml +++ b/.github/workflows/lab-autograding.yml @@ -47,9 +47,9 @@ jobs: const allowedFiles = [ `lab${labNumber}/main_test.js`, ]; - if (!changedFiles.every((file) => allowedFiles.includes(file))) { - core.setFailed('The PR contains changes to files other than the allowed files.'); - } + // if (!changedFiles.every((file) => allowedFiles.includes(file))) { + // core.setFailed('The PR contains changes to files other than the allowed files.'); + // } return labNumber; - name: Grading run: |