From c7677fc95d81e368b58be2599da8cd334da88ffd Mon Sep 17 00:00:00 2001 From: devantler Date: Tue, 23 Jun 2026 06:24:20 +0200 Subject: [PATCH] ci: cut releases automatically so merged deploy/ state reaches the cluster MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The github-config tenant on the platform cluster syncs the org's declarative GitHub state from a cosign-signed OCI artifact that cd.yaml publishes only on v* tags. Nothing cut those tags on merge to main, so every deploy/ change since the last hand-cut tag (v1.4.2, 2026-06-18) — the maintainers team (#50), issue labels (#57) and repository discoverability metadata (#60) — was validated, merged, and then never delivered: the OCIRepository is still pinned at 1.4.2 and no Team/IssueLabel CRs exist on the cluster. Add the standard release pipeline every other devantler-tech repo already has: a Release workflow that runs create-release.yaml (semantic-release) on push to main, plus a minimal .releaserc. semantic-release cuts the v* tag, which triggers cd.yaml to publish the OCI artifact, which the tenant reconciles. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release.yaml | 18 ++++++++++++++++++ .releaserc | 8 ++++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/release.yaml create mode 100644 .releaserc diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..a61cfd9 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,18 @@ +name: Release +on: + workflow_dispatch: + push: + branches: + - main + +permissions: + contents: write + issues: write + pull-requests: write + id-token: write + +jobs: + release: + uses: devantler-tech/reusable-workflows/.github/workflows/create-release.yaml@c830916321473ec23bb612e41de963b9b01af897 # v5.6.6 + secrets: + APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} diff --git a/.releaserc b/.releaserc new file mode 100644 index 0000000..b712c29 --- /dev/null +++ b/.releaserc @@ -0,0 +1,8 @@ +{ + "branches": [ + "main" + ], + "plugins": [ + "@semantic-release/commit-analyzer" + ] +}