chore(deps): update dependency rhysd/actionlint to v1.7.5 #547
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.6.25
->1.7.5
Release Notes
rhysd/actionlint (rhysd/actionlint)
v1.7.5
Compare Source
${{ }}
placeholders following the 'Context availability' table in the official document.jobs.<job>.env
allowsgithub
context butjobs.<job>.services.<service>.env
doesn't allow any contexts. Now actionlint can catch the mistake.OK.
github
context is available here.ERROR: No context is available here.
fromJSON()
call. This pattern is popular to create array or object constants because GitHub Actions does not provide the literal syntax for them. See the document for more details. (#464)ERROR: Key 'mac' does not exist in the object returned by the fromJSON()
ERROR: Broken JSON string passed to fromJSON.
v1.7.4
Compare Source
node16
runner. Thenode16
runner will reach the end of life on November 12.node20
runner.node20
soon, please consider to ignore the error by thepaths
configuration described below.actionlint.yml
(oractionlint.yaml
). Please see the document for more details. (#217, #342)paths
is a mapping from the file path glob pattern to the corresponding configuration. Theignore
configuration is a list of regular expressions to match error messages (similar to the-ignore
command line option).paths:
This pattern matches any YAML file under the '.github/workflows/' directory.
Ignore the specific error from shellcheck
This pattern only matches '.github/workflows/release.yaml' file.
Ignore errors from the old runner check. This may be useful for (outdated) self-hosted runner environment.
github.head_ref
, but it is safe because it's passed to thecontains()
argument.gcr.io
andgcr.dev
as the correct container registry hosts. (#463, thanks @takaidohigasi)docker://gcr.io/...
.macos-x.0
runner labels which are no longer available. (#452)SC2043
rule because it can cause false positives on checkingrun:
. (#355)needs
dependencies.format()
function was not applied when the function name contains upper case likeFormat()
. Note that function names in${{ }}
placeholders are case-insensitive.ref
andcommit
outputs ofactions/checkout
.actions/cache/save
andactions/cache/restore
to the popular actions data set.main
branch.Linter.LintStdin
method dedicated to linting STDIN instead of handling STDIN inCommand
.check-checks
script 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.Documentation
[Changes][v1.7.4]
v1.7.3
Compare Source
macos-11
runner labels because macOS 11 runner was dropped on 6/28/2024. (#451, thanks @muzimuzhi)macos-15
,macos-15-large
, andmacos-15-xlarge
runner labels. The macOS 15 runner is not globally available yet, but they are available in beta. (#453, thanks @muzimuzhi)actionlint_{version}_checksums.txt
. (#449)download-path
output is missing inactions/download-artifact@v3
action. (#442)actions/download-artifact@v4
was not affected by this issue.Documentation
[Changes][v1.7.3]
v1.7.2
Compare Source
merge_group
event. (#448, thanks @muzimuzhi)[Changes][v1.7.2]
v1.7.1
Compare Source
ubuntu-24.04
runner label, which was recently introduced as beta. (#425, thanks @bitcoin-tools)macos-10
runner label which was officially dropped about 2 years ago.windows-2016
runner label which was officially dropped about 2 years ago.main
branch. For example,ghcr.io
ordocker.io
atimage
field of action metadata file of Docker action withoutdocker://
scheme. (#428)This should be OK
v1.7.0
Compare Source
action.yml
(oraction.yaml
). At this point, only very basic checks are implemented and contents ofsteps:
are not checked yet.runs:
section (e.g.main:
can be specified when it is a JavaScript action),branding:
properties, and so on.ERROR: 'description' section is missing
ERROR: Invalid icon name
ERROR: Node.js runtime version is too old
ERROR: The source file being run by this action does not exist
ERROR: 'env' configuration is only allowed for Docker actions
action.yml
as an argument ofactionlint
command. actionlint checks all local actions which are used by given workflows. If you want to use actionlint for your action development, prepare a test/example workflow which uses your action, and check it with actionlint instead.steps:
contents are planned to be implemented. Since several differences are expected betweensteps:
in workflow file andsteps:
in action metadata file (e.g. available contexts), the implementation is delayed to later version. And the current implementation of action metadata parser is ad hoc. I'm planning a large refactorying and breaking changes Go API around it are expected.runner.environment
property. (#412)node12
.ERROR: actions/checkout@v2 is using the outdated runner 'node12'
attestations
permission which was recently added to GitHub Actions as beta. (#418, thanks @bdehamer)ERROR: Comparing string to object is always evaluated to false
ERROR: Comparing boolean value with
>
doesn't make sensegoogle-github-actions/get-secretmanager-secrets
because this action sets outputs dynamically. (#404)defaults.run
is ignored on detecting the shell used inrun:
. (#409)This was wrongly detected as bash script
exclude:
items inmatrix:
when they are constructed from${{ }}
dynamically. (#414)actionlint complained this value didn't exist in matrix combinations
peaceiris/actions-hugo
actions/attest-build-provenance
actions/add-to-project
octokit/graphql-action
actionlint
executable by removing redundant data from popular actions data set.[Changes][v1.7.0]
v1.6.27
Compare Source
macos-14
macos-14-xlarge
macos-14-large
ubuntu-18.04
runner label from runners list since it is no longer supported. (#363)self-hosted-runner.labels
configuration. For example, the following configuration defines any runner labels prefixed withprivate-linux-
. (thanks @kishaningithub, #378)-format
option is used for linting multiple workflow files. Thanks @ReinAchten-TomTom for your help on the investigation. (#370)google-github-actions/auth
google-github-actions/get-secretmanager-secrets
google-github-actions/setup-gcloud
google-github-actions/upload-cloud-storage
pulumi/actions
pypa/gh-action-pypi-publish
windows-latest-8-cores
ubuntu-latest-4-cores
ubuntu-latest-8-cores
ubuntu-latest-16-cores
pull_request
event.enqueued
dequeued
milestoned
demilestoned
SHELLCHECK_OPTS
environment variable to pass arguments to shellcheck. See the shellcheck's official document for more details.v1.6.26
Compare Source
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
).if:
is always evaluated to true. See the check document to know more details. (#272)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.