Skip to content

feat: automate pinned upstream workflow refresh - #4

Merged
vitormattos merged 5 commits into
mainfrom
feat/automate-upstream-refresh
Sep 20, 2026
Merged

vitormattos merged 5 commits into
mainfrom
feat/automate-upstream-refresh

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Summary

Add explicit upstream tracking metadata and a deterministic refresh path for vendored workflow sources.

The effective source remains immutable: refresh resolves the tracked upstream ref to a full commit SHA, downloads that exact file, recalculates SHA-256, updates the vendored copy, validates the result, and opens a reviewable pull request.

This follows the useful part of Nextcloud's workflow-template synchronization model while preserving this repository's stronger immutable pin + hash boundary.

Details

  • add optional repository / ref / path tracking metadata;
  • add sync_upstream.py refresh;
  • update the pinned Nextcloud appstore workflow automatically;
  • run source verification and Python tests before opening an update PR;
  • require a dedicated WORKFLOW_UPDATE_TOKEN so generated PRs trigger normal CI;
  • keep upstream bytes verbatim under upstream/vendor/.

Patch application remains a separate layer and will be implemented independently so upstream refresh and downstream adaptations stay reviewable.

@vitormattos
vitormattos merged commit ea27a30 into main Sep 20, 2026
4 of 5 checks passed
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