
Update Github Actions Version
- 11 installs
- 21 repo stars
- Updated July 31, 2026
- jim60105/copilot-prompt
Update GitHub Actions in workflow files to their latest major versions only, skipping unnecessary minor/patch pins and known-broken actions.
About
Scans .github/workflows recursively and bumps actions only when their major version changes, querying each action's latest release. A developer uses it to keep workflow dependencies current without noisy minor-version pins.
- Major-version-only policy (e.g. v5 to v6), leaves v4 to auto-track patches
- Reads composite actions alongside calling workflows and skips broken updates
Update Github Actions Version by the numbers
- 11 all-time installs (skills.sh)
- Ranked #993 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
- Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/jim60105/copilot-prompt --skill update-github-actions-versionAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 11 |
|---|---|
| repo stars | ★ 21 |
| Last updated | July 31, 2026 |
| Repository | jim60105/copilot-prompt ↗ |
What it does
Update GitHub Actions in workflow files to their latest major versions only, skipping unnecessary minor/patch pins and known-broken actions.
Files
Update GitHub Actions Version
Update action versions in GitHub Actions workflow files, focusing on major version changes only.
Important Principles: Explanation of GitHub Actions Version Tagging System
- Using a major version number (e.g.,
v4) automatically fetches the latest minor and patch versions. - For example,
actions/checkout@v4will automatically get versions likev4.2.2,v4.3.0. - Do not update from
v4to a specific version likev4.2.2— this is unnecessary. - Only update when the major version changes (e.g., from
v5tov6).
Note: Skip fatjyc/update-submodule-action@v6.0 updates as the new version is broken.Steps
0. Find Workflow Files
Look for files in .github/workflows/ recursively. Note that composite actions may be used — read both the composite action and the calling workflow simultaneously.
1. Check Current Versions
Analyze the action versions used in the workflow files.
2. Query Latest Versions
Query each action's latest version:
https://github.com/{owner}/{repo}/releases/latest3. Identify Actions Needing Updates
Only update actions where the major version has changed:
- ✅ Update:
docker/build-push-action@v5→@v6 - ❌ Skip:
actions/checkout@v4→@v4.2.2
Note: Skip fatjyc/update-submodule-action@v6.0 updates as the new version is broken and v6.0 is fine.4. Obtain Changelogs
For actions requiring updates, retrieve changelogs to understand breaking changes.
5. Update Files
Update version numbers and make adjustments for any breaking changes.
6. Commit Changes
Git add and commit your changes with a clear message indicating the updates made.
Example Illustration
✅ Correct Update
# From
uses: docker/build-push-action@v5
# Update to
uses: docker/build-push-action@v6❌ Incorrect Update (Unnecessary)
# From
uses: actions/checkout@v4
# Incorrectly updated to
uses: actions/checkout@v4 .2 .2 ✅ Correct Practice (Keep Unchanged)
# Keep unchanged
uses :actions / checkout @ v 4
GitHub will automatically use the latest v 4.x.x release