Skip to content
This repository was archived by the owner on Aug 17, 2026. It is now read-only.

Sync ClickStack OTel schemas #154

Sync ClickStack OTel schemas

Sync ClickStack OTel schemas #154

name: Sync ClickStack OTel schemas
on:
schedule:
# Twice daily (06:00 and 18:00 UTC)
- cron: "0 6,18 * * *"
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
sync:
name: Pull upstream schemas and open PR if changed
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Run sync script
run: python3 scripts/sync-clickstack-schemas.py
- name: Create pull request if upstream schemas changed
uses: peter-evans/create-pull-request@v6
with:
branch: auto/sync-clickstack-schemas
base: main
commit-message: "chore(clickstack): sync OTel schemas from upstream HyperDX"
title: "chore(clickstack): sync OTel schemas from upstream HyperDX"
body: |
Automated sync of the ClickStack OTel `CREATE TABLE` blocks in
`docs/use-cases/observability/clickstack/ingesting-data/schemas.md`
from upstream
[hyperdxio/hyperdx](https://github.com/hyperdxio/hyperdx/tree/main/docker/otel-collector/schema/seed).
Generated by `.github/workflows/sync-clickstack-schemas.yml`
(script: `scripts/sync-clickstack-schemas.py`).
Review the diff, then merge if the upstream change is intended.
labels: |
documentation
automated
delete-branch: true