-
Notifications
You must be signed in to change notification settings - Fork 735
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
use dorny/paths-filter with git commands instead of GitHub API #3969
Conversation
@adamrtalbot any idea why this is failing? I'm stumped. What's the point of the check for the checks just for the debug print? |
On my phone but do you mean the confirm-pass? It's the only way of enforcing branch protection I can find at the moment. You can't force checks for variable name tests. |
It is detecting too many changed files, no? Testing dumpsoftwareversions, fastqc, snakemake and samtools |
Yes, but somehow only from nf-test, so something not perfectly clean with the setup there. |
It has detected every file has been added, but the pytest check changes cant create an output object because there are too many (>256), so it fails the test because they did not work. The check-changes doesn't work correctly yet, it detects all files are new and have been added. |
After some research, I found that there is a small problem when using git commands to retrieve changed files. There's a PR opened with the fix already. Same user created a fork of paths-filter with the fix. |
Yes, the changes in the PR look reasonable. Let's go for it |
…re#3969) * use dorny/paths-filter with git commands instead of GitHub API * detect changes against master branch * Revert "detect changes against master branch" This reverts commit 5b6255e. * try github.ref as base * testing frouioui's solution to the same problem * add todo comment --------- Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
From the docs: