Skip to content

Commit

Permalink
Merge pull request #9 from pokt-network/dk-change-org
Browse files Browse the repository at this point in the history
change organization of the action, and add more debug output
  • Loading branch information
okdas authored Oct 19, 2023
2 parents 9ea64da + 2eb8c4c commit 864ff19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: okdas/action-fail-on-found@v1
- uses: pokt-network/action-fail-on-found@v1
with:
github_token: ${{ secrets.github_token }}
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
Expand Down
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ fi

export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"

# Run AG to output the results to stdout
ag --vimgrep "${INPUT_PATTERN}" --ignore "${INPUT_IGNORE}" .

# Run it again, but this time piping the results to reviewdog
ag --vimgrep "${INPUT_PATTERN}" --ignore "${INPUT_IGNORE}" . \
| reviewdog -efm="%f:%l:%c:%m" \
-name="linter-name (fail-on-found)" \
Expand Down

0 comments on commit 864ff19

Please sign in to comment.