Skip to content

Pin GitHub Actions to SHA and add weekly version checker#29

Merged
nerdalytics merged 2 commits into
trunkfrom
security/pin-actions-and-add-version-checker
Jan 27, 2026
Merged

Pin GitHub Actions to SHA and add weekly version checker#29
nerdalytics merged 2 commits into
trunkfrom
security/pin-actions-and-add-version-checker

Conversation

@nerdalytics
Copy link
Copy Markdown
Owner

Summary

  • Pin all GitHub Actions to commit SHAs to prevent supply chain attacks (addresses CodeQL alert epoch(core): complete rewrite of the library #6)
  • Add weekly workflow to automatically detect outdated actions and create security issues
  • Update Socket.dev badge version

Changes

Action Updates

Action Previous Updated
actions/checkout v5.0.0 v6.0.1 (SHA-pinned)
actions/setup-node v6.0.0 v6.2.0 (SHA-pinned)
actions/cache v4.3.0 v5.0.2 (SHA-pinned)
biomejs/setup-biome v2.6.0 v2.7.0 (SHA-pinned)
actions/upload-artifact v4.6.2 v6.0.0 (SHA-pinned)
actions/download-artifact v5.0.0 v7.0.0 (SHA-pinned)

New Workflow: check-action-versions.yml

  • Runs weekly (Monday 9:00 UTC) or manually via workflow_dispatch
  • Scans all workflow files for GitHub Actions
  • Compares current versions against latest releases
  • Creates/updates a security issue with SHA-pinned upgrade recommendations
  • Auto-closes the issue when all actions are current

Test plan

  • Verify workflows pass CI
  • Manually trigger the new Check Action Versions workflow
  • Confirm issue creation/update behavior works as expected

- Update all GitHub Actions to latest versions with SHA pinning
- Add weekly workflow to detect outdated actions and create issues
- Addresses CodeQL security alert for unpinned third-party actions
@nerdalytics nerdalytics merged commit f2609d9 into trunk Jan 27, 2026
12 checks passed
@nerdalytics nerdalytics deleted the security/pin-actions-and-add-version-checker branch January 27, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant