Skip to content

Commit 47282f7

Browse files
fix: update linter exclusion patterns and improve README formatting
1 parent 45ada2f commit 47282f7

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
env:
4848
CHECKOV_FILE_NAME: .checkov.yml
4949
DEFAULT_BRANCH: main
50-
FILTER_REGEX_EXCLUDE: dist/**/*
50+
FILTER_REGEX_EXCLUDE: (dist/**/*|fixtures/invalid-config.yml)
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252
LINTER_RULES_PATH: .
5353
VALIDATE_ALL_CODEBASE: true

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,23 @@ steps:
4545
4646
## Inputs
4747
48-
| Name | Description | Default |
49-
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |
50-
| `reports` | Reports to annotate: `"format\|glob1, glob2, ..."`<br>For example: `"junit-eslint\|junit/lint.xml"` | `["junit\|junit/*.xml"]` |
51-
| `ignore` | Ignore files from report search: `"[glob1, glob2...]"` | `['node_modules/**', 'dist/**']` |
52-
| `max-annotations` | Maximum number of annotations per type (error/warning/notice) | `10` |
53-
| `custom-matchers` | Custom matchers to use for parsing reports in JSON format: `{ "matcher-name": ReportMatcher }`<br>See ./src/matchers for examples | |
54-
| `token` | GitHub token for creating PR comments when annotations are skipped | `${{ github.token }}` |
48+
| Name | Description | Default |
49+
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------- |
50+
| `reports` | Reports to annotate: `"format\|glob1, glob2, ..."` For example: `"junit-eslint\|junit/lint.xml"` | `["junit\|junit/*.xml"]` |
51+
| `ignore` | Ignore files from report search: `"[glob1, glob2...]"` | `['node_modules/**', 'dist/**']` |
52+
| `max-annotations` | Maximum number of annotations per type (error/warning/notice) | `10` |
53+
| `custom-matchers` | Custom matchers to use for parsing reports in JSON format: `{ "matcher-name": ReportMatcher }` See ./src/matchers for examples | |
54+
| `token` | GitHub token for creating PR comments when annotations are skipped | `${{ github.token }}` |
5555

5656
## Skipped Annotations
5757

5858
When the maximum number of annotations per type is reached, additional
5959
annotations are not displayed as GitHub annotations to avoid clutter. Instead,
6060
they are added as a comment on the pull request.
6161

62-
> [!NOTE] For more information about GitHub Actions annotation limitations, see
63-
> the
62+
<!-- prettier-ignore -->
63+
> [!NOTE]
64+
> For more information about GitHub Actions annotation limitations, see the
6465
> [official documentation](https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md#limitations).
6566

6667
## Custom Matchers

0 commit comments

Comments
 (0)