Skip to content

[StepSecurity] ci: Harden GitHub Actions#9825

Merged
iav merged 1 commit into
armbian:mainfrom
step-security-bot:chore/GHA-141345-stepsecurity-remediation
May 14, 2026
Merged

[StepSecurity] ci: Harden GitHub Actions#9825
iav merged 1 commit into
armbian:mainfrom
step-security-bot:chore/GHA-141345-stepsecurity-remediation

Conversation

@step-security-bot
Copy link
Copy Markdown
Contributor

@step-security-bot step-security-bot commented May 14, 2026

Summary

This pull request is created by StepSecurity at the request of @iav. Please merge the Pull Request to incorporate the requested changes. Please tag @iav on your message if you have any questions related to the PR.

Security Fixes

Pinned Dependencies

GitHub Action tags and Docker tags are mutable. This poses a security risk. GitHub's Security Hardening guide recommends pinning actions to full length commit.

Feedback

For bug reports, feature requests, and general feedback; please email support@stepsecurity.io. To create such PRs, please visit https://app.stepsecurity.io/securerepo.

Signed-off-by: StepSecurity Bot bot@stepsecurity.io

Summary by CodeRabbit

  • Chores
    • Improved CI/CD pipeline stability and consistency through workflow configuration updates.

Review Change Stack

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 14, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: bcc6277e-b63d-4282-af8d-5137397da983

📥 Commits

Reviewing files that changed from the base of the PR and between 80068e7 and 2c44100.

📒 Files selected for processing (1)
  • .github/workflows/maintenance-check-kernel-security.yml

📝 Walkthrough

Walkthrough

This PR updates a GitHub Actions workflow to pin the actions/checkout action to a specific commit hash instead of using the floating v6 version tag. The pinning is applied consistently across two checkout steps in the maintenance kernel security workflow.

Changes

Workflow Security Hardening

Layer / File(s) Summary
Pin actions/checkout to specific commit
.github/workflows/maintenance-check-kernel-security.yml
Both actions/checkout steps are pinned to commit de0fac2e4500dabe0009e67214ff5f5447ce83dd (v6.0.2): the initial repository checkout and the fetch of a13xp0p0v/kconfig-hardened-check.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A rabbit hops through workflows bright,
Version pinning done just right,
No floating tags to cause dismay,
Security locked in every way! 🐰✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title references hardening GitHub Actions, which directly relates to the core change of pinning action versions to commit SHAs for security.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added size/small PR with less then 50 lines 05 Milestone: Second quarter release Needs review Seeking for review GitHub Actions GitHub Actions code labels May 14, 2026
@github-actions github-actions Bot added the Ready to merge Reviewed, tested and ready for merge label May 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

✅ This PR has been reviewed and approved — all set for merge!

@github-actions github-actions Bot removed the Needs review Seeking for review label May 14, 2026
@iav iav merged commit 64da974 into armbian:main May 14, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

05 Milestone: Second quarter release GitHub Actions GitHub Actions code Ready to merge Reviewed, tested and ready for merge size/small PR with less then 50 lines

Development

Successfully merging this pull request may close these issues.

3 participants