Skip to content

Commit

Permalink
Update Plagiarism Checker
Browse files Browse the repository at this point in the history
  • Loading branch information
DevIos01 committed Dec 19, 2023
1 parent 71122f6 commit bfb2337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check_plagiarism.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Check for High Plagiarism Percentages
if: success()
run: |
if grep -qE "\[\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\] .*: (\d{1,3})%" plagiarism_results.txt; then
if grep -qE ".*: (\d{1,3})%" plagiarism_results.txt; then
echo "Plagiarism percentage over threshold detected."
exit 1
else
Expand Down

0 comments on commit bfb2337

Please sign in to comment.