update-github-actions-version
Installation
SKILL.md
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.0updates 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.