From 81d23d39b942781266ec02557f01eb222c274f02 Mon Sep 17 00:00:00 2001 From: Caitlin Elfring Date: Wed, 9 Sep 2020 18:22:00 -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 6ecf4d68ec5366448d105bfaf867dfc2f8da710e Mon Sep 17 00:00:00 2001 From: Caitlin Elfring Date: Wed, 9 Sep 2020 18:22:00 -0400 Subject: [PATCH 2/2] Add `get-woke/woke-action-reviewdog@v0` with `github-pr-check` reporter --- .github/workflows/woke.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..e1f6bb4 --- /dev/null +++ b/.github/workflows/woke.yml @@ -0,0 +1,24 @@ +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 }} + reporter: github-pr-check + + # will fail both PR check and runner + # 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