- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.7k
add a ci job for typo checking #17339
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
Conversation
Signed-off-by: Ruihang Xia <[email protected]>
Signed-off-by: Ruihang Xia <[email protected]>
Signed-off-by: Ruihang Xia <[email protected]>
        
          
                datafusion/core/tests/physical_optimizer/filter_pushdown/mod.rs
              
                Outdated
          
            Show resolved
            Hide resolved
        
      Co-authored-by: Jeffrey Vo <[email protected]>
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.
LGTM 👍
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.
thank you for working on this!
| hte = "hte" | ||
| numer = "numer" | ||
| abd = "abd" | ||
| aroun = "aroun" | 
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.
Looks like "around" with last letter chopped off. Can we remove this?
| Ue = "Ue" | ||
| Iy = "Iy" | ||
| hte = "hte" | ||
| numer = "numer" | 
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.
Looks like "number" with 'b' lost. Can we remove this?
| carefull = "carefull" | ||
| precentage = "precentage" | 
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.
Can we remove these? These are clearly misspelled words that should be flagged.
If they show up in some test data we don't want / can't modify, maybe we can exclude-list that data set instead,
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
| with: | ||
| persist-credentials: false | ||
| - uses: crate-ci/typos@v1 | 
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.
Per https://infra.apache.org/github-actions-policy.html this should use commit hash.
I am not sure https://github.com/apache/infrastructure-actions/blob/main/approved_patterns.yml is normative. In any case, i read it as saying we can use the action. Not saying that we can safely use the action without pinning to a hash.
| This new check just got a stupid typo i made in a hurry. Thank you for catching me! | 
Which issue does this PR close?
Rationale for this change
Add a CI job to check typo (we got four new typos in these two weeks XD)
What changes are included in this PR?
A new ci job
Are these changes tested?
Are there any user-facing changes?