You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "Non-compliant image files found. Please convert them to lossless WebP (preferred) or AVIF for bitmap graphics, or SVG for vector graphics. If files are not to be rendered and are kept for posterity (or you realllllyyyy don't want to let go of your precious TIFF files) please append '.norender' to the file name."
21
+
exit 1
22
+
else
23
+
echo "All images appear compliant."
24
+
fi
25
+
26
+
- name: Warn for ICO usage
27
+
run: |
28
+
if [[ -n $(find . -type f -iname '*.ico') ]]; then
29
+
echo "ICO is no longer the preferred standard for favicons, and should not be used in web content. Please see: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/link#providing_icons_for_different_usage_contexts"
30
+
exit 0
31
+
else
32
+
exit 0
33
+
fi
34
+
35
+
- name: Warn for non-compliant image links
36
+
run: |
37
+
if grep -r --include="*.html" --include="*.md" -E 'src="[^"]*\.(jpg|jpeg|jfif|pjpeg|pjp|png|apng|gif|bmp|tif|tiff)"' . 2>/dev/null; then
38
+
echo "Warning: found references to non-compliant image formats in HTML/Markdown files, consider updating image links to use WebP, AVIF, or SVG instead."
39
+
exit 0
40
+
else
41
+
echo "No non-compliant image links found in HTML/Markdown files."
'Engage with insightful talks from academics and industry experts, and enjoy free pizza!',
37
37
long_description:
38
38
'CompSoc hosts many STMUs throughout the year. A Student Tech Meetup is an academic setting where speakers come to talk to students about their field of interest. Notable past speakers have included the creator of the UK’s best chess engine, the designer of Haskell, and industry experts from Meta and Spotify. The best part about it, it’s free and has free food!',
0 commit comments