Skip to content

Commit cb01d47

Browse files
committed
fix paths config examples in the document and changelog
1 parent 081edaf commit cb01d47

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CHANGELOG.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<a id="v1.7.4"></a>
22
# [v1.7.4](https://github.com/rhysd/actionlint/releases/tag/v1.7.4) - 2024-11-04
33

4-
- Disallow using popular actions which run on `node16` runner. The `node16` runner [will reach the end of life on November 12](https://github.blog/changelog/2024-09-25-end-of-life-for-actions-node16/).
4+
- Disallow the usage of popular actions that run on `node16` runner. The `node16` runner [will reach the end of life on November 12](https://github.blog/changelog/2024-09-25-end-of-life-for-actions-node16/).
55
- In case of the error, please update your actions to the latest version so that they run on the latest `node20` runner.
66
- If you're using self-hosted runner and you cannot upgrade your runner to `node20` soon, please consider to ignore the error by the `paths` configuration described below.
77
- Provide the configuration for ignoring errors by regular expressions in `actionlint.yml` (or `actionlint.yaml`). Please see the [document](https://github.com/rhysd/actionlint/blob/v1.7.4/docs/config.md) for more details. ([#217](https://github.com/rhysd/actionlint/issues/217), [#342](https://github.com/rhysd/actionlint/issues/342))
8-
- The `paths` in the configuration file is a mapping from the file path glob pattern to the corresponding configuration. The `ignore` configuration is a list of regular expressions to match error messages (similar to the `-ignore` command line option).
8+
- The `paths` is a mapping from the file path glob pattern to the corresponding configuration. The `ignore` configuration is a list of regular expressions to match error messages (similar to the `-ignore` command line option).
99
```yaml
1010
paths:
1111
# This pattern matches any YAML file under the '.github/workflows/' directory.
12-
.github/workflows/**/*.yaml
12+
.github/workflows/**/*.yaml:
1313
ignore:
1414
# Ignore the specific error from shellcheck
1515
- 'shellcheck reported issue in this script: SC2086:.+'
1616
# This pattern only matches '.github/workflows/release.yaml' file.
17-
.github/workflows/self-hosted.yaml
17+
.github/workflows/self-hosted.yaml:
1818
ignore:
1919
# Ignore errors from the old runner check. This may be useful for (outdated) self-hosted runner environment.
2020
- 'the runner of ".+" action is too old to run on GitHub Actions'
@@ -31,7 +31,7 @@
3131
- Remove `macos-x.0` runner labels which are no longer available. ([#452](https://github.com/rhysd/actionlint/issues/452))
3232
- Disable shellcheck [`SC2043`](https://www.shellcheck.net/wiki/SC2043) rule because it can cause false positives on checking `run:`. ([#355](https://github.com/rhysd/actionlint/issues/355))
3333
- The [rule document](https://github.com/rhysd/actionlint/blob/v1.7.4/docs/checks.md#check-shellcheck-integ) was updated as well. ([#466](https://github.com/rhysd/actionlint/issues/466), thanks [@risu729](https://github.com/risu729))
34-
- Fix the error message when detecting cycles in `needs` dependencies was not deterministic.
34+
- Fix the error message was not deterministic when detecting cycles in `needs` dependencies.
3535
- Fix the check for `format()` function was not applied when the function name contains upper case like `Format()`. Note that function names in `${{ }}` placeholders are case-insensitive.
3636
- Update the popular actions data set to the latest.
3737
- This includes the [new `ref` and `commit` outputs](https://github.com/actions/checkout/pull/1180) of `actions/checkout`.

docs/config.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ config-variables:
3232
paths:
3333
# Glob pattern relative to the repository root for matching files. The path separator is always '/'.
3434
# This example configures any YAML file under the '.github/workflows/' directory.
35-
.github/workflows/**/*.yaml
35+
.github/workflows/**/*.yaml:
3636
# List of regular expressions to filter errors by the error messages.
3737
ignore:
3838
- context ".+" is not allowed here

0 commit comments

Comments
 (0)