Skip to content

ci: inherit and distribute safe submodule PR workflows - #117

Merged
vitormattos merged 10 commits into
mainfrom
ci/upstream-submodule-commands-20261117
Nov 18, 2026
Merged

vitormattos merged 10 commits into
mainfrom
ci/upstream-submodule-commands-20261117

Conversation

@vitormattos

@vitormattos vitormattos commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Track the nextcloud/3rdparty PR-creation workflow as a pinned, SHA256-verified upstream source; render the reusable command-submodule-pr.yml template with a reviewable downstream patch.
  • Provide a LibreCode-owned command-update-submodule.yml workflow rather than copying the Nextcloud Server updater: the latter would incorporate a moving branch tip and can rewrite previous commits.
  • Implement a version-pinned, independently tested actions/update-submodule Action. The update workflow performs no checkout and validates the linked merged source PR before changing only the gitlink through the GitHub API (non-force update, DCO trailer).
  • Keep publishing credentials out of dependency analysis, refuse unauthorized/fork-based PR commands, and preserve incremental history.
  • Add Node.js positive/negative tests, Python provenance and template contract checks, and consumer setup documentation.

Validation

  • Python tests, actionlint, zizmor, workflow policy and DCO have passed on this PR's preceding revision; consult latest HEAD checks.
  • Consumer patches were matched against the shared rendered workflow contents.
  • The new cross-repository comment commands have not yet had an integration run against a disposable pair of PRs.

Deployment dependency

  • Merge this catalog PR without squash, preserving the shared Action commit 2a75cff7318334499053ced8b72d04bc0f795baf.
  • Then review and merge LibreSign/3rdparty#126 and LibreSign/libresign#9529, and validate a consumer synchronization cycle.
  • Confirm that the consumer's publishing credentials are scoped to permitted repositories and that the GitHub Actions policy allows the pinned shared Action.

No changes or PRs were created outside LibreCodeCoop or LibreSign; no merge or release is requested.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
… flow

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
…ries

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos changed the title ci: inherit Nextcloud submodule command workflows in shared catalog ci: inherit and distribute safe submodule PR workflows Nov 18, 2026
…r workflow wholesale

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos marked this pull request as ready for review November 18, 2026 01:43
@vitormattos
vitormattos merged commit 1903d46 into main Nov 18, 2026
5 checks passed
@vitormattos
vitormattos deleted the ci/upstream-submodule-commands-20261117 branch November 18, 2026 01:43
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