Comments (5)
@cgutierr-zgz Can you try out #18?
It should fix your issue. 👍
from duplicate-code-detection-tool.
Yes, works just fine @platisd
Thanks for the quick fix, feel free to merge that, I've tested it with a bunch of different PRs, and it works well.
from duplicate-code-detection-tool.
Hello there, is this on a public repo? If so do you have a link to a pull request?
from duplicate-code-detection-tool.
Hello there, is this on a public repo? If so do you have a link to a pull request?
Sadly it's on a private repo
I have it like follows
- name: 🕵️ Check for duplicate code
uses: platisd/duplicate-code-detection-tool@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directories: "src/app"
# Only examine .ts files
file_extensions: "ts"
# Only report similarities above 20%
ignore_below: 20
# If a file is more than 99% similar to another, then the job fails
# This should probably be around 70% in the future
fail_above: 99
# If a file is more than 20% similar to another, show a warning symbol in the report
warn_above: 20
It's reporting files as I showed in the screenshot on top
Maybe I have something written bad in the yaml, but I can't seem to find it
from duplicate-code-detection-tool.
Thanks for reporting the issue! 👍
from duplicate-code-detection-tool.
Related Issues (16)
- Request to provide output markdown file HOT 6
- Github Action fails to post when too many characters HOT 3
- Output as a CSV? HOT 11
- Add automated tests for duplicate_code_detection.py
- Feature request: Option to filter some files from input directory HOT 1
- --ignore-directories option does work on gitbash (Windows) HOT 1
- Feature proposal: add an option to add LoC in outputs HOT 7
- Reuse of the previous comment HOT 3
- No module named 'gensim' HOT 6
- How to use it HOT 8
- be suitable for code similarity check? HOT 7
- feature request: update comments for different detections HOT 11
- The Action doesn't work with pull requests from forked repos HOT 5
- clone doesn't work for private repositories HOT 2
- feature request: Ignore comments HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duplicate-code-detection-tool.