cschleiden / github-actions-hero

🚧 Interactive tutorial and visualizer for GitHub Actions workflows 🚧
https://github-actions-hero.now.sh
MIT License
106 stars 19 forks source link

Accepts solutions that don't match the requirements, doesn't support multiple paths #49

Open 42degrees opened 8 months ago

42degrees commented 8 months ago

Thanks for a cool site!

This is about lesson 5, Filter by paths. The requirements specifically mention .jpg files, but it accepts matching all files.

For example, it accepts this:

and this:

Even though these are not specific to jpg files (and will certainly get the user in trouble when "optimizing images".

Also, it gets confused if you include multiple paths, for example this fails, but should probably be accepted:

Interestingly, this alternate solution for handling of files with multiple cases works fine as long as there is only one path: