This repository was archived by the owner on May 29, 2026. It is now read-only.
chore(canonical): add fleet-sync GitHub Actions workflow#52
Merged
Conversation
When the canonical root configs change on this template's `development` branch, this workflow opens PRs across the 17 Conduction PHP fleet apps syncing the change. Implements the propagation half of hydra ADR-033. Files in scope (synced): - phpcs.xml, phpmd.xml, psalm.xml, phpstan.neon, phpstan-bootstrap.php - phpcs-custom-sniffs/CustomSniffs/Sniffs/** Files explicitly NOT synced (per-app): - phpstan-baseline.neon, psalm-baseline.xml (tracked debt per app) - composer.json (vendor name is app-specific) Cosmetic deviations preserved per-app post-sync (manual step in the PR): - phpcs.xml <description> - phpmd.xml <ruleset name> + inner <description> Setup: requires the `FLEET_SYNC_TOKEN` repo-secret — a PAT with `repo` scope on every target. Use a dedicated bot token rather than a personal PAT so it survives team changes.
Contributor
Quality Report — ConductionNL/nextcloud-app-template @
|
| Check | PHP | Vue | Security | License | Tests |
|---|---|---|---|---|---|
| lint | ✅ | ||||
| phpcs | ✅ | ||||
| phpmd | ✅ | ||||
| psalm | ✅ | ||||
| phpstan | ✅ | ||||
| phpmetrics | ✅ | ||||
| eslint | ❌ | ||||
| stylelint | ❌ | ||||
| composer | ❌ | ✅ 100/100 | |||
| npm | ✅ | ❌ 2/684 denied | |||
| PHPUnit | ⏭️ | ||||
| Newman | ⏭️ | ||||
| Playwright | ⏭️ |
❌ Denied npm licenses
| Package | Version | License |
|---|---|---|
| pako | 1.0.11 | (MIT AND Zlib) |
| sha.js | 2.4.12 | (MIT AND BSD-3-Clause) |
Quality workflow — 2026-05-21 21:32 UTC
Download the full PDF report from the workflow artifacts.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Adds the propagation half of hydra ADR-033: when the canonical root configs change on this template's
developmentbranch, this workflow opens PRs across the 17 Conduction PHP fleet apps to sync the change.Files in scope
Synced byte-for-byte:
phpcs.xml,phpmd.xml,psalm.xml,phpstan.neon,phpstan-bootstrap.phpphpcs-custom-sniffs/CustomSniffs/Sniffs/**Explicitly NOT synced (per-app, owned by each app):
phpstan-baseline.neon,psalm-baseline.xml(tracked debt per ADR-033)composer.json(vendor name is app-specific)Cosmetic deviations preserved per-app post-sync (manual step in each PR):
phpcs.xml <description>phpmd.xml <ruleset name>+ inner<description>Setup
Requires the
FLEET_SYNC_TOKENrepo-secret on this repo — a PAT withreposcope on every target. Use a dedicated bot token (not a personal PAT) so it survives team changes.Targets: all 17 fleet apps listed in
.github/sync-canonical-fleet.yml.Trigger
developmentwhen any synced file changes.workflow_dispatch) with optional app-slug filter.Test plan