| name | bump-actions |
| description | Bump GitHub Actions versions for lun. Use this skill when the user wants to update the install-lun action to use a newer lun version, or update the lun action to reference the latest install-lun. Triggers include requests to "bump actions", "update action versions", or "sync action versions". |
Bump Actions
Automate bumping the lun version in GitHub Actions and keeping install-lun references in sync.
Overview
This skill bumps versions in two actions:
- install-lun: Downloads and installs a specific lun version
- lun: Uses install-lun to install lun and then runs it
The process creates 2-3 commits:
- First commit: Bump
lun version in install-lun/action.yml
- Second commit: Bump
install-lun SHA reference (to HEAD) and lun version in lun/action.yml
- Third commit (if needed): Update workflow files that reference the
lun action to use the new SHA
Usage
Run the script:
python3 .claude/skills/bump-actions/scripts/bump_actions.py
By default, it fetches the latest release version. To specify a version:
python3 .claude/skills/bump-actions/scripts/bump_actions.py --version 0.8.0
To skip pushing and CI wait (for local testing):
python3 .claude/skills/bump-actions/scripts/bump_actions.py --no-push
What the Script Does
- Gets the latest lun release version (or uses
--version)
- Updates
install-lun/action.yml with the new default version
- Commits:
chore(actions): Bump \lun` version to vX.Y.Z`
- Gets the HEAD SHA (from the commit just made)
- Updates
lun/action.yml:
- Changes the
install-lun@SHA reference to HEAD
- Updates the default version to match
- Commits:
chore(actions): Bump \install-lun` version`
- Gets the new HEAD SHA (from the commit just made)
- Updates workflow files in
.github/workflows/ that reference langston-barrett/lun/.github/actions/lun@SHA to use the new SHA
- Commits (if workflows were updated):
chore(ci): Update workflows to use new lun action SHA
- Pushes and waits for CI to pass using
gh run watch