From 74cc41228f3559718beb2cb53db346c1cb36f61a Mon Sep 17 00:00:00 2001 From: Caitlin Elfring Date: Wed, 9 Sep 2020 18:22:06 -0400 Subject: [PATCH 1/2] Add violations --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index ac8b9bd..96466fa 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,13 @@ This repo contains example PRs for using [`woke`](https://getwoke.tech) GitHub A - [GitHub Action](https://github.com/marketplace/actions/run-woke) - [GitHub Action (reviewdog)](https://github.com/marketplace/actions/run-woke-with-reviewdog) + +## Violations + +- whitelist +- blacklist +- guys +- sanity check +- grandfathered +- man-hours +- dummy value From 9d8b9720b419426f1ed87af9f898ad7c3d9c3b25 Mon Sep 17 00:00:00 2001 From: Caitlin Elfring Date: Wed, 9 Sep 2020 18:22:06 -0400 Subject: [PATCH 2/2] Add `get-woke/woke-action-reviewdog@v0` with `github-pr-review` reporter --- .github/workflows/woke.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/woke.yml diff --git a/.github/workflows/woke.yml b/.github/workflows/woke.yml new file mode 100644 index 0000000..8f6925a --- /dev/null +++ b/.github/workflows/woke.yml @@ -0,0 +1,27 @@ +name: woke +on: [pull_request] + +jobs: + woke: + name: runner / woke + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: get-woke/woke-action-reviewdog@v0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + # NOTE: This reporter will create new comments for each check run + # where violations exist. This can cause a PR conversation to get + # quite crowded. See https://github.com/reviewdog/reviewdog/issues/568 + reporter: github-pr-review + + # Enable to fail the PR check + fail-on-error: true + + # GitHub Status Check won't become failure with violations + # that have severity warn when using level: warning + # level: error + + # Change the filter mode + # See https://github.com/reviewdog/reviewdog#filter-mode + # filter-mode: added