Skip to content

Commit

Permalink
GA: Make the GA fail whenever identical files are detected!
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofVDB1 committed Jan 15, 2024
1 parent aeaf441 commit e50d955
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/diff_generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,7 @@ jobs:
echo "# Summary" >> $GITHUB_STEP_SUMMARY
echo "## Identical files compared to the template" >> $GITHUB_STEP_SUMMARY
echo -e "$identical_files" >> $GITHUB_STEP_SUMMARY
if [ -n "$identical_files" ]; then
echo "Error: There are identical files between the template and the repository." >> $GITHUB_STEP_SUMMARY
exit 1
fi

0 comments on commit e50d955

Please sign in to comment.