Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/infraspecdev/spellcheck-action

This GitHub Action checks spelling and grammar in markdown files, leveraging OpenAI GPT model, and posts comments directly on pull requests highlighting the issues found.
https://github.com/infraspecdev/spellcheck-action

automation code-review grammar-check openai spell-checker

Last synced: 3 days ago
JSON representation

This GitHub Action checks spelling and grammar in markdown files, leveraging OpenAI GPT model, and posts comments directly on pull requests highlighting the issues found.

Awesome Lists containing this project

README

        

# Spell Check and Grammar Check GitHub Action

This GitHub Action checks spelling and grammar in markdown files, leveraging OpenAI GPT model, and posts comments directly on pull requests highlighting the issues found.

## Usage

To use this action in your workflow, add the following step to your `.github/workflows/spell_check.yml` file:

```yaml
jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Run Spell Check
uses: infraspecdev/spellcheck-action@
with:
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_number: ${{ github.event.number }}
files: 'blogs/file1.md, blogs/file2.md'
openai_model: '' #Optional
model_max_token: #Optional