Skip to content

Commit

Permalink
fix?: commonly ignored files
Browse files Browse the repository at this point in the history
  • Loading branch information
erikwrede committed Oct 17, 2024
1 parent 67edd22 commit 81f7adc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,12 @@ jobs:
rm gitignore/Global/Images.gitignore
cat gitignore/Node.gitignore gitignore/Global/*.gitignore > all.gitignore
IGNORED_FILES=$(git ls-files --cached --ignored --exclude-from=all.gitignore)
IGNORED_FILES=$(git ls-files --cached --ignored --exclude-from=all.gitignore)
echo "IGNORED_FILES before grep: $IGNORED_FILES"
IGNORED_FILES=$(echo "$IGNORED_FILES" | grep -v 'patches/@codspeed+core+3.1.0.patch')
echo "IGNORED_FILES after grep: $IGNORED_FILES"
echo "IGNORED_FILES: $IGNORED_FILES"
if [[ "$IGNORED_FILES" != "" ]]; then
echo -e "::error::Please remove these files:\n$IGNORED_FILES" | sed -z 's/\n/%0A/g'
Expand Down

0 comments on commit 81f7adc

Please sign in to comment.