Skip to content

ci: restore materialized workflow synchronization - #48

Merged
vitormattos merged 17 commits into
mainfrom
fix/materialized-workflow-sync
Sep 20, 2026
Merged

vitormattos merged 17 commits into
mainfrom
fix/materialized-workflow-sync

Conversation

@vitormattos

@vitormattos vitormattos commented Sep 20, 2026

Copy link
Copy Markdown
Member

Summary

Restore the Nextcloud-style workflow distribution model for the Extract validation path while keeping LibreCode patches as small as possible.

The rule for these downstream patches is: preserve the Nextcloud workflow verbatim unless a change is required for LibreCode infrastructure or for a specific consumer.

This PR:

  • tracks Nextcloud's sync-workflow-templates.yml as an immutable upstream source;
  • renders a LibreCode-patched synchronization workflow;
  • publishes a full, materialized lint-eslint.yml instead of a reusable-workflow caller;
  • limits the ESLint patch to LibreCode catalog provenance plus replacement of Nextcloud-only ubuntu-latest-low runners;
  • limits the sync-workflow patch to LibreCode catalog provenance, LibreCode GitHub App authentication, and LibreCode repository/bot references;
  • keeps consumer-specific differences such as supported stable branches out of the organization-level patch; those belong in the consumer's local .github/workflows/<workflow>.patch;
  • removes LibreCodeCoop/extract from the old central push-based consumer list so Extract can validate the pull-based updater itself.

Expected flow:

nextcloud/.github -> immutable vendor source -> minimal LibreCode patch -> github-workflows/workflow-templates -> LibreCodeCoop/.github -> consumer sync-workflow-templates.yml -> reviewable consumer PR

The first end-to-end consumer validation will be done in LibreCodeCoop/extract, with any Extract-specific branch adaptations kept local to that repository.

Signed-off-by: Vitor Mattos <vitor@php.rio>
@vitormattos
vitormattos force-pushed the fix/materialized-workflow-sync branch from 2be3b8b to 1cec09b Compare September 20, 2026 18:43
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>
Signed-off-by: Vitor Mattos <vitor@php.rio>
@vitormattos
vitormattos merged commit 6df3c2b 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.

1 participant