Skip to content

Update dependency shellcheck to v0.12.0 - #1422

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/shellcheck-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/shellcheck-0.x

Conversation

@renovate

@renovate renovate Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update New value References Sourcegraph
shellcheck tools minor 0.12.0 source code search for "shellcheck"

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


Release Notes

koalaman/shellcheck (shellcheck)

v0.12.0

Compare Source

Added
  • Add --files-from option to read input files from a file
  • Add --extended-analysis=local directive/flag to run dataflow analysis
    on the current script only, without considering any sourced includes.
  • --list-optional now lists the SC error code for optional checks
  • Support EditorConfig shellcheck.* keys
  • SC2336: Suggest cp -R over implementation specific cp -r
  • SC2337: Warn about grep -q in pipelines under pipefail
  • SC2338: Optionally suggest [[ x == y ]] over [[ x = y ]]
    (bash require-double-equals)
  • SC2339/SC2340/SC2341/SC3426: Improved exit/return validation across shells
Changed
  • SC2024/SC2232: sudo redirection/builtin now also apply to doas and run0
  • SC2114/SC2115: Unintentional rm warning now also triggers on globs like
    rm /bin/*$empty* and non-canonical paths like rm -rf /home/foo/$empty/..
  • SC2236/SC2237: warning for negated -n/-z in [ ] now also triggers for test
  • SC2312: cmd || echo .. is now considered handling failure
  • SC3040: Support pipefail as specified in POSIX.1-2024
Fixed
  • |& now parses correctly as coprocess separator it Ksh
  • Malformed shebangs retain warnings, but are no longer counted as shebangs
  • json1 output no longer contains duplicates instances of warnings
  • SC1072 about an invalid disable= value now names the value instead
    of a missing =
  • SC2031: No longer warns that assignments to _ may be lost in a subshell
  • SC2034: Unused variables no longer warn when allexport is enabled
  • SC2035: Unprotected globs no longer warn when noglob is enabled
  • SC2064: readonly variables no longer warn about expanding in trap
  • SC2147: Check for tilde in $PATH now also triggers for declare/local/export
  • SC2164: Status of cd is considered handled when returned from a function
  • SC2178: Overwriting built-in bash arrays no longer warns in non-bash shells
  • SC2185: find -files0-from no longer triggers check about missing path
  • SC2218: Won't trigger on bats tests invoking functions defined later
  • SC2317: No longer reports commands as unreachable when a case catch-all
    is followed by ;;& and a non-default final clause
  • SC3001: busybox sh now considered to support <(process substitution)
Removed
  • SC3003: removed since ANSI C string is specified in POSIX.1-2024

Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the bot label Dec 3, 2026
@renovate
renovate Bot enabled auto-merge (squash) December 3, 2026 08:05
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/shellcheck-0.x branch from 48368ff to a978c20 Compare December 3, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants