Skip to content
This repository was archived by the owner on Sep 26, 2026. It is now read-only.

ci: lint the shell scripts with shellcheck - #58

Merged
lens0021 merged 16 commits into
mainfrom
ci/shellcheck
Sep 25, 2026
Merged

lens0021 merged 16 commits into
mainfrom
ci/shellcheck

Conversation

@lens0021

@lens0021 lens0021 commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Adds a shellcheck job for do-backup and docker-cmd. SC2329 is disabled in .shellcheckrc because do-backup calls its functions through trap. The scripts are unchanged.

Stacked on #57.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG

lens0021 and others added 11 commits September 24, 2026 22:36
Ignore DL4006, DL3040 and DL3041 in .hadolint.yaml rather than change
the Dockerfile, so the backup image stays as it is.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
Disable SC2329 in .shellcheckrc: do-backup reaches its functions through
trap, which shellcheck does not follow. The scripts are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
Disable MD013 as femiwiki.github.io does, and drop an unused link
reference from the README.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
The config follows femiwiki.github.io. build.yaml is left as it is and
exempt from the comments, document-start and line-length rules, so this
change does not touch the image build workflow.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
@lens0021
lens0021 changed the base branch from main to ci/actionlint September 24, 2026 13:56
lens0021 and others added 3 commits September 25, 2026 00:37
Pin yamllint in pyproject.toml's lint group with a uv.lock, run it
with uv run --frozen, let Dependabot bump it, keep .venv out of the
lint and pyproject.toml and uv.lock out of the Docker build context.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
@lens0021
lens0021 added this pull request to stack #63 September 25, 2026 00:15
@lens0021
lens0021 removed this pull request from stack #63 September 25, 2026 00:24
Base automatically changed from ci/actionlint to main September 25, 2026 01:00
lens0021 and others added 2 commits September 25, 2026 10:00
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
A new script is checked without being added to the workflow.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDPX24UCdDBTzfMAMLWkGG
@lens0021
lens0021 merged commit b21781d into main Sep 25, 2026
10 checks passed
@lens0021
lens0021 deleted the ci/shellcheck branch September 25, 2026 01:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant