Skip to content
Back to skills

Github Actions Version Upgrades

ASecurity

Older action versions trigger deprecation warnings and will eventually break:

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsbashnodegit

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill github-actions-version-upgrades --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Actions Version Upgrades?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github Actions Version Upgrades
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fabioc-aloha-github-actions-version-upgrades/badge)](https://www.skillsdirectory.com/skills/fabioc-aloha-github-actions-version-upgrades)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: github-actions-version-upgrades
description: "Older action versions trigger deprecation warnings and will eventually break:"
lastReviewed: 2026-04-30
---

# GitHub Actions Version Upgrades

## The Problem

Older action versions trigger deprecation warnings and will eventually break:

```yaml
# Deprecated - old action majors and pre-24 Node runners
- uses: actions/checkout@vOLD
- uses: actions/setup-node@vOLD
  with:
    node-version: '<24'
```

## The Solution

Proactively use current versions:

```yaml
# Current ACT baseline
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
  with:
    node-version: '24'
```

## Version Reference

| Action | Current | Node.js Runtime |
|--------|---------|-----------------|
| actions/checkout | v6 | Node 24 |
| actions/setup-node | v6 | Node 24 |
| actions/upload-artifact | latest Node 24-compatible major | Node 24 |
| actions/download-artifact | latest Node 24-compatible major | Node 24 |
| actions/cache | latest Node 24-compatible major | Node 24 |
| actions/github-script | latest Node 24-compatible major | Node 24 |

## Migration Script

```bash
# Update core actions to the Node 24-compatible majors
sed -i 's/actions\/checkout@v[0-5]/actions\/checkout@v6/g' .github/workflows/*.yml
sed -i 's/actions\/setup-node@v[0-5]/actions\/setup-node@v6/g' .github/workflows/*.yml
sed -i 's/actions\/upload-artifact@v[0-3]/actions\/upload-artifact@v4/g' .github/workflows/*.yml
sed -i 's/actions\/download-artifact@v[0-3]/actions\/download-artifact@v4/g' .github/workflows/*.yml
```

## Node.js Version Matrix

```yaml
strategy:
  matrix:
    node-version: ['24']

# ACT baseline
node-version: '24'
```

## Verification

```bash
# Check for old versions
grep -rn 'actions/.*@v[0-3]' .github/workflows/

# Should return nothing after upgrade
```

## When to Apply

- New repository setup
- Quarterly maintenance
- When seeing deprecation warnings
- Before Node.js version EOL dates

## Tags

`github-actions` `ci-cd` `maintenance` `node`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…