macaron
macaron copied to clipboard
chore(deps): bump github.com/rhysd/actionlint from 1.6.27 to 1.7.0
Bumps github.com/rhysd/actionlint from 1.6.27 to 1.7.0.
Release notes
Sourced from github.com/rhysd/actionlint's releases.
v1.7.0
- From this version, actionlint starts to check action metadata file
action.yml(oraction.yaml). At this point, only very basic checks are implemented and contents ofsteps:are not checked yet.
- It checks properties under
runs:section (e.g.main:can be specified when it is a JavaScript action),branding:properties, and so on.name: 'My action' author: '...' # ERROR: 'description' section is missingbranding:
ERROR: Invalid icon name
icon: dog
runs:
ERROR: Node.js runtime version is too old
using: 'node12'
ERROR: The source file being run by this action does not exist
main: 'this-file-does-not-exist.js'
ERROR: 'env' configuration is only allowed for Docker actions
env: SOME_VAR: SOME_VALUE
- actionlint still focuses on checking workflow files. So there is no way to directly specify
action.ymlas an argument ofactionlintcommand. 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.- Checks for
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.- Add
runner.environmentproperty. (#412)- run: echo 'Run by GitHub-hosted runner' if: runner.environment == 'github-hosted'- Using outdated popular actions is now detected at error. See the document for more details.
- Here 'outdated' means actions which use runtimes no longer supported by GitHub-hosted runners such as
node12.# ERROR: actions/checkout@v2 is using the outdated runner 'node12' - uses: actions/checkout@v2- Support
attestationspermission which was recently added to GitHub Actions as beta. (#418, thanks@bdehamer)permissions: id-token: write contents: read attestations: write- Check comparison expressions more strictly. Arbitrary types of operands can be compared as the official document explains. However, comparisons between some types are actually meaningless because the values are converted to numbers implicitly. actionlint catches such meaningless comparisons as errors. Please see the check document for more details.
on: workflow_call: inputs: timeout: type: booleanjobs:
... (truncated)
Changelog
Sourced from github.com/rhysd/actionlint's changelog.
v1.7.0 - 08 May 2024
- From this version, actionlint starts to check action metadata file
action.yml(oraction.yaml). At this point, only very basic checks are implemented and contents ofsteps:are not checked yet.
- It checks properties under
runs:section (e.g.main:can be specified when it is a JavaScript action),branding:properties, and so on.name: 'My action' author: '...' # ERROR: 'description' section is missingbranding:
ERROR: Invalid icon name
icon: dog
runs:
ERROR: Node.js runtime version is too old
using: 'node12'
ERROR: The source file being run by this action does not exist
main: 'this-file-does-not-exist.js'
ERROR: 'env' configuration is only allowed for Docker actions
env: SOME_VAR: SOME_VALUE
- actionlint still focuses on checking workflow files. So there is no way to directly specify
action.ymlas an argument ofactionlintcommand. 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.- Checks for
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.- Add
runner.environmentproperty. (#412)- run: echo 'Run by GitHub-hosted runner' if: runner.environment == 'github-hosted'- Using outdated popular actions is now detected at error. See the document for more details.
- Here 'outdated' means actions which use runtimes no longer supported by GitHub-hosted runners such as
node12.# ERROR: actions/checkout@v2 is using the outdated runner 'node12' - uses: actions/checkout@v2- Support
attestationspermission which was recently added to GitHub Actions as beta. (#418, thanks@bdehamer)permissions: id-token: write contents: read attestations: write- Check comparison expressions more strictly. Arbitrary types of operands can be compared as the official document explains. However, comparisons between some types are actually meaningless because the values are converted to numbers implicitly. actionlint catches such meaningless comparisons as errors. Please see the check document for more details.
on: workflow_call: inputs: timeout: type: boolean
... (truncated)
Commits
f970a14bump up version to v1.7.0664e100move dependencies for testing to dev-dependencies in playground3b1ec3bupdategolang.org/x/systo v0.2004afd4faddgolangci/golangci-lint-action@v6to popular actions data set2ac37c7add workaround fordorny/paths-filter@v3'spredicate-quantifierinput (#416)d8e9b53addoctokit/[email protected]to popular actions data setb3c4e99addactions/[email protected]to popular actions data set4b9b046Merge branch 'strict-compare'1901992add workflow tests for comparison checks489bf77add unit tests for comparisons type check- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)