chore(deps): bump DavidAnson/markdownlint-cli2-action from 19 to 23#34
Conversation
📝 WalkthroughWalkthroughThis PR updates the markdownlint GitHub Actions workflow step from version v19 to v23. The change is isolated to the workflow configuration and does not affect code logic or behavior. ChangesCI Workflow Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 19 to 23. - [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases) - [Commits](DavidAnson/markdownlint-cli2-action@v19...v23) --- updated-dependencies: - dependency-name: DavidAnson/markdownlint-cli2-action dependency-version: '23' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
77e0211 to
31335e2
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/lint-markdown.yml:
- Line 13: Replace mutable action tags with immutable 40-character commit SHAs
for both referenced actions: change the uses entries for "actions/checkout@v6"
and "DavidAnson/markdownlint-cli2-action@v23" to their corresponding full commit
SHAs; locate the two uses lines in the workflow and update each to the exact
40-char commit from the respective upstream repositories (obtainable from the
repo's commits or the GitHub Actions marketplace) so the workflow pins to
immutable versions.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 2369bb4b-fe87-42be-ae4a-87da816a096a
📒 Files selected for processing (1)
.github/workflows/lint-markdown.yml
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - uses: DavidAnson/markdownlint-cli2-action@v19 | ||
| - uses: DavidAnson/markdownlint-cli2-action@v23 |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Read-only verification: list all GitHub Actions `uses:` entries that are not pinned to a 40-char commit SHA.
# Expected: no output after remediation.
rg -nP '^\s*-\s*uses:\s*[^@\s]+@(?!(?:[a-f0-9]{40})\b)[^\s]+' .github/workflowsRepository: finallyjay/selfhosted-docker-services
Length of output: 247
Pin GitHub Actions uses to full commit SHAs (avoid mutable tags).
.github/workflows/lint-markdown.ymllines 12-13 use mutable tags:actions/checkout@v6andDavidAnson/markdownlint-cli2-action@v23; pin both to immutable 40-char commit SHAs.
Suggested change
- - uses: actions/checkout@v6
+ - uses: actions/checkout@<full_commit_sha_for_v6>
- - uses: DavidAnson/markdownlint-cli2-action@v23
+ - uses: DavidAnson/markdownlint-cli2-action@<full_commit_sha_for_v23>🧰 Tools
🪛 zizmor (1.25.2)
[error] 13-13: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/workflows/lint-markdown.yml at line 13, Replace mutable action tags
with immutable 40-character commit SHAs for both referenced actions: change the
uses entries for "actions/checkout@v6" and
"DavidAnson/markdownlint-cli2-action@v23" to their corresponding full commit
SHAs; locate the two uses lines in the workflow and update each to the exact
40-char commit from the respective upstream repositories (obtainable from the
repo's commits or the GitHub Actions marketplace) so the workflow pins to
immutable versions.
Source: Linters/SAST tools
Bumps DavidAnson/markdownlint-cli2-action from 19 to 23.
Release notes
Sourced from DavidAnson/markdownlint-cli2-action's releases.
... (truncated)
Commits
ded1f94Update to version 23.2.0.dc5dad9Add 10-day cooldown period to Dependabot updates.64b1c6aAdd package-lock.json for reproducible builds (fixes #362).6c62e06Bump eslint-plugin-n from 17.24.0 to 18.0.09b5720cBump eslint from 10.2.1 to 10.3.06b51adeUpdate to version 23.1.0.ea6e0daFreshen generated index.js file.3c4c2c8Bump markdownlint-cli2 from 0.22.0 to 0.22.13a933d4Bump@actions/corefrom 3.0.0 to 3.0.1648042eFreshen generated index.js file.Summary by CodeRabbit