[E2E relay test] Update to #178 #519
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
name: reviewdog | |
on: | |
pull_request: | |
branches: ["main"] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
# Makes sure that comments like TODO_IN_THIS_PR or TODO_IN_THIS_COMMIT block merging to main | |
# More info: https://github.com/pokt-network/action-fail-on-found | |
check_todo_in_this: | |
name: Check TODO_IN_THIS_ | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pokt-network/action-fail-on-found@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-pr-review | |
level: error | |
fail_on_error: true | |
pattern: TODO_IN_THIS_ | |
check_non_standard_interface_implementations: | |
name: Check for non-standard interface implementation statements | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pokt-network/action-fail-on-found@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-pr-review | |
level: error | |
fail_on_error: true | |
pattern: var _ .* = &.*{} | |
ignore: .github,.git | |
# More info: https://github.com/reviewdog/action-misspell | |
check_misspell: | |
name: Check misspelling | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: reviewdog/action-misspell@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-check | |
level: warning | |
locale: "US" |