Skip to content

chore(deps): update jactionlint to 2.6.0 - #403

Open
sweepies-ops[bot] wants to merge 1 commit into
mainfrom
patchula/jactionlint-2.x
Open

sweepies-ops[bot] wants to merge 1 commit into
mainfrom
patchula/jactionlint-2.x

Conversation

@sweepies-ops

@sweepies-ops sweepies-ops Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor
Package Change Type File
jactionlint 2.4.0 → 2.6.0 minor mise.toml
Release notes · 2.4.0 → 2.6.0 (2 releases)

2.6.0

jactionlint 2.6.0 adds jactionlint update, which finds newer releases of the actions and reusable workflows you use and can pin them to commit SHAs. This release also fixes jactionlint run --container for containers whose platform differs from the host, and the action can now download jactionlint with a token so it isn't hit by GitHub's limits on anonymous downloads.

Added
jactionlint update: update actions and pin to SHAs

jactionlint update checks the external actions and reusable workflows in your workflows and action.yml files. It finds the latest release your policy allows, then lists, previews or writes the new references. It is separate from --fix, so a lint run never changes a version. Use it locally, in a hook or as a CI check. Use Dependabot or Renovate if you want pull requests instead. (jdx/jactionlint#335, @‍jdx)

jactionlint update              # list available updates, change nothing
jactionlint update --check      # exit 1 on an update, a policy violation or an unverifiable reference
jactionlint update --diff       # unified diff, change nothing
jactionlint update --apply      # write the changes
  • Policy. Set the policy in a new update: section of the config file, or with command-line options, which override the config:
    # .github/jactionlint.yaml
    update:
      cooldown-days: 7
      freeze: true
      include-tags: "v*"
      exclude-tags: ["*-{alpha,beta,rc}*"]
      exclude-prereleases: true
      require-immutable-releases: true
    The matching options are --min-age, --freeze, --include-tag and --exclude-tag. Other options: --pin-only pins the current release without upgrading it, --branch-to-tag REGEX converts branch refs such as @main to the latest release, --include-action/--exclude-action filter by action, and --action-rule REGEX=ignore|cooldown:DAYS sets a policy for specific actions.
  • Safety. It never moves a reference to an older version. If a newer release is held back by the cooldown, it says so. Before updating a pinned SHA, it checks the SHA and its version comment against the repository's tags. It edits only the ref and the version in the comment, and keeps quotes, indentation, line endings and comments that are still true. A line it can't edit without guessing is reported and left as is. A failed lookup is reported as update-unverified and never counted as up to date.
  • Output. Findings have the IDs update-available, update-policy, update-unverified and update-held, and work with every --format, including SARIF. They aren't linter rules, so --ignore, ignores and ignore comments don't apply to them. Use --exclude-action, --action-rule or --changed-since to leave references out. update always uses the online settings (token, cache, GHES, github.com fallback).
  • Actions lock file. If .github/workflows/actions.lock exists, --apply ends by running gh actions-lock --relock from the repository root, even when no reference changed. The listing, --check and --diff never run it. If gh or the extension is missing, or the relock fails, update exits 3. Workflow edits made before that point stay written. (jdx/jactionlint#341, @‍jdx)

See the update guide for details.

Authenticated release downloads

When JACTIONLINT_TOKEN is set, download-jactionlint.bash sends it with the release download request to github.com. It is never sent to the redirect host. The GitHub Action passes its token input to the script, which is github.token by default. On GitHub Enterprise Server, the action doesn't pass the token. Without the variable, downloads work without credentials as before. (jdx/jactionlint#346, @‍jdx, @‍joschi)

Fixed
  • jactionlint run --container now uses the container's platform instead of the host's. Before, JavaScript actions (setup-*, actions/github-script, jdx/mise-action) failed with an exec format error when run from a Mac or in a container of another architecture. The platform comes from --platform, then DOCKER_DEFAULT_PLATFORM, then the image's own platform. Each container platform gets its own tool cache and matching Node.js build, and a node on the host's PATH is never used inside a container. runner.os, runner.arch, RUNNER_OS and RUNNER_ARCH now report the container's platform, so steps under if: runner.os == 'Linux' run instead of being skipped. runner.temp and runner.tool_cache, which were empty before, now match RUNNER_TEMP and RUNNER_TOOL_CACHE. (jdx/jactionlint#344, @‍jdx)
  • unpinned-tools (pedantic) no longer reports go install tool, which installs the tools at the versions fixed by go.mod and go.sum. Bare all, std and cmd are no longer reported either. go install example.com/x without a version is still reported. (jdx/jactionlint#338, @‍ktsu2i)
  • Binaries are now built with Go 1.27.4, which fixes GO-2026-6859, an net/http server crash. (jdx/jactionlint#345, @‍jdx)
New Contributors

Full Changelog: jdx/jactionlint@v2.5.0...v2.6.0

💚 Sponsor jactionlint

jactionlint is a fork of rhysd/actionlint, maintained by @jdx, an open source developer at entire.io, the title sponsor of his open source work.

If jactionlint has a place in your development workflow, please consider becoming an individual or company sponsor. Your support funds ongoing development and helps keep jactionlint fast, free, and independent.

2.5.0

jactionlint 2.5.0 adds jactionlint run, which runs the jobs of a workflow on your machine inside an OS sandbox, without a container engine. It also adds the unreachable-required-check rule, fixes two unpinned-images issues, and accepts the apm Dependabot ecosystem.

Added
jactionlint run: run workflows locally

jactionlint run lets you debug a run: script, an expression, a matrix or the needs wiring without pushing a commit. It shows what happened on your machine, not whether the workflow will pass on GitHub. Every skip or refusal is printed with its reason, and the run guide has a "Differences from GitHub" table. The workflow is first linted with the correctness profile, and the run stops on an error (--no-lint skips the lint). (jdx/jactionlint#316, jdx/jactionlint#317, jdx/jactionlint#319, jdx/jactionlint#320, jdx/jactionlint#321, jdx/jactionlint#322, jdx/jactionlint#323, jdx/jactionlint#324, @‍jdx)

jactionlint run --list                    # jobs and matrix cells in dependency order, nothing runs
jactionlint run ci -j test                # run job `test` of .github/workflows/ci.yml and the jobs it needs
jactionlint run ci --dry-run              # the steps with ${{ }} replaced, nothing runs
jactionlint run ci -e pull_request --secret TOKEN=abc --var REGION=eu
jactionlint run --check-sandbox           # what this machine can enforce
  • Plan view. --list (--json for JSON) groups jobs into stages and expands matrices the way the runner does: exclude, then include. It evaluates name:, runs-on: and job if: expressions that it can, and marks each one if is true or if is false. The github context comes from git, -i NAME=VALUE sets workflow_dispatch inputs, and --event-file supplies github.event. A matrix built from needs outputs shows as "known at run time".
  • Steps and jobs. Supports run: steps with shell, working-directory, defaults.run, layered env, timeout-minutes and continue-on-error. Also supported: step and job outputs, needs.*.result, matrices with fail-fast, background and parallel: steps, the GITHUB_ENV/PATH/OUTPUT/STATE/STEP_SUMMARY file commands and workflow commands. Values from --secret and ::add-mask:: show as *** in all output. Jobs whose runs-on names a different OS are skipped. Ctrl-C cancels the steps, and steps with if: always() still run.
  • Actions and reusable workflows. Runs local, composite and JavaScript actions (with pre/post) and local or remote reusable workflows. If no Node.js on PATH has the right major version, jactionlint downloads it and checks it against the release's SHASUMS256.txt. Remote actions and reusable workflows must be pinned to a commit SHA. Use --trust-actions to resolve a tag or branch and print the commit it picked. actions/checkout, upload-artifact and download-artifact are replaced with local versions. Use --no-shim ACTION to run the real action.
  • Local actions cache. A cache service on 127.0.0.1 works with unmodified actions/cache, setup-*, jdx/mise-action and other actions built on @actions/cache, so a second run restores instead of downloading again. Caches are scoped to the ref and fall back to the default branch. Entries expire after 7 days, and the store has a 10 GB LRU limit (--cache-size). Related options: --cache=read-only|off, --no-cache, --cache-dir. Manage the store with jactionlint cache ls|rm|prune|path.
  • Network modes. --net=open is the default. --net=none blocks internet sockets. --net=proxy allows only a proxy that lets through GitHub and the common package registries. It needs Landlock ABI 4, which is Linux 6.7 or later. --allow-net HOST,... adds hosts, and --learn prints the hosts your steps contacted.
  • Containers (optional). container: jobs, services: and Docker actions run through docker or podman (--container-engine). By default all capabilities are dropped except nine, and no-new-privileges is set. jactionlint never runs privileged containers or mounts the host home or Docker socket. Images must be pinned by digest unless you pass --trust-images. options: is checked against an allow list: --privileged, --cap-add, -v, --network host and similar options are refused unless you pass --unsafe-container-options. Use --container to run Linux matrix cells in a digest-pinned ubuntu image, for example from a Mac. If no engine is installed, or you pass --no-containers, only the jobs and steps that need a container are skipped.

The Count left some release notes out to keep this description short — read all releases.


Count Patchula Count Patchula opened this PR
The Count keeps watch over this repo. He works for free, but if you find him helpful, consider supporting his development.

  • Re-check this PR now
  • Add to the batch PR (closes this PR and moves the update there)

View guided diff Turn on auto-fix

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
count-patchula 7329384 Commit Preview URL

Branch Preview URL
Nov 24 2026, 02:01 AM

Patchula: v1
Patchula-Branch: cece211f0d0fb8e21cae4f91ec5ca7d1ee8b99b0a8af84a12515d8fbb30d8594
Patchula-Base: f33af1f
Patchula-Plan: 00545e00ed4fafeb7d36ebf4f4958d00cb39916a11c028c78046014542845c01
@sweepies-ops
sweepies-ops Bot force-pushed the patchula/jactionlint-2.x branch from 7329384 to 9ed3006 Compare November 25, 2026 05:22

This branch has not been deployed

No deployments
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