Github actions version upgrades
Skill fabioc-aloha/Alex_Skill_Mall/plugins/devops-process/github-actions-version-upgrades
284 curated plugins for AI assistants across 16 categories: security, Azure, documentation, code quality, cloud infrastructure, and more. Works with GitHub Copilot. Drop into .github/skills/local/ and go.
npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill github-actions-version-upgradesAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Older action versions trigger deprecation warnings and will eventually break:
SKILL.md
2.1 KB, as published. Nobody here has run it
GitHub Actions Version Upgrades
The Problem
Older action versions trigger deprecation warnings and will eventually break:
# 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:
# 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
# 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
strategy:
matrix:
node-version: ['24']
# ACT baseline
node-version: '24'
Verification
# 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