New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Will output all changed files if not file matches the **/*.sql
pattern
#565
Comments
Thanks for reporting this issue, don't forget to star this project to help us reach a wider audience. |
The solution here would be to validate the patterns. |
**/*.sql
pattern**/*.xxx
pattern
**/*.xxx
pattern**/*.sql
pattern
The interesting thing is if the pattern is something like |
That's strange, I'll expect the warning to show up for non valid glob patterns |
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
If the
files
pattern contains**/*.sql
, and it didn't match any changed files in the pull request, will print a warning:And the action will output all changed files, seems this doesn't make sense.
To Reproduce
Note: the
files
must has the pattern:**/*.sql
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
The action should return empty as no changed files can match the
**/*.sql
pattern.Relevant log output
No response
Anything else?
N/A
Code of Conduct
The text was updated successfully, but these errors were encountered: