Repository navigation
fix(ci): upload hidden changelog mirror and quote renovate metadata.env - #875
Merged
Merged
Conversation
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
Fixes the two residual defects in the Renovate changelog automation surfaced when the workflow was re-enabled after #863/#864, verified live on PRs #861/#862 (mirror missing from bot commit →
sync-manifestred) and #865/#866 (commit stage crash on parenthesized branch names).Closes #874
Type of Change
fix-- Bug fixChanges Made
Upload changelog artifactstep now setsinclude-hidden-files: true—upload-artifact(≥ v4.4) silently excludes hidden directories, droppingassets/workspace/.devcontainer/CHANGELOG.mdfrom the artifact so the commit workflow could never commit the mirror.metadata.envvalues are written withprintf '%s=%q'instead of unquotedecho, so grouped Renovate branch names (renovate/python-(minor-and-patch)) survive beingsourced byrenovate-changelog-commit.yml.sync-manifest; changelog entry added (root + mirror).Changelog Entry
Fixed
metadata.envbreaks on parenthesized branches (#874)upload-artifactsilently excluded the mirror under the hidden.devcontainerdirectory, so the bot commit updated only the rootCHANGELOG.mdand tripped thesync-manifestgate; now uploaded withinclude-hidden-files: true.metadata.envvalues are%q-quoted so grouped Renovate branch names (e.g.renovate/python-(minor-and-patch)) survive beingsourced by the commit workflow.Testing
renovate-changelogartifact from run 28799680160 (PR chore(deps): update github/codeql-action digest to 99df26d #862) — it contains onlyCHANGELOG.md+metadata.env, no mirror; commit-stage failures for build(pip): update dependency numpy to v2.5.1 #865/ci(actions): update github-actions (minor and patch) #866 (runs 28799792964 / 28799804936) showmetadata.env: line 3: syntax error near unexpected token '('.just precommit, exit 0, all files).sync-manifest.