Skip to content

Commit

Permalink
[CI] Filter what types of pull requests get yamllint (magma#6306)
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Harrison Moeller <[email protected]>

Co-authored-by: Scott Harrison Moeller <[email protected]>
  • Loading branch information
electronjoe and Scott Harrison Moeller authored Apr 22, 2021
1 parent 309e76a commit 01a0fd6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
File renamed without changes.
12 changes: 9 additions & 3 deletions .github/workflows/yamlint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
---
name: reviewdog
on: [pull_request] # yamllint disable-line rule:truthy
name: YAML linting by Reviewdog
on: # yamllint disable-line rule:truthy
pull_request:
types:
- opened
- reopened
- synchronize

jobs:
yamllint:
name: runner / yamllint
Expand All @@ -14,4 +20,4 @@ jobs:
level: warning
filter_mode: added # Any added or changed content.
reporter: github-pr-review # Comments on PR with review comments.
yamllint_flags: "-d .github/workflows/yamllint_config.yml ."
yamllint_flags: "-d .github/workflows/config/yamllint_config.yml ."

0 comments on commit 01a0fd6

Please sign in to comment.