Skip to content

feat: add reusable workflow sync action - #53

Merged
vitormattos merged 15 commits into
mainfrom
feat/sync-workflows-action
Sep 20, 2026
Merged

vitormattos merged 15 commits into
mainfrom
feat/sync-workflows-action

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Closes #52

Summary

Move consumer-side workflow synchronization out of the large inline shell block and into a reusable, testable Action.

The Action:

  • updates only workflow files already installed in the consumer;
  • compares catalog versions using .github/actions-lock.txt;
  • copies changed materialized workflows;
  • applies consumer-local .github/workflows/<workflow>.patch files;
  • keeps the lock tied to the catalog version before local patching;
  • reports patch failures so the caller can open a draft PR;
  • exposes deterministic outputs for the orchestration workflow.

The organization sync template now keeps only GitHub orchestration: authentication, checkouts, Action invocation and PR creation.

The central template also stops carrying Nextcloud-specific stable branches; consumers can add their own maintained branches through a local patch.

Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
@vitormattos
vitormattos merged commit 66c3bce into main Sep 20, 2026
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.

Create reusable action for consumer workflow synchronization

1 participant