Skip to content

fix(ci): upload hidden changelog mirror and quote renovate metadata.env - #875

Merged
c-vigo merged 1 commit into
devfrom
bugfix/874-renovate-artifact-hidden-mirror
Jul 6, 2026
Merged

c-vigo merged 1 commit into
devfrom
bugfix/874-renovate-artifact-hidden-mirror

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

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-manifest red) and #865/#866 (commit stage crash on parenthesized branch names).

Closes #874

Type of Change

  • fix -- Bug fix

Changes Made

  • Upload changelog artifact step now sets include-hidden-files: true — upload-artifact (≥ v4.4) silently excludes hidden directories, dropping assets/workspace/.devcontainer/CHANGELOG.md from the artifact so the commit workflow could never commit the mirror.
  • metadata.env values are written with printf '%s=%q' instead of unquoted echo, so grouped Renovate branch names (renovate/python-(minor-and-patch)) survive being sourced by renovate-changelog-commit.yml.
  • Workspace copy of the workflow updated via sync-manifest; changelog entry added (root + mirror).

Changelog Entry

Fixed

  • Renovate changelog artifact drops the workspace mirror; metadata.env breaks on parenthesized branches (#874)
    • upload-artifact silently excluded the mirror under the hidden .devcontainer directory, so the bot commit updated only the root CHANGELOG.md and tripped the sync-manifest gate; now uploaded with include-hidden-files: true.
    • metadata.env values are %q-quoted so grouped Renovate branch names (e.g. renovate/python-(minor-and-patch)) survive being sourced by the commit workflow.

Testing

@c-vigo
c-vigo merged commit 00b213c into dev Jul 6, 2026
13 checks passed
@c-vigo
c-vigo deleted the bugfix/874-renovate-artifact-hidden-mirror branch July 6, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant