Conversation
There was a problem hiding this comment.
Pull request overview
Updates the dev-build publishing workflow to make PR description updates more reliable by using explicit start/end markers around the “Development Package” instructions.
Changes:
- Add
<!-- DEV_PACKAGE_START -->/<!-- DEV_PACKAGE_END -->markers around the generated PR description snippet. - Switch PR-body update logic from header-based replacement to marker-based replacement.
- Expand the generated dependency instructions to include an
uvoverride-dependencies example.
Comments suppressed due to low confidence (1)
.github/workflows/publish-dev.yml:123
- The new marker-based replacement only updates the PR body when the new DEV_PACKAGE_START/END markers are already present. For PRs that already have a previously-generated "## Development Package" section (from the old regex) but no markers, this will append a second section on every run. Consider adding a fallback that detects/replaces the legacy section (e.g., the previous '## Development Package...(?=##|$)' regex) when markers are absent, or migrate the existing block by wrapping it with the markers before future updates.
# Check if markers already exist in the PR description
$markerPattern = "(?s)$([regex]::Escape($startMarker)).*?$([regex]::Escape($endMarker))"
if ($currentBody -match $markerPattern) {
# Replace everything between markers (including markers)
$newBody = $currentBody -replace $markerPattern, $dependencyMessage
} else {
# Append the dependency message to the end of the description
$newBody = if ($currentBody) { "$currentBody`n`n$dependencyMessage" } else { $dependencyMessage }
}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
radu-mocanu
approved these changes
Feb 20, 2026
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.
Description
update dev build pipeline
Development Package
uipath pack --nolockto get the latest dev build from this PR (requires version range).