Repository navigation
Releases
v2.6.0: `jactionlint update` checks and applies action updates, with optional SHA pinning
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. (#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:The matching options are# .github/jactionlint.yaml update: cooldown-days: 7 freeze: true include-tags: "v*" exclude-tags: ["*-{alpha,beta,rc}*"] exclude-prereleases: true require-immutable-releases: true
--min-age,--freeze,--include-tagand--exclude-tag. Other options:--pin-onlypins the current release without upgrading it,--branch-to-tag REGEXconverts branch refs such as@mainto the latest release,--include-action/--exclude-actionfilter by action, and--action-rule REGEX=ignore|cooldown:DAYSsets 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-unverifiedand never counted as up to date. - Output. Findings have the IDs
update-available,update-policy,update-unverifiedandupdate-held, and work with every--format, including SARIF. They aren't linter rules, so--ignore,ignoresand ignore comments don't apply to them. Use--exclude-action,--action-ruleor--changed-sinceto leave references out.updatealways uses the online settings (token, cache, GHES, github.com fallback). - Actions lock file. If
.github/workflows/actions.lockexists,--applyends by runninggh actions-lock --relockfrom the repository root, even when no reference changed. The listing,--checkand--diffnever run it. Ifghor the extension is missing, or the relock fails,updateexits3. Workflow edits made before that point stay written. (#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. (#346, @jdx, @joschi)
Fixed
jactionlint run --containernow 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, thenDOCKER_DEFAULT_PLATFORM, then the image's own platform. Each container platform gets its own tool cache and matching Node.js build, and anodeon the host'sPATHis never used inside a container.runner.os,runner.arch,RUNNER_OSandRUNNER_ARCHnow report the container's platform, so steps underif: runner.os == 'Linux'run instead of being skipped.runner.tempandrunner.tool_cache, which were empty before, now matchRUNNER_TEMPandRUNNER_TOOL_CACHE. (#344, @jdx)unpinned-tools(pedantic) no longer reportsgo install tool, which installs the tools at the versions fixed bygo.modandgo.sum. Bareall,stdandcmdare no longer reported either.go install example.com/xwithout a version is still reported. (#338, @ktsu2i)- Binaries are now built with Go 1.27.4, which fixes GO-2026-6859, an
net/httpserver crash. (#345, @jdx)
New Contributors
- @ktsu2i made their first contribution in #338
- @joschi made their first contribution in #346 (originally #342)
Full Changelog: 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.
v2.5.0: Run workflows locally with jactionlint run
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). (#316, #317, #319, #320, #321, #322, #323, #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(--jsonfor JSON) groups jobs into stages and expands matrices the way the runner does:exclude, theninclude. It evaluatesname:,runs-on:and jobif:expressions that it can, and marks each oneif is trueorif is false. Thegithubcontext comes from git,-i NAME=VALUEsetsworkflow_dispatchinputs, and--event-filesuppliesgithub.event. A matrix built fromneedsoutputs shows as "known at run time". - Steps and jobs. Supports
run:steps withshell,working-directory,defaults.run, layeredenv,timeout-minutesandcontinue-on-error. Also supported: step and job outputs,needs.*.result, matrices withfail-fast, background andparallel:steps, theGITHUB_ENV/PATH/OUTPUT/STATE/STEP_SUMMARYfile commands and workflow commands. Values from--secretand::add-mask::show as***in all output. Jobs whoseruns-onnames a different OS are skipped. Ctrl-C cancels the steps, and steps withif: 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 onPATHhas the right major version, jactionlint downloads it and checks it against the release'sSHASUMS256.txt. Remote actions and reusable workflows must be pinned to a commit SHA. Use--trust-actionsto resolve a tag or branch and print the commit it picked.actions/checkout,upload-artifactanddownload-artifactare replaced with local versions. Use--no-shim ACTIONto run the real action. - Local actions cache. A cache service on
127.0.0.1works with unmodifiedactions/cache,setup-*,jdx/mise-actionand 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 withjactionlint cache ls|rm|prune|path. - Network modes.
--net=openis the default.--net=noneblocks internet sockets.--net=proxyallows 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--learnprints the hosts your steps contacted. - Containers (optional).
container:jobs,services:and Docker actions run throughdockerorpodman(--container-engine). By default all capabilities are dropped except nine, andno-new-privilegesis 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 hostand similar options are refused unless you pass--unsafe-container-options. Use--containerto run Linux matrix cells in a digest-pinnedubuntuimage, 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. - Parallel runs.
--parallel Nruns matrix cells and independent jobs at the same time. It respectsneedsandmax-parallel, and prints each job's output in one block. - Explanations. Messages that end with
(jactionlint run --explain ID)have a longer explanation.jactionlint run --explain listlists all of them.
Isolation and platform support: Each step runs with a filtered environment, a throwaway home, and a per-job copy of the workspace. Your checkout and real home cannot be read or written. Use --in-place to work in your checkout, --allow-read/--allow-write DIR to open more paths, and --sandbox=off to turn the sandbox off. If the sandbox can't be applied, the step does not run.
- Linux: Landlock and seccomp-bpf, Linux 5.13 or later.
- macOS: Seatbelt through
sandbox-exec. This backend is new and has had much less use than the Linux one. - Windows: steps are refused. Use WSL2.
New rule: unreachable-required-check
The new unreachable-required-check rule reports a required check that no workflow will report for a change. GitHub waits forever for such a check, and the pull request cannot merge. Common causes are a missing merge_group trigger, a branches filter that leaves out the protected branch, and a paths filter that skips a README-only change. (#331, @mariusvniekerk)
The rule turns on in every profile when required-checks is in the config file:
required-checks:
- name: CI gate
events: [pull_request, merge_group] # default: [pull_request]
branches: [main] # optional, literal namesIt reads every workflow in .github/workflows, so it doesn't report GitHub's workaround of a second workflow with the opposite paths filter. Each finding is placed where the fix goes: the config declaration (with a "did you mean" suggestion), on:, or the filter. When the answer depends on something the rule doesn't evaluate, it reports at level info and gives the reason. It does not read branch protection or rulesets from GitHub, so keep the list in sync with your repository settings. To turn the rule off, set rules: {unreachable-required-check: off}.
Fixed
unpinned-imagesnow treats images built by drop-in forks ofdocker/build-push-actionas local, the same as the original:useblacksmith/build-push-action,depot/build-push-actionandwarpbuilds/build-push-action. A laterdocker runof the image's tag is no longer reported. Other actions that take atags:input are still reported. (#328, @jdx, @tedserbinski)unpinned-imagesnow only treats an image as local when the same job builds, tags or loads it. Each job runs on its own runner, sodocker run app:ciin a job that doesn't buildapp:cipulls the image from the registry. That use is now reported. Previously, a build anywhere in the workflow hid the finding in every job. (#329, @jdx, @tedserbinski)dependabot-syntaxacceptspackage-ecosystem: apm(Agent Package Manager), which GitHub added on November 3, 2026. (#333, @frottke)
New Contributors
- @mariusvniekerk made their first contribution in #331
- @frottke made their first contribution in #333
- @tedserbinski made their first contribution in 4d0fcf6 (#328)
Full Changelog: v2.4.0...v2.5.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.
v2.4.0: Private Use Area detection and fixes for artipacked, Dependabot groups and SARIF uploads
jactionlint 2.4.0 extends invisible-characters to report Private Use Area characters. It also fixes false positives in artipacked and dependabot-syntax, and stops the "inconsistent fingerprint" warnings when you upload SARIF to code scanning.
Added
invisible-charactersreports Private Use Area characters (U+E000–U+F8FFand the two supplementary private-use planes). Most fonts have no glyph for these characters, so they can hide a payload that a script decodes at run time, the same way variation selectors can. The message calls themPRIVATE USE CHARACTER. The rule ID, profile, level and the fix that removes the character have not changed. If you use Nerd Font or Powerline icons on purpose, write them as escape sequences before you apply the fix. Otherwise the fix removes them. (#311, @jdx)
Fixed
artipackedno longer reportsactions/checkoutv6 and later. Starting with v6, checkout stores the credential in a file under$RUNNER_TEMPinstead of the workspace, so uploading the workspace doesn't publish it. The rule skips v6+ tag refs, and also commit pins whose version comment says v6 or later. v5 and earlier are still reported. (#308, @jdx)dependabot-syntaxno longer reports an update withmulti-ecosystem-groupas a duplicate of the regular update for the same ecosystem and directory. Two updates are now duplicates only when they match on ecosystem, directory, target branch and group. Two ungrouped updates, or two updates in the same group, are still reported. (#314, @jdx)- SARIF output no longer writes
primaryLocationLineHash.github/codeql-action/upload-sarifcomputes this value itself and logs an "inconsistent fingerprint" warning when a file supplies a different one. The fingerprint value is unchanged and is now stored underjactionlint/contextHash/v1inpartialFingerprints. If your tools read jactionlint's fingerprint fromprimaryLocationLineHash, switch them to the new key. (#307, @jdx)
Full Changelog: v2.3.0...v2.4.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.
v2.3.0: allow-unused for config ignores, and a Go toolchain fix for online checks
jactionlint 2.3.0 adds an allow-unused option to ignores entries in the config file and fixes a workflow-call-permissions false positive for OIDC. It is also built with Go 1.27.3, so online checks reject certificates from the compromised eMudhra CA.
Added
allow-unusedfor durable ignores. Anignoresentry withallow-unused: trueis not reported asunused-ignorewhen it suppresses nothing. Use it for findings that come and go, such as one caused by a moving tag.expired-ignorestill reports the entry when it expires. The default isfalse, and any value other thantrueorfalseis a config error. The option is also in the config JSON Schema. (#297, @jdx)ignores: - rule: unpinned-uses uses: actions/cache reason: pinned by the Actions lock file on some branches allow-unused: true
Fixed
workflow-call-permissionsno longer reports a missingid-token: writewhen the caller sets nopermissions:andassume-default-permissionsispermissiveor not set. In that case, GitHub gives the called job an OIDC token. Withassume-default-permissions: restricted, jactionlint still reports it. (#299, @jdx)- Online checks reject forged certificates from the compromised eMudhra CA. Release binaries are now built with Go 1.27.3, which rejects these certificate chains. Older binaries do not have this fix, so replace them with this release if you use
--online. (#301, @jdalton)
New Contributors
Full Changelog: v2.2.0...v2.3.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.
v2.2.0: New rules, repository-aware CLI modes, and a PyPI package
jactionlint 2.2.0 adds about thirty new rules and extends many existing ones, mostly for script injection, token permissions, pinning and runner limits. It also adds CLI modes for pull request checks (--changed-since), rule discovery (--list-rules, --explain, shell completions), fact export and timeout suggestions, and publishes wheels to PyPI. Several new rules are in the default or correctness profile, so a run that was clean on 2.1.0 can show new findings. See Changed before you upgrade.
Highlights
- More checks before a run fails: shell syntax errors without shellcheck, JavaScript syntax errors in
actions/github-script, job permissions too narrow for the actions in the job,ghwithout a token,ubuntu-slimlimits,github.eventproperty typos, and validation of GitHub's Actions lock file. - Deeper security analysis:
untrusted-checkout,cache-poisoning,template-injectionand the secret rules follow more code paths. New pedantic and online rules cover command and argument injection, repojacking, release age, unpinned action dependencies and environments without required reviewers. - Better for CI and tooling: report only findings on changed lines, select single rules, export the repository model as JSON, get JSON Schemas for config and output, and install with
pip/uvx.
Added
New rules in the default and correctness profiles
shell-syntax(default, error): reports syntax errors inbash/shrun:scripts, such as an unclosed quote or a missingfi/done, using a built-in parser. It runs only when shellcheck does not run, so the two never report the same error. (#273, @jdx)insufficient-permissions(default, error): reports a job whose explicitpermissions:miss a scope that one of its actions needs (upload-sarif,deploy-pages, OIDC logins,gh release create,git pushand others, about 26 entries).missing-permissions --fixnow uses the same table to write job-level permissions when the needs are exact. (#192, @jdx)ubuntu-slim-limits(default, error): reportscontainer:,services:and Docker container actions in jobs that run only onubuntu-slim. Withpedantic, it also reportstimeout-minutesabove 15.missing-timeout --fixlimits its value to 15 for these jobs. (#190, @jdx)actions-lock(default, error) andactions-lock-drift(online): check.github/workflows/actions.lockagainst the workflows. They report missing, stale and malformed entries. With--online, they also report replaced repositories, moved tags and commits that are on no branch or tag. Repositories without a lock file are not affected.unpinned-usesaccepts a ref that the lock file pins to a commit. (#237, #228, @jdx)hardcoded-registry-credentials(default, error): reports plain-text passwords, tokens and keys inregistriesofdependabot.yml, including passwords embedded in a registry URL. (#265, @jdx)gh-without-token(correctness): reports aghcommand that needs a token in a step where noGH_TOKEN/GITHUB_TOKENis set. (#177, @jdx)environment-file-redirect(correctness): reports writes toGITHUB_OUTPUT(and similar files) without the$, and a>that overwrites data the same script already wrote. It has a fix: safe for the missing$, unsafe for>. (#184, @jdx)github-script-syntax(correctness): checks thescriptinput ofactions/github-scriptwithnode --check. It knows the argument names of each action version, so it catches errors likeconst glob = require(...). It needs Node.js 20 or later onPATH; without it, the rule is skipped and a note says so. (#242, @jdx)malformed-expression-delimiters(correctness): reports${ github.ref },$ {{ x }}and{{ github.sha }}. (#180, @jdx)multiline-plain-run(correctness): reports a multi-linerun:that YAML folds into a single line. (#205, #256, @jdx)concurrency-deadlock(correctness): reports a concurrency group that a workflow shares with a local reusable workflow it calls. GitHub cancels such runs as a deadlock. (#210, @jdx)conflicting-action-inputs(correctness), plus newmissing-action-inputcases: report input combinations of well-known actions that cannot work, for exampledownload-artifactnamewithartifact-ids, ornick-fields/retrywithout exactly one timeout input. (#207, @jdx)undefined-propertynow checksgithub.event.*property names against the webhook payloads, down to three levels. By default, it reports only names that no event has. Thestrict-event-payloadsoption, on in the pedantic profile, also reports properties that the workflow's own triggers don't have. (#249, @jdx)
New pedantic rules
deprecated-runner-label: warns about runner labels with an announced retirement date (macos-14,ubuntu-22.04), with replacement labels. (#182)deprecated-node-runtime: reportsruns.using: node20/16/12in action metadata, popular actions at majors that declare node20, and environment variables that select the Node.js runtime. (#225, #230, #234)command-injection: reports untrusted input that was moved toenv:but then runs as code (eval,bash -c,python -c,execSyncin github-script, and similar). (#202)argument-injection: reports free text in the program ofsed/awk, infind -exec, or as a leading word oftar,curl,git cloneand others. (#221)output-clobbering: reports input that can contain line breaks written toGITHUB_OUTPUTas a single record. (#212)comment-trigger-authorization: reports comment-triggered jobs that don't check who commented. (#217)event-name-never-received: reportsgithub.event_namecompared with an event the workflow never receives. (#214)fail-fast-action-inputs: reports actions configured to pass when they produced nothing. (#196)macos-gnu-flags: reports GNU-only options in run scripts of macOS jobs. (#241)unmatched-paths-filter: reportspathsfilters that match no file in the repository. (#238)missing-version-comment: reports a commit-SHA pin without a version comment.--online --fixadds the comment. (#232)unused-workflow-secret: reportson.workflow_call.secretsthat nothing reads. (#223)
All by @jdx.
New online rules
repojacking: reports an action or reusable workflow whose owner name anyone could register. It runs on github.com only. (#248, @jdx)unpinnable-action: reports an action pinned by hash whose own dependencies are not pinned. (#240, @jdx)action-release-cooldown(opt-in): reports an action at a version released less than N days ago. It is off until the config has an entry for it:(#235, @jdx)rules: action-release-cooldown: { level: warning, days: 7 }
Extensions to existing rules
-
untrusted-checkoutfollows the pull request revision through variables, script files,pull/N/headfetches, local reusable workflows and composite actions. It now coversissue_commentworkflows that build a pull request, and reports gates that pass once in front of code that can change. It honors the fork protection ofactions/checkout, and counts actions that run the workspace and the input that makes them do it. (#159, #175, #203, #206, #208, #213, #220, @jdx) -
With
--online, environments are checked:untrusted-checkout,untrusted-artifactandagentic-actionsno longer trust anenvironment:that has no required reviewers, or that doesn't exist in a public repository. (#247, @jdx) -
cache-poisoning:- A build job that uploads artifacts for a publishing job counts as a release job, even with a read-only token.
- More publishers are recognized, including
docker/build-push-actionwith an expression forpush, plus maturin and sccache caches,pnpm/setup, graalvm and composer. - Caches of credential files are reported.
- A new
pedanticoption adds zizmor's heuristics for tag-triggered and release-branch workflows.
-
template-injectionreports more outsider-controlled free text in the default profile: previous titles and bodies of edited issues, the fork homepage, wiki page titles, merge queue commit messages, andworkflow_runpaths. (#173, @jdx) -
dangerous-triggersmessages say which token scopes the workflow can write and which secrets it reads. (#189, @jdx) -
github-envfollows text that a script reads withghandgit. (#218, @jdx) -
unpinned-imageschecksdocker runimages in scripts and adds per-image policies and image allow/deny lists.--online --fix=unsafepins container images to a digest. (#211, #239, @jdx) -
unpinned-usesaccepts the tag of an immutable release under--online.--online --fixnames the most specific version tag in the comment it writes. (#251, #224, @jdx) -
ref-version-mismatchreads ratchet comments and can fix the version comment (unsafe). (#227, @jdx) -
workflow-secret-scopehas ajob-leveloption.secrets-outside-envnow reports secrets passed to reusable workflows. (#223, @jdx) -
More pedantic options:
unlocked-installreports npm/yarn/bun/aube installs that run lifecycle scripts or have no release-age cooldown.untrusted-artifactknows more download actions and reports downloads of every artifact.use-trusted-publishingreports jobs that build, have no environment, or drop attestations.unredacted-secretsreports values cut from a secret and printed by a script.concurrency-limitsreports schedule-only and manual-only workflows.
-
aube is recognized wherever npm, pnpm, yarn and bun are. (#254, @jdx)
-
Runner labels:
- Labels of Blacksmith, Depot, Namespace, RunsOn, Ubicloud and WarpBuild are accepted. Limit them with
self-hosted-runner.providers. - Labels built from a matrix value and text are checked.
- `self-hosted-...
- Labels of Blacksmith, Depot, Namespace, RunsOn, Ubicloud and WarpBuild are accepted. Limit them with
v2.1.0: JACTIONLINT_ONLINE, workflow-secret-scope, and more precise security rules
jactionlint 2.1.0 adds an environment variable that turns on the online checks, a new workflow-secret-scope rule, and machine-readable reasons when a finding has no fix. Many security rules now produce fewer false positives, especially in reusable workflows and release pipelines. Some rules now report things they did not report before, so an existing clean run can show new findings (see Changed).
Added
JACTIONLINT_ONLINEenvironment variable. It turns on the online checks without changing the command, so CI can run them while local pre-commit hooks stay offline.1,trueoronworks like--online, andcache,strictorcache,strictselect a mode.0,false,offornoworks like--no-onlineand overridesonline: truein the config file. The--online/--no-onlineflags override the variable, and the variable overrides the config file. An invalid value exits with status 2. (#155, @jdx)- run: hk check --all env: JACTIONLINT_ONLINE: 1 GITHUB_TOKEN: ${{ github.token }}
- New
workflow-secret-scoperule (security, pedantic profile, warning, no autofix). It reports a named secret in workflow-levelenv:when steps in two or more jobs can see it. The rule skips single-job workflows,GITHUB_TOKEN, jobs or steps that override the variable, and jobs that call reusable workflows. (#136, @jdx) background-step-not-waited(correctness profile, fromparallel-steps). It reports reads of a background step'soutputs,outcomeorconclusionbefore awaitorwait-allcovers that step. Those reads evaluate to an empty string. Steps withbackground: ${{ ... }}are not tracked. (#132, @jdx)- Reasons for missing fixes. When a fixable rule has no fix for a finding, the finding now says why. This applies to
missing-timeout,dependabot-cooldown,unpinned-uses,template-injectionandartipacked. The reason appears asno_fixin JSON and template output, and asnoFixCode,noFixReasonandnoFixOptionproperties in SARIF. The codes areoption-required,option-invalid,online-required,lookup-failed,unsupported-shapeandneeds-judgment. Text output is unchanged. Whendefault-minutesordefault-daysis not set, themissing-timeoutanddependabot-cooldownmessages now say which option to set to enable--fix. (#135, #147, #154, @jdx) - Online check coverage in SARIF. When online checks are on, SARIF runs include
properties.onlineCoveragewithstatus(complete/incomplete),mode,skippedLookups,excludedRepositoriesandevidence(networkorcache). (#140, @jdx)
Changed
-
excessive-permissionsnow reports workflow-level write scopes in single-job workflows too, unless the trigger is privileged. Any job added later would inherit those scopes without notice. (#152, @jdx) -
missing-permissionsno longer reports workflows whose only trigger isworkflow_call, because the callers decide the token permissions. Workflows that haveworkflow_callplus another trigger are still reported. They now get an unsafe fix (contents: read, applied only with--fix=unsafe), and the message says the permissions must not exceed what callers grant. (#138, #152, @jdx) -
Parallel-step control keys now match what GitHub accepts. On
wait,wait-allandcancelsteps, onlyidandnameare allowed besides the keyword. Onparallelsteps, onlyparallelis allowed.wait-all: falseis now an error. To apply a condition, putif:on a step inside the parallel group instead of on the group. (#128, @navidemad) -
concurrency-limits:- Workflows that call reusable workflows now get a caller-specific concurrency group, so the caller's group no longer collides with the called workflow's group.
- Release detection now recognizes many more publish commands (for example
semantic-release,changeset publish,mvn deploy,cargo release --execute), tag pushes and release actions. Release jobs getcancel-in-progress: falseadvice and no fix. --fixnow inserts a blank line before theconcurrency:orpermissions:block it adds.
-
bot-conditionsnow uses the events of a reusable workflow's local callers. Workflows that only push-like events start are no longer reported. Mixed or non-PR events get advice that fits those events, and only PR-only workflows keep the unsafe fix. (#141, @jdx) -
pipeline-without-pipefail: copying a stage's exit code into a variable (rc=${PIPESTATUS[0]}) now counts as handling the pipeline only if a later[/[[/test,(( )),exitorreturnchecks that variable. (#145, @jdx) -
untrusted-checkout: after a step fetches a pull request revision, a later step that runs a repository script (such as./scripts/x.shorbash scripts/x.sh) is now reported if that script runs a work-tree git command onFETCH_HEADor the fetch destination. The rule only follows static, in-repo script paths. (#149, @jdx) -
cache-poisoning: a push whosebranches:filter lists only release branches (such asrelease/**) now counts as a release trigger. The built-in list of publishing actions also gained more entries, including crates.io auth, Homebrew bump actions, Azure/GCP/AWS deploys, Vercel, Netlify, Google Play and TestFlight. (#150, @jdx) -
On a first run of the default profile with 20 or more findings, the note on stderr now starts by suggesting
--baseline-write. (#152, @jdx)
Fixed
-
runs.envis no longer rejected in composite actions. JavaScript actions still reject it. (#123, @jdx) -
The
issuesevent now accepts thefield_addedandfield_removedactivity types. (#130, @jdx) -
background: trueon a step inside aparallelgroup is no longer reported. It is redundant, but GitHub accepts it. (#131, @jdx) -
pipeline-without-pipefailno longer reports pipelines inside process substitutions (< <(...),> >(...)). (#143, @jdx) -
cache-poisoningnow evaluates expressions that callers pass to a composite action's cache-switch input (for examplecache: ${{ !startsWith(github.ref, 'refs/tags/') }}) for each release scenario. Before, only literal values were evaluated. (#139, @jdx) -
use-trusted-publishing: a scoped registry (@scope:registry) now hides a publish only when the package, read frompackage.json, belongs to that scope. (#151, @jdx) -
github-env: a guard inside anif/elsebranch now protects only the writes later in that same branch. (#151, @jdx) -
template-injection:--fix=unsafeno longer quotes unquoted expressions where the shell may split words, such as command arguments, redirections, word lists and arrays. These findings now have no fix and aneeds-judgmentreason. Assignment values (NAME=${{ x }}) are still fixed. (#154, @jdx) -
artipacked:--fixnow also fixes flow-style checkout steps (- {uses: ...}) and multi-line flowwith:mappings. (#154, @jdx) -
--migrate-ignores:- With no file arguments, it now also migrates the root
action.yml/action.yaml. - Each comment it skips is listed as
file:line: not migrated: <reason>. - A version after a zizmor comment on a
uses:line (# zizmor: ignore[artipacked] v6) now stays on that line as# v6.
- With no file arguments, it now also migrates the root
-
Linting allocates about 9 to 10% less memory, because each
${{ }}expression is now parsed only once and the expression lexer no longer allocates a scanner. (#153, @jdx)
New Contributors
- @navidemad made their first contribution in #128
Full Changelog: v2.0.2...v2.1.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.
v2.0.2: Signed macOS binaries for the 2.0 release
v2.0.2 has the same code as v2.0.0 and v2.0.1. It is the first 2.0 release whose binaries build finished: the v2.0.1 build got past the man page step, then failed while signing the macOS binaries.
Fixed
- The release workflow now signs the macOS binaries by certificate hash instead of by certificate name. The signing keychain holds two valid Developer ID certificates with the same name (one is a renewal), so signing by name failed as "ambiguous". The signed binaries pass
codesign --verify, and Apple notarization accepted a test binary signed this way. (#111, @jdx)
Full Changelog: v2.0.1...v2.0.2
💚 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.
v2.0.0
No binaries are attached to this release. Its build failed on a Ruby gem, and a tag cannot be moved once the Go checksum database has seen it. The first release with binaries is v2.0.1, which has the same code. These are the release notes of 2.0.0.
2.0.0 (2026-10-09)
⚠ BREAKING CHANGES
- use POSIX/GNU command line options only (#85)
- add the correctness, default and pedantic profiles and consolidate rule IDs (#79)
- add stable rule IDs, severities, profiles and native output formats (v2) (#47)
Features
- add a GitHub Action that downloads and runs jactionlint (v2) (#108) (b27de1f)
- add a shared uses parser and keep yaml comments (#50) (da20b77)
- add an internal analyzer for run scripts (#53) (be4bf70)
- add baseline adoption with -baseline-write and -format summary (#75) (66bfa78)
- add durable config ignores with expiry (#74) (4e72865)
- add fixers for missing-timeout, missing-permissions and unused-ignore (#59) (17e1e45)
- add stable rule IDs, severities, profiles and native output formats (v2) (#47) (0c06391)
- add the concurrency, gate-job, untrusted-checkout and dead-code rules (#64) (6664fa4)
- add the correctness, default and pedantic profiles and consolidate rule IDs (#79) (e42a7b9)
- add the dependabot-cooldown and dependabot-execution rules (#63) (729babe)
- add the excessive-permissions, unpinned-images, artipacked, cache-poisoning and other permission and pinning rules (#57) (00c2c1f)
- add the github-env, adhoc-packages, unpinned-tools, use-trusted-publishing, superfluous-actions and unlocked-install rules (#62) (21c4e0c)
- add the impostor-commit, known-vulnerable-actions, ref-confusion, stale-action-refs, archived-uses and ref-version-mismatch online rules (#60) (714ba46)
- add the insecure-commands, unsound-contains, secrets-inherit, dangerous-triggers and other secrets and workflow-structure rules (#56) (be87194)
- add the invisible-characters and unsound-prefix-match rules (#71) (4d6cb5e)
- add the pipeline-without-pipefail rule (#65) (c373d0e)
- add the template-injection tiers, bot-conditions, obfuscation and misfeature rules (#58) (70e11b9)
- add the unverified-download, insecure-ssh-keyscan, checkout-static-credentials and insecure-url-scheme rules (#70) (eae08cc)
- converge -fix, add -fix -rules and -diff, verify every pass (#76) (8944339)
- extend template-injection to container and AI-agent sinks and add agentic-actions (#69) (6938d15)
- honor zizmor ignore comments and add -migrate-ignores (#66) (23a3140)
- lint composite action.yml files with caller-aware context (#72) (a0f2843)
- lint dependabot.yml and add a visitor for dependabot rules (#51) (2f687b6)
- make -online resilient to failed lookups and add token discovery (#73) (507b083)
- use POSIX/GNU command line options only (#85) (baac11d)
Bug Fixes
- apply zizmor ignores like zizmor, show rule IDs, lint every action, skip policy rules in generated files (#91) (d644def)
- close the gaps in untrusted-artifact, agentic-actions and five more rules (#95) (fdf32d3)
- cut false positives in the concurrency, gate, permissions and cooldown rules (#86) (ac69a21)
- keep the baseline from hiding new missing inputs and validate the fix options (#98) (896cf35)
- lint only direct workflow files, guide first runs, and dogfood the default profile (#84) (468ead1)
- make large workflows fast, report exact positions in multi-line scalars and harden against pathological input (#83) (be058ab)
- release: expand the signing identity in the codesign hook (#77) (885293f)
- remove false positives and close coverage gaps found by the bug bash (#82) (7ed5ce1)
- remove the false positives and false negatives of 14 rules found in round 2 (#89) (62c0fc0)
- report positions inside YAML scalars exactly (#88) (7f6d89c)
- share the online cache between tokens, honor online false and match config ignores (#97) (2c49f4b)
- stop --fix from breaking reusable workflows and word lists, and make --diff minimal (#87) (6748c2f)
- use the exact env name in the template-injection fix and tighten the cache-poisoning gates (#96) (7684ba2)
This PR was generated with Release Please. See documentation.
v1.8.2: Maintenance release
This release has no user-facing changes; it only fixes the release workflow.
Full Changelog: v1.8.1...v1.8.2
💚 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.
v1.8.0: Renamed to jactionlint, with opt-in policy rules, parallel steps and inline ignore comments
This is the first release of jactionlint, jdx's fork of rhysd/actionlint. The project, binary and Go module are renamed. The release adds a set of opt-in policy checks, inline ignore comments, a user-wide config file, and support for new GitHub Actions syntax such as parallel steps, cache-mode and $/ self-repository references. It also imports fixes from open upstream pull requests.
Highlights
- New name and distribution: the binary is now
jactionlint. It is published fromjdx/jactionlint, and the Docker image is atghcr.io/jdx/jactionlint. Existingactionlint.yamlconfig files and# actionlint ignore=comments still work. See Breaking Changes. - Opt-in policy rules: you can enforce commit-hash pinning, explicit
permissions:, job timeouts, explicit shells, script length limits, required actions, and more. Every one of these rules is off until you enable it in the config file. - Newer workflow syntax: parallel steps,
cache-mode,$/pathreferences,concurrency.queue, service containerentrypoint/command, and new runner labels and permission scopes.
Added
Opt-in checks
All of these are off by default. Turn them on in .github/jactionlint.yaml:
require-commit-hash: true # actions, reusable workflows and docker:// must be pinned to a full SHA / @sha256 digest
require-permissions: true # every job needs workflow- or job-level permissions: ({} counts)
require-shell: true # every run: step needs shell: or defaults.run.shell
max-run-lines: 50 # limit non-blank lines in run: scripts (0 disables)
timeout-minutes:
required: true # every job must set timeout-minutes
max: 60 # upper limit (works without required)
required-actions:
- action: actions/checkout
version: v4 # optional; exact string match
self-hosted-runner:
labels: [my-runner-*]
strict-labels: true # only listed labels are accepted, including built-in ones
check-workflow-run-names: true # on.workflow_run.workflows must match a workflow in .github/workflows
require-checkout-before-local-action: true # flag uses: ./path before any checkout step in the job
require-expression-wrapping: true # if: conditions must be wrapped in ${{ }}
check-falsy-ternary: true # flag cond && '' || other (and 0/false/null), which always yields otherrequire-commit-hashchecks for a full 40-character SHA, orimage@sha256:<64 hex>for Docker images. Local./and$/references and dynamicuses:are skipped (#19).required-actionsmatches action names case-insensitively. A requirement passes if any use in the workflow matches. Reusable workflow calls count. Compositeaction.ymlfiles are not checked (#17).require-checkout-before-local-actionuses a loose definition of a checkout step: any action whose name containscheckout, or agit clone/fetch/checkout-stylerun:line (#29).- Related PRs: #32, #26, #24, #21, #30, #25. All by @jdx.
Configuration and suppression
- Inline ignore comments. Put
# jactionlint ignore=<regex>[,<regex>...]on its own line to suppress matching errors in the next line and everything nested under it, for example a whole step. You can stack several of these comments. An invalid regex is reported as an error. Trailing comments on the same line are not supported (#23 by @jdx). - User-wide config file. jactionlint now reads
$XDG_CONFIG_HOME/jactionlint/jactionlint.yaml(or~/.config/...), then the legacyactionlint/directory, when the repository has no config file. Precedence is-config-file, then the repository config, then the user-wide config. Configs are not merged (#15 by @jdx). config-secretsoption. This allow-lists the names you can use assecrets.NAME, likeconfig-variablesdoes for variables.secrets.GITHUB_TOKENis always allowed (#16 by @jdx).
Reusable workflow permission checks
- When a local reusable workflow's jobs need token scopes the calling job doesn't grant, jactionlint now reports an error. GitHub rejects these calls with
startup_failure. If the caller declares nopermissions:, jactionlint assumes GitHub's restricted default token. If your org's default token is permissive, setassume-default-permissions: permissive(#13 by @jdx).
New workflow syntax
- Parallel steps:
background,wait,wait-all,cancelandparallel. A newparallel-stepsrule checks thatwaitandcancelrefer to earlier background steps, and thatparallelgroups contain onlyrun/usessteps. Expressions in these keys are type-checked, andwait-allaccepts a boolean (#12, #31 by @jdx). cache-modeat workflow and job level (read,write,write-only,none), the$/pathself-repository syntax inuses:, and thegithub.job_workflow_shaproperty (#11 by @jdx).concurrency.queue,entrypointandcommandon service containers,merge_groupactivity typedestroyed,jobs.<job_id>.resultinon.workflow_call.outputs, and thejob.workflow_repository,job.workflow_ref,job.workflow_shaandjob.workflow_file_pathproperties.- Permission scopes:
code-quality,copilot-requestsandvulnerability-alerts. - Runner labels:
ubuntu-26.04,ubuntu-26.04-arm,xcode-27,xcode-27-xlargeandwindows-11-vs2026-arm.
Security
- The script injection check now flags more attacker-controlled fields when they are used directly in
run:. These include committer name and email onhead_commitandcommits.*,pull_request.head.repo.description, and severalworkflow_runfields:display_title,head_branch,head_commit.message/author/committer,head_repository.owner.login,head_repository.descriptionandpull_requests.*.head.ref. Existing workflows may get new errors (#11, #22 by @jdx).
Fixed
- Shellcheck errors in
run: |literal blocks now point at the line inside the script instead of therun:key. The column still points atrun:(#18 by @jdx). - Expression errors inside literal blocks (
run: |,script: |) now report the correct line and column, including for expressions that span several lines (#28 by @jdx). - Matrix
exclude:values are now checked only againstmatrix:rows. GitHub appliesinclude:afterexclude:, so excluding a value that onlyinclude:adds has no effect. jactionlint now reports it, along with anexclude:that has no matrix rows (#20 by @jdx). container.volumeswas parsed as ports. Reusable workflow call jobs now rejectservices, configignore:entries must be strings, and project and local reusable workflow paths are matched by directory instead of by string prefix (#11 by @jdx).secrets.*is no longer reported as undefined in workflows thatworkflow_calland other events can both trigger.- Number literals with a
+sign in the exponent, and integers too large for 32 bits, are now accepted. A matrix scalar tagged!!stris treated as a string. - Fixed a deadlock in the shellcheck integration on macOS.
Breaking Changes
The project was renamed from actionlint to jactionlint (#34, #36 by @jdx).
- Binary:
actionlintis nowjactionlint. Install it withgo install github.com/jdx/jactionlint/cmd/jactionlint@latest. Release archives are namedjactionlint_<version>_<os>_<arch>, and the Homebrew cask isjactionlint. - Docker: the image moved from
rhysd/actionlinton Docker Hub toghcr.io/jdx/jactionlint. - pre-commit: hook ids are now
jactionlint,jactionlint-dockerandjactionlint-system. - Go library: the module path is
github.com/jdx/jactionlintand the package name isjactionlint.NewExprSemanticsCheckertakes an extraconfigSecretsparameter. - Config files: existing
.github/actionlint.yaml/.ymlfiles and# actionlint ignore=comments keep working. jactionlint looks for.github/jactionlint.yaml/.ymlfirst.-init-confignow writes.github/jactionlint.yaml. - Docker build: the
ACTIONLINT_VERbuild argument is nowJACTIONLINT_VER.
Full Changelog: 0ba78a0...v1.8.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.