Skip to content

Add TinyNode-owned shared OpenAPI artifact sync workflow#121

Merged
thehabes merged 2 commits into
mainfrom
copilot/add-sender-sync-workflow
May 21, 2026
Merged

Add TinyNode-owned shared OpenAPI artifact sync workflow#121
thehabes merged 2 commits into
mainfrom
copilot/add-sender-sync-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 9, 2026

This introduces the sender side of shared OpenAPI artifact sync so TinyNode owns the canonical shared contract in-repo and can propagate updates into cubap/rerum_openapi via an automated PR. It standardizes the provider artifact path while preserving the existing receiver-side validation surface.

  • Canonical shared artifact

    • Adds the exported TinyNode contract at openapi/components/tinynode-shared-components.openapi.yaml
    • Mirrors the current receiver artifact so future edits happen in TinyNode, not downstream
  • Cross-repo sync workflow

    • Adds TinyNode Shared OpenAPI Sync workflow
    • Triggers on changes to the canonical artifact on main and via manual dispatch
    • Checks out cubap/rerum_openapi, verifies the receiver stub exists, copies the artifact, and opens/updates a PR against main
  • Repository guardrails

    • Extends the existing repo file presence test to cover the new canonical artifact and workflow
    • Documents the canonical source path and required sync token in README.md

Example workflow shape:

on:
  push:
    branches: [main]
    paths:
      - openapi/components/tinynode-shared-components.openapi.yaml

jobs:
  sync:
    steps:
      - uses: actions/checkout@v4
      - uses: actions/checkout@v4
        with:
          repository: cubap/rerum_openapi
          path: receiver
      - run: cp openapi/components/tinynode-shared-components.openapi.yaml \
               receiver/schemas/openapi/tinynode-shared-components.openapi.yaml
      - uses: peter-evans/create-pull-request@v8

Copilot AI linked an issue May 9, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add sender sync workflow for shared OpenAPI artifacts Add TinyNode-owned shared OpenAPI artifact sync workflow May 9, 2026
Copilot AI requested a review from cubap May 9, 2026 01:59
Copilot finished work on behalf of cubap May 9, 2026 01:59
@thehabes thehabes marked this pull request as ready for review May 21, 2026 16:00
@thehabes thehabes self-requested a review as a code owner May 21, 2026 16:00
@thehabes thehabes merged commit 91f4607 into main May 21, 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.

Add sender sync workflow for shared OpenAPI artifacts

3 participants