diff --git a/.github/workflows/check-submission.yml b/.github/workflows/check-submission.yml deleted file mode 100644 index 137767b17..000000000 --- a/.github/workflows/check-submission.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Check Submissions - -on: - push: - branches: - - presentations - - workflow_dispatch: - -jobs: - check-submission: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - # Check for all sheet[num] folders if they contain a submission folder - # Each submission folder should contain atleast a `GroupC_Assignment[num].pdf` and `README.md` file - - name: Check Submissions - run: | - for i in $(find . -type d -name "sheet*"); do - if [ -d "$i/submission" ]; then - if [ ! $(find $i/submission -type f -name "README.md" | wc -l) -eq 1 ]; then - echo "Missing README.md in $i/submission" - exit 1 - fi - if [ ! $(find $i/submission -type f -name "GroupC_Assignment*.pdf" | wc -l) -eq 1 ]; then - echo "Missing GroupC_Assignment*.pdf in $i/submission" - exit 1 - fi - fi - done