I'm sorry that I can't give a detailed description, but it appears as though the filter "*.rs" matches the file errors.py (with emphasis: erro rs .py), which shouldn't happen with the GitHub action syntax. Am I missing something here? The only solution to achieve what I wanted was to use "*.rs$" instead.