GitXplorerGitXplorer
s

misspell-fixer-action

public
150 stars
6 forks
3 issues

Commits

List of commits on branch master.
Verified
06ff0b508d4f4c0ba70d15f9a628232c0aade536

Version 0.1.0 release

ssobolevn committed 5 years ago
Verified
38d6761f27e67e2e8a42636bf8dc9f9b70db77fb

Version 0.1.0 release

ssobolevn committed 5 years ago
Verified
30084b8bc55b15cc4960c76e5c0b11647c437f9b

Version 0.1.0 release

ssobolevn committed 5 years ago
Verified
cf28964f03e467098607a6c1b1f6826d38b9ed07

Finished the action itself

ssobolevn committed 5 years ago
Verified
26448f13304f6888182a88c789c350127f87b263

Initial import

ssobolevn committed 5 years ago
Verified
11469ffa012700a5d021239ae31fbc0b61ebddca

Initial import

ssobolevn committed 5 years ago

README

The README file for this repository.

misspell-fixer-action

wemake.services

đź“ťAutomatically fixes typos and mistakes in your source code and docs!

Based on awesome misspell-fixer tool.

Usage

We had a typo in our entrypoint.sh file to show how this GitHub Action works. By using a pipeline of three actions we are able to receive PRs like this one.

Here's how our configuration looks like:

- uses: actions/checkout@v2
- uses: sobolevn/misspell-fixer-action@master
- uses: peter-evans/create-pull-request@v2.4.4
  with:
    token: ${{ secrets.GITHUB_TOKEN }}

Here's how it works:

  1. The first actions/checkout@v2 action checkouts our code from the repo
  2. Our own sobolevn/misspell-fixer-action finds misspells and fixes them
  3. Then peter-evans/create-pull-request creates a PR with the fixes created earlier
  4. Done!

Here's how our workflow looks like.

Options and outputs

You can pass any options that are supported by misspell-fixer tool, to do so you can use options key:

- uses: sobolevn/misspell-fixer-action@master
  with:
    options: '-rsvn src/'

You can also use the output produced by this action by default. Read more about outputs.

License

MIT.