feat: add bump-actions-versions composite action#185
Draft
Copilot wants to merge 3 commits into
Draft
Conversation
Copilot
AI
changed the title
[WIP] Add action to bump actions versions
feat: add bump-actions-versions composite action
Jun 26, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #185 +/- ##
==========================================
+ Coverage 94.43% 94.55% +0.11%
==========================================
Files 11 12 +1
Lines 557 679 +122
==========================================
+ Hits 526 642 +116
- Misses 31 37 +6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a reusable composite action that audits
.github/workflows/for outdated action pins, bumps them to the latest release, and opens a PR — intended to run on a monthly schedule via the CCBR bot.New composite action:
bump-actions-versionsv4(major sliding) →v5if a new major is releasedv0.7(major.minor sliding) →v0.8v4.1.0(full semver) → exact latest taglatest,stable) and commit SHAs → unchanged# ccbr_actions:lock-versionare skippedactions/create-github-app-token(CCBR bot credentials) for commits and PR authorshipgit diff --cached --quietguard before committingLock example
Other files
src/ccbr_actions/bump_versions.py— Python module (parse_action_ref,classify_ref,determine_new_ref,bump_workflow_file,bump_workflows)examples/bump-actions-versions.yml— monthly cron example workflow.github/workflows/bump-actions-versions.yml— live workflow for this repotests/test_bump_versions.py— 46 unit tests, fully offline (mock sessions)