Skip to content

Conversation

@grafanarenovatebot
Copy link
Contributor

This PR contains the following updates:

Package Update Change
actionlint patch v1.7.9 -> v1.7.10

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

rhysd/actionlint (actionlint)

v1.7.10

Compare Source

  • Support YAML anchors and aliases (&anchor and *anchor) in workflow files. In addition to parsing YAML anchors correctly, actionlint checks unused and undefined anchors. See the document for more details. (#​133, thanks @​srz-zumix for the initial implementation at #​568 and @​alexaandru for trying another approach at #​557)
    jobs:
      test:
        runs-on: ubuntu-latest
        services:
          nginx:
            image: nginx:latest
            credentials: &credentials
              username: ${{ secrets.user }}
              password: ${{ secrets.password }}
        steps:
          - run: ./download.sh

OK: Valid alias to &credentials

      env: *credentials
    - run: ./check.sh

ERROR: Undefined anchor 'credential'

      env: *credential
    - run: ./upload.sh

ERROR: Unused anchor 'credentials'

      env: &credentials
- Remove support for `*-xl` macOS runner labels because they were [dropped](https://github.blog/changelog/2024-08-19-notice-of-upcoming-deprecations-and-breaking-changes-in-github-actions-runners/). ([#​592](https://redirect.github.com/rhysd/actionlint/issues/592), thanks [@​muzimuzhi](https://redirect.github.com/muzimuzhi))
- Remove support for the macOS 13 runner labels because they were [dropped on Dec 4, 2025](https://github.blog/changelog/2025-09-19-github-actions-macos-13-runner-image-is-closing-down/). ([#​593](https://redirect.github.com/rhysd/actionlint/issues/593), thanks [@​muzimuzhi](https://redirect.github.com/muzimuzhi))
- `macos-13`
- `macos-13-large`
- `macos-13-xlarge`
- Increase the maximum number of inputs in the `workflow_dispatch` event from 10 to 25 because the limitation [was recently relaxed](https://github.blog/changelog/2025-12-04-actions-workflow-dispatch-workflows-now-support-25-inputs/). ([#​598](https://redirect.github.com/rhysd/actionlint/issues/598), thanks [@​Haegi](https://redirect.github.com/Haegi))
- Support [`artifact-metadata` permission](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#defining-access-for-the-github_token-scopes) for workflow permissions. ([#​602](https://redirect.github.com/rhysd/actionlint/issues/602), thanks [@​martincostello](https://redirect.github.com/martincostello))
- Detect more complicated constants at `if:` conditions as error. See the [rule document](https://redirect.github.com/rhysd/actionlint/blob/main/docs/checks.md#if-cond-constant) for more details.
- Refactor the workflow parser with [Go iterators](https://pkg.go.dev/iter#hdr-Iterators). This slightly improves the performance and memory usage.
- Fix parsing extra `{` and `}` characters in format string of `format()` function call. For example v1.7.9 didn't parse `"{{0} {1} {2}}"` correctly.
- Detect an invalid value at `type` in workflow call inputs as error.
- Report [YAML merge key](https://yaml.org/type/merge.html) `<<` as error because GitHub Actions doesn't support the syntax.
- Check available contexts in expressions at `jobs.<job_id>.snapshot.if`.
```yaml
snapshot:
  image-name: my-custom-image

### ERROR: `env` context is not allowed here
  if: ${{ env.USE_SNAPSHOT == 'true' }}
  • Fix the instruction to install actionlint with mise in the installation document. (#​591, thanks @​risu729)
  • Update the popular actions data set to the latest to include new major versions of the actions.

[Changes][v1.7.10]


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants