-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into bznein/transferEnvironment
- Loading branch information
Showing
5 changed files
with
27 additions
and
37 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 |
---|---|---|
@@ -1,25 +1,33 @@ | ||
name: Fix typos nightly | ||
name: Spell Check | ||
|
||
on: | ||
workflow_dispatch: {} # enable manual running of workflow. | ||
pull_request: | ||
schedule: | ||
- cron: "0 8 * * *" | ||
- cron: "0 12 * * *" | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: sobolevn/misspell-fixer-action@26173e641ba08255d0c9826b8a873f8b96f76932 | ||
- name: Run codespell | ||
continue-on-error: true | ||
run: | | ||
sudo apt-get install codespell -y | ||
codespell -w --skip="*.pb.go,*.pb.gw.go,*.json,*.git,*.js,*.h,*.bin,go.sum,go.mod,.github" | ||
- uses: peter-evans/create-pull-request@v7 | ||
if: github.event_name != 'pull_request' | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: "chore: fixes by misspell-fixer" | ||
title: "chore: typos fix by misspell-fixer" | ||
commit-message: "chore: spelling errors fixes" | ||
title: "chore: fix spelling errors" | ||
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. | ||
Please review it, and merge if everything is fine. | ||
If there are proto changes, run `make proto-all` and commit the 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
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
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
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