Shared CI workflows, Prow configuration, and org automation for the Hive Commons
(hivecommons) GitHub org — the umbrella org for the hive project. The hive codebase
itself still lives in kubestellar/hive for now;
this repo bootstraps the org-level infrastructure that new hivecommons repos will share.
The contents are seeded from kubestellar/infra
(Apache-2.0) and adapted for this org. Each workflow file carries an attribution header
noting its origin and any changes made.
| Path | Contents |
|---|---|
.github/workflows/ |
Reusable (workflow_call) workflows for repos in this org |
prow/ |
Prow topology documentation and the prepared config patches for onboarding hivecommons onto the existing Prow instance |
LICENSE |
Apache-2.0 (matches kubestellar) |
Call them from any repo in the org, e.g.:
jobs:
stale:
uses: hivecommons/infra/.github/workflows/reusable-stale.yml@main| Workflow | What it does | Adapted? |
|---|---|---|
reusable-copilot-dco.yml |
Sets the dco commit status to success and swaps dco-signoff labels on Copilot-authored PRs (Prow's dco plugin cannot trust apps) |
Yes — DCO link now points at the calling repo's CONTRIBUTING.md |
reusable-copilot-automation.yml |
Full Copilot PR processing: DCO override, copilot label, removes blocking labels |
No (verbatim) |
reusable-ai-fix.yml |
Assigns the Copilot coding agent to issues labeled ai-fix-requested + triage/accepted; links resulting PRs back to the issue |
No (verbatim) |
reusable-stale.yml |
Marks issues stale after N days (default 90) and closes after N more; PRs exempt | No (verbatim) |
reusable-scorecard.yml |
OpenSSF Scorecard analysis, SARIF upload to code scanning | No (verbatim) |
reusable-spellcheck.yml |
Markdown spellcheck (rojopolis/spellcheck-github-actions), configurable config path |
No (verbatim) |
reusable-image-scanning.yml |
Builds the repo's Dockerfile and scans it with Trivy, SARIF upload | No (verbatim) |
reusable-add-help-wanted.yml |
Adds help wanted to unassigned issues that lack help labels |
No (verbatim) |
reusable-label-helper.yml |
Validates /kind and /area comment commands; handles /help-wanted, /good-first-issue |
Yes — default valid_areas list replaced with Hive-oriented areas |
reusable-assignment-helper.yml |
Replies to natural-language "assign me" comments with the /assign slash-command hint |
Yes — KubeStellar resource links removed |
reusable-greetings.yml |
Welcomes first-time issue/PR authors (message overridable via inputs) | Yes — default messages rewritten for Hive Commons |
reusable-feedback.yml |
Thank-you comment on merged PRs with a feedback link | Yes — defaults to the org discussions page |
Still living in their kubestellar counterparts; migrate when needed:
- Workflow distribution —
kubestellar/infrahas async-workflows.yml+caller-workflows/mechanism that pushes thin caller stubs to every repo in the org (requires aWORKFLOW_SYNC_TOKENorg secret). Not migrated yet; hivecommons repos should call the reusable workflows here directly until the org is big enough to warrant it. - Org workflow templates —
kubestellar/.githubworkflow-templates/(starter CI/CD, release automation, security scan templates). Ahivecommons/.githubrepo can adopt these later. - Org community health files — issue templates, PR template, code of conduct,
security policy (
kubestellar/.github). - Prow cluster manifests and images —
kubestellar/infraclusters/,images/,iac/. The Prow instance itself remains operated fromkubestellar/infra; this repo only documents onboarding (seeprow/). - Prow config source of truth — remains
kubestellar/infraprow/(config-updateris bound to that repo). The patches inprow/are applied there, not here.
docs-link-checker.yml,broken-links-crawler— kubestellar website/docs link checks.docs-gen-and-push.yml,check-docs-pr-preview.yml— kubestellar docs pipeline.goreleaser.yml,golangci-lint.yml, e2e/integration test workflows inkubestellar/kubestellar— repo-local, not reusable (workflow_call) workflows.create-our-meeting-bi-weekly.yml,ocp-self-runner.yml,test-demo-env-creation-script.yml— kubestellar community/infra specifics.
Apache-2.0. Portions copyright the KubeStellar Authors.