Skip to content

Workflow file for this run

name: Search & Destroy evenodds
on:
push:
paths:
- "icons/**"
pull_request:
branches:
- production
paths:
- "icons/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Buscar palabra en archivos SVG
run: |
files_with_evenodd=""
for file in $(find icons -name "*.svg"); do
if grep -q "evenodd" "$file"; then
# echo "Se encontró la palabra 'evenodd' en $file"
files_with_evenodd="${files_with_evenodd}${file}\n"
fi
done
if [ -n "$files_with_evenodd" ]; then
echo -e "Archivos con 'evenodd':\n${files_with_evenodd}"
exit 1
fi