@@ -16,7 +16,7 @@ Note: If you're using [Super-Linter][], the file should be placed in a different
16
16
``` yaml
17
17
# Configuration related to self-hosted runner.
18
18
self-hosted-runner :
19
- # Labels of self-hosted runner in array of string .
19
+ # Labels of self-hosted runner in array of strings .
20
20
labels :
21
21
- linux.2xlarge
22
22
- windows-latest-xl
@@ -35,22 +35,28 @@ paths:
35
35
.github/workflows/**/*.yaml :
36
36
# List of regular expressions to filter errors by the error messages.
37
37
ignore :
38
- - context ".+" is not allowed here
39
- - label ".+" is unknown\. available labels are
38
+ # Ignore the specific error from shellcheck
39
+ - ' shellcheck reported issue in this script: SC2086:.+'
40
+ # This pattern only matches '.github/workflows/release.yaml' file.
41
+ .github/workflows/release.yaml :
42
+ ignore :
43
+ # Ignore errors from the old runner check. This may be useful for (outdated) self-hosted runner environment.
44
+ - ' the runner of ".+" action is too old to run on GitHub Actions'
40
45
` ` `
41
46
42
47
- ` self-hosted-runner`: Configuration for your self-hosted runner environment.
43
48
- `labels` : Label names added to your self-hosted runners as list of pattern. Glob syntax supported by [`path.Match`][pat]
44
49
is available.
45
50
- `config-variables` : [Configuration variables][vars]. When an array is set, actionlint will check `vars` properties strictly.
46
51
An empty array means no variable is allowed. The default value `null` disables the check.
47
- - `paths` : Configurations for specific file paths . This is a mapping from a file path glob pattern and the corresponding
52
+ - `paths` : Configurations for specific file path patterns . This is a mapping from a glob pattern and the corresponding
48
53
configuration.
49
- - `{glob}` : A file path glob pattern to apply the configuration. The path separator is always '/'. it is matched to the
50
- relative path from the repository root. For example, `.github/workflows/**/*.yaml` matches all the workflow files (its
51
- name ending with `.yaml`). For the glob syntax, please read the [doublestar][] library's documentation.
52
- - `ignore` : The configuration to ignore (filter) the errors by the error messages. This is an array of regular expressions.
53
- It is similar to the `-ignore` command line option.
54
+ - `{glob}` : A file path glob pattern to apply the configuration. The path separator is always '/'. It is matched to the
55
+ relative path from the repository root. For example `.github/workflows/**/*.yaml` matches all the workflow files (with
56
+ ` .yaml` file extension). For the glob syntax, please read the [doublestar][] library's documentation.
57
+ - `ignore` : The configuration to ignore (filter) the errors by the error messages. This is an array of regular
58
+ expressions. When one of the patterns matches the error message, the error will be ignored. It's similar to the
59
+ ` -ignore` command line option.
54
60
55
61
# # Generate the initial configuration
56
62
0 commit comments