Add support for Release Please monorepo tags for SHA-pinned GH Actions - #15747
Open
kelmansoury wants to merge 1 commit into
Open
Add support for Release Please monorepo tags for SHA-pinned GH Actions#15747kelmansoury wants to merge 1 commit into
kelmansoury wants to merge 1 commit into
Conversation
kelmansoury
force-pushed
the
support-release-please
branch
3 times, most recently
from
August 1, 2026 23:10
dd3d559 to
eeb18f4
Compare
- Relax tag matching in `common/lib/dependabot/git_commit_checker.rb` so SHA-based version resolution also accepts monorepo-style tags such as `component-name-v1.2.3` by extracting the trailing version segment. - Harden update rewriting in `github_actions/lib/dependabot/github_actions/file_updater.rb` so it only rewrites comments using valid version tags and avoids partial matches from shorter tag suffixes. - Add regression coverage in `github_actions/spec/dependabot/github_actions/update_checker_spec.rb` for SHA-pinned Release Please actions and the new fixture `github_actions/spec/fixtures/git/upload_packs/github-monorepo-release-please`.
kelmansoury
force-pushed
the
support-release-please
branch
from
August 1, 2026 23:11
eeb18f4 to
7e56aea
Compare
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.
What are you trying to accomplish?
This change adds support for Release Please monorepo tag formats in GitHub Actions dependency resolution.
The main problem is that SHA-pinned GitHub Actions in a monorepo can use tags like component-name-v1.2.3, which are not valid full Gem::Version strings. Dependabot was previously rejecting those tags or falling back to the branch HEAD SHA instead of the correct tagged release version. This change makes version detection and SHA-to-tag resolution work for those monorepo-style tags.
Anything you want to highlight for special attention from reviewers?
N/A
How will you know you've accomplished your goal?
update_checker_spec.rbusing the fixturegithub-monorepo-release-please.Checklist