-
Notifications
You must be signed in to change notification settings - Fork 61
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
Swiftlint is still checking unchanged files #27
Comments
I have the same issue.
dev is the value in ${{ github.base_ref }} Anyway to fix that? |
Same issue here! |
@samh-depop @kerrmarin I've solved this problem with following action configs:
|
I get the same issue with fatal: Not a valid object name dev. Has anyone managed to find a fix for this? I've tried what @dlackty has suggested but it doesn't review any files. It's saying no files changed. :( |
@stefangerard Do you add additional git fetch step to fetch base ref? Could you share the whole workflow yml? I would like to help. |
I have the same problem. using
|
|
I too have noticed that Though I am getting a PR lint successfully when new commits are pushed, but when run locally linting fails. It seems that it is only linting against the changes that were pushed and not the entire PR? The pushed commits didn't have linting issues but also didn't fix the previous linting issues. Has anyone else experienced this issue while using @akashnimare it comes from the github context not env vars (look at |
I haven't found a way. I just have a private repo that I do lots of commits on. |
Internet says this tool could be used for testing actions locally. |
Same issue here. Will opt-out changed file only till it works. |
having the same issue. Any clue? |
Facing same issue, any solution suggested? |
The root cause is that the action cannot perform a diff against base branch, because the base branch has not been checked out by the workflow (hence
It's similar to what @dlackty posted, although in my case |
SwiftLint is still checking unchanged files in my pull-requests even though I'm using the following swiftlint.yml config
The text was updated successfully, but these errors were encountered: