v1.7.4
- Disallow the usage of popular actions that run on
node16runner. Thenode16runner will reach the end of life on November 12.- In case of the error, please update your actions to the latest version so that they run on the latest
node20runner. - If you're using self-hosted runner and you cannot upgrade your runner to
node20soon, please consider to ignore the error by thepathsconfiguration described below. - If you're using
actions/upload-artifact@v3andactions/download-artifact@v3on GHES, please replace them withactions/upload-artifact@v3-node20andactions/download-artifact@v3-node20. (#468)
- In case of the error, please update your actions to the latest version so that they run on the latest
- Provide the configuration for ignoring errors by regular expressions in
actionlint.yml(oractionlint.yaml). Please see the document for more details. (#217, #342)- The
pathsis a mapping from the file path glob pattern to the corresponding configuration. Theignoreconfiguration is a list of regular expressions to match error messages (similar to the-ignorecommand line option).paths: # This pattern matches any YAML file under the '.github/workflows/' directory. .github/workflows/**/*.yaml: ignore: # Ignore the specific error from shellcheck - 'shellcheck reported issue in this script: SC2086:.+' # This pattern only matches '.github/workflows/release.yaml' file. .github/workflows/release.yaml: ignore: # Ignore errors from the old runner check. This may be useful for (outdated) self-hosted runner environment. - 'the runner of ".+" action is too old to run on GitHub Actions' - This configuration was not implemented initially because I wanted to keep the configuration as minimal as possible. However, due to several requests for it, the configuration has now been added.
- The
- Untrusted inputs check is safely skipped inside specific function calls. (#459, thanks @IlyaGulya)
- For example, the following step contains the untrusted input
github.head_ref, but it is safe because it's passed to thecontains()argument.- run: echo "is_release_branch=${{ contains(github.head_ref, 'release') }}" >> "$GITHUB_OUTPUT" - For more details, please read the rule document.
- For example, the following step contains the untrusted input
- Recognize
gcr.ioandgcr.devas the correct container registry hosts. (#463, thanks @takaidohigasi)- Note that it is recommended explicitly specifying the scheme like
docker://gcr.io/....
- Note that it is recommended explicitly specifying the scheme like
- Remove
macos-x.0runner labels which are no longer available. (#452) - Disable shellcheck
SC2043rule because it can cause false positives on checkingrun:. (#355)- The rule document was updated as well. (#466, thanks @risu729)
- Fix the error message was not deterministic when detecting cycles in
needsdependencies. - Fix the check for
format()function was not applied when the function name contains upper case likeFormat(). Note that function names in${{ }}placeholders are case-insensitive. - Update the popular actions data set to the latest.
- This includes the new
refandcommitoutputs ofactions/checkout.
- This includes the new
- Add
actions/cache/saveandactions/cache/restoreto the popular actions data set. - Links in the README.md now point to the document of the latest version tag instead of HEAD of
mainbranch. - Add
Linter.LintStdinmethod dedicated to linting STDIN instead of handling STDIN inCommand. - (Dev) Add new
check-checksscript to maintain the 'Checks' document. It automatically updates the outputs and playground links for example inputs in the document. It also checks the document is up-to-date on CI. Please read the document for more details.