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
Spell Check GH Action #31
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/neoalgo-docs/neo-algo-docs/BFWzMjmnQtg96rjtLLvUP9k1zpxX |
Let me know whether this is the right one or not @HarshCasper :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing to NeoAlgo.
I have suggested a few changes, kindly get them done!!!
@@ -0,0 +1,15 @@ | |||
name: Spellcheck Action | |||
on: push |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @TidbitsJS first of all the action should be triggered on both push and pull requests, kindly make the required changes.
Use master for branch flag.
- uses: rojopolis/spellcheck-github-actions@0.11.0 | ||
name: Spellcheck | ||
with: | ||
source_files: "**/*.md" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see you have added the source_files
tab, but one important thing is missing.
See this issue I opened in the Repo, I have posted a solution I found as well along with other available solutions (which are better).
Kindly incorporate them in your action as well.
The thing is as of now this action will create a lot of noise because it will check each and every md
file in the codebase whenever a file is pushed/pull request made. Obviously, we don't want that. The solution for the problems can be found in the thread I mentioned above.
Please try to integrate them here as well.
@@ -0,0 +1,16 @@ | |||
Docusaurus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case you find it helpful, this is my wordlist, try adding a few words as per your understanding in your wordlist.
@vybhav72954, I have made the changes. |
@TidbitsJS I think the additions are good, but can you please test this action once as well? |
I actually have tested this on push. But I think, it's working as usual ( like the previous one ). |
We can do two things, either I can run a few tests locally on my system. or we can do it on a separate branch in your fork. |
Okay. |
@vybhav72954, I tested it on a pull request from a test to the main branch. Is this the expected behavior? |
Yup, that's the problem actually with the action used. It works on the whole codebase, no mater what (if I am actually understanding what you are saying 😛) Can you tell me which branch you are using for testing, I think I need to take a closer look as am getting a bit confused. |
You got me 😅 |
Great you have performed enough tests here. Let me see how i can help |
Yes, waiting for your solution :) |
Hey @TidbitsJS Spell-Checker is taking a bit too much time. Here is an instance where I was able to identify the Files changes in PR but there is still a bit too much noise. |
Okay. I'll go through it & will make changes accordingly. Thank you for helping me :) |
@TidbitsJS Hey man, any luck with the action? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closing this due to inactivity since last 21 days. Thank you for your valuable time.😊
Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Created a GitHub spell checking action
Checklist
README.md
and link to my code.Related Issues or Pull Requests
Closes: #5