forked from cosmos/ibc-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding workflow to automatically create typo PRs (cosmos#5724)
* chore: adding workflow and note in CONTRIBUTING.md * chore: clean up workflow * Update CONTRIBUTING.md --------- Co-authored-by: Carlos Rodriguez <[email protected]>
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
\*.pb.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Fix typos nightly | ||
|
||
on: | ||
workflow_dispatch: {} # enable manual running of workflow. | ||
schedule: | ||
- cron: "0 8 * * *" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: sobolevn/misspell-fixer-action@e5368f1b21585248afad4d32df9bc100451dbbff | ||
- uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: "chore: fixes by misspell-fixer" | ||
title: "chore: typos fix by misspell-fixer" | ||
branch: "bot/fix-typos" | ||
delete-branch: true | ||
body: | | ||
This PR fixes typos in the codebase. | ||
Please, review it and merge if everything is fine. | ||
If there are proto changes, please, run `make proto-all` and commit changes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters