Skip to content

Conversation

@red-hat-konflux
Copy link

@red-hat-konflux red-hat-konflux bot commented Nov 5, 2025

This PR contains the following updates:

Package Type Update Change
rhysd/actionlint repository patch v1.7.7 -> v1.7.10

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

rhysd/actionlint (rhysd/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]

v1.7.9

Compare Source

ERROR: Using a deprecated input

  fail_on_error: true
- Add support for the [Custom images](https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images) feature.
- Support [`image_version` workflow trigger](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#image_version).
  ```yaml
  on:
    image_version:
      names:
        - "MyNewImage"
        - "MyOtherImage"
      versions:
        - 1.*
        - 2.*
  ```
- Support [`jobs.<job_id>.snapshot` syntax](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idsnapshot). To make actionlint recognize your own image generation runner, use [`self-hosted-runner.labels` config](https://redirect.github.com/rhysd/actionlint/blob/main/docs/config.md).
  ```yaml
  jobs:
    build:
      runs-on: my-image-generation-runner
      snapshot:
          image-name: my-custom-image
          version: 2.*
  ```
- Report constant conditions at `if:` like `if: true` as error. Only very simple expressions like `true` or `false` are detected for now. See the [document](https://redirect.github.com/rhysd/actionlint/blob/main/docs/checks.md#if-cond-constant) for more details.
- Check unexpected keys in inputs in [action metadata](https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax).
```yaml
inputs:
  some_input:

### Error: `type` is not supported for inputs in action metadata
    type: boolean
  • Fix some invalid permissions are not reported as error in id-token and models scopes. (#​582, thanks @​holtkampjs)
  • Fix args and entrypoint inputs are not recognized at uses: when it's not a Docker action. (#​550)
  • Set correct column in source position of YAML parse error.
  • Fix credentials cannot be configured with ${{ }}. (#​590)
  • Improve messages in syntax errors on parsing steps (run: and uses:). Available keys suggestion is now more accurate and unexpected keys are detected more accurately.
  • Fix the order of errors can be non-deterministic when multiple errors are caused at the same source positions.
  • Improve error messages showing suggestions on detecting invalid permissions.
  • Add instruction for installing actionlint with mise package manager. (#​589, thanks @​jylenhof)
  • Fix outdated URLs in the document.
  • Add new actionlint.AllContexts map constant in Go API that contains the information about all context availability.
  • Update popular actions data set to the latest with several major versions of actions and the following new actions.
    • anthropics/claude-code-action
    • openai/codex-action
    • google-github-actions/run-gemini-cli
  • Add make cov task to easily generate a code coverage report.
  • Make installing the formula version of actionlint pacakge from tap of this repository with Homebrew a hard error. Install the cask version instead following the instruction in the error message.

[Changes][v1.7.9]

v1.7.8

Compare Source

[Changes][v1.7.8]


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 becomes conflicted, 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

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/rhoai-2.24/rhysd-actionlint-1.x branch from 157cf72 to c0b7126 Compare November 21, 2025 05:42
@red-hat-konflux red-hat-konflux bot changed the title Update pre-commit hook rhysd/actionlint to v1.7.8 Update pre-commit hook rhysd/actionlint to v1.7.9 Nov 21, 2025
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/rhoai-2.24/rhysd-actionlint-1.x branch from c0b7126 to f9513e3 Compare December 30, 2025 21:27
@red-hat-konflux red-hat-konflux bot changed the title Update pre-commit hook rhysd/actionlint to v1.7.9 Update pre-commit hook rhysd/actionlint to v1.7.10 Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants