Github Action for spell check on a pull request

Hello all,
I just want some action that can do a spell check on a pull request when asked for like If I comment on a pull request with something like /spell-check then it should do a spell-check over the content of pull request. The content may contain some .md files or comments over code and may ignore codes.
I get to know the first part of this and I can trigger a workflow on pull request comment
basis using this:

name: Litmus-CI
on:
  issue_comment:
    types: [created, edited]
jobs:
  tests:
    if: contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/spell-check')
    runs-on: ubuntu-latest
    steps:

looking for the other part if we have such actions or something similar?
Please share if you know some actions around this.
Thanks!

Hi @uditgaurav,

There is no official actions to do a spell-check over pull request content.
According to the description here:

Spell checking can occur:

  • on commits (pushing to a branch)
  • on PRs (creating a pull request)

You can try to use action check-spelling/check-spelling

Thanks.

2 Likes