rhysd/actionlint (rhysd/actionlint)
### [`v1.6.26`](https://togithub.com/rhysd/actionlint/blob/HEAD/CHANGELOG.md#v1626---18-Sep-2023)
[Compare Source](https://togithub.com/rhysd/actionlint/compare/v1.6.25...v1.6.26)
- Several template fields and template actions were added. All fields and actions are listed in [the document](https://togithub.com/rhysd/actionlint/blob/main/docs/usage.md#format-error-messages). Please read it for more details. ([#311](https://togithub.com/rhysd/actionlint/issues/311))
- By these additions, now actionlint can output the result in [the SARIF format](https://docs.oasis-open.org/sarif/sarif/v2.1.0/sarif-v2.1.0.html). SARIF is a format for the output of static analysis tools used by [GitHub CodeQL](https://codeql.github.com/). [the example Go template](https://togithub.com/rhysd/actionlint/blob/main/testdata/format/sarif_template.txt) to format actionlint output in SARIF.
```sh
actionlint -format "$(cat /path/to/sarif_template.txt)" > output.json
```
- `allKinds` returns the kinds (lint rules) information as an array. You can include what lint rules are defined in the command output.
- `toPascalCase` converts snake case (`foo_bar`) or kebab case (`foo-bar`) into pascal case (`FooBar`).
- Report an error when the condition at `if:` is always evaluated to true. See [the check document](https://togithub.com/rhysd/actionlint/blob/main/docs/checks.md#if-cond-always-true) to know more details. ([#272](https://togithub.com/rhysd/actionlint/issues/272))
```yaml
```
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.6.25
->1.6.26
Release Notes
rhysd/actionlint (rhysd/actionlint)
### [`v1.6.26`](https://togithub.com/rhysd/actionlint/blob/HEAD/CHANGELOG.md#v1626---18-Sep-2023) [Compare Source](https://togithub.com/rhysd/actionlint/compare/v1.6.25...v1.6.26) - Several template fields and template actions were added. All fields and actions are listed in [the document](https://togithub.com/rhysd/actionlint/blob/main/docs/usage.md#format-error-messages). Please read it for more details. ([#311](https://togithub.com/rhysd/actionlint/issues/311)) - By these additions, now actionlint can output the result in [the SARIF format](https://docs.oasis-open.org/sarif/sarif/v2.1.0/sarif-v2.1.0.html). SARIF is a format for the output of static analysis tools used by [GitHub CodeQL](https://codeql.github.com/). [the example Go template](https://togithub.com/rhysd/actionlint/blob/main/testdata/format/sarif_template.txt) to format actionlint output in SARIF. ```sh actionlint -format "$(cat /path/to/sarif_template.txt)" > output.json ``` - `allKinds` returns the kinds (lint rules) information as an array. You can include what lint rules are defined in the command output. - `toPascalCase` converts snake case (`foo_bar`) or kebab case (`foo-bar`) into pascal case (`FooBar`). - Report an error when the condition at `if:` is always evaluated to true. See [the check document](https://togithub.com/rhysd/actionlint/blob/main/docs/checks.md#if-cond-always-true) to know more details. ([#272](https://togithub.com/rhysd/actionlint/issues/272)) ```yaml ```