-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example PR using woke-action-reviewdog
and github-pr-review
#2
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [woke] reported by reviewdog 🐶 |
||
- guys <!--wokeignore:rule=guys --> | ||
- sanity check | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [woke] reported by reviewdog 🐶 |
||
- grandfathered | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [woke] reported by reviewdog 🐶 |
||
- man-hours | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [woke] reported by reviewdog 🐶 |
||
- dummy value | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [woke] reported by reviewdog 🐶 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[woke] reported by reviewdog 🐶
[warning]
whitelist
may be insensitive, useallowlist
instead