From ff32ec85c572096fcdbc07068ac674f499a835c9 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Mon, 18 May 2026 15:33:14 +0000 Subject: [PATCH] chore: move .github folder to .gitea for Gitea compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gitea prefers .gitea/ISSUE_TEMPLATE/ and .gitea/workflows/ over the GitHub-convention .github/ equivalents. Moves all issue templates and workflow files to the Gitea-native paths and updates CLAUDE.md references. Cosign certificate identity paths in release/rollback workflows are intentionally left unchanged — they reference the signing identity from prior workflow runs and will need a separate update when the CI signing infrastructure migrates. Co-Authored-By: Paperclip --- .../ISSUE_TEMPLATE/bug_report.yml | 0 .../ISSUE_TEMPLATE/feature_request.yml | 0 .gitea/workflows/helm-release.yml | 36 ++++++++++++------- CLAUDE.md | 2 +- 4 files changed, 25 insertions(+), 13 deletions(-) rename {.github => .gitea}/ISSUE_TEMPLATE/bug_report.yml (100%) rename {.github => .gitea}/ISSUE_TEMPLATE/feature_request.yml (100%) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.gitea/ISSUE_TEMPLATE/bug_report.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/bug_report.yml rename to .gitea/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.gitea/ISSUE_TEMPLATE/feature_request.yml similarity index 100% rename from .github/ISSUE_TEMPLATE/feature_request.yml rename to .gitea/ISSUE_TEMPLATE/feature_request.yml diff --git a/.gitea/workflows/helm-release.yml b/.gitea/workflows/helm-release.yml index e1a3f7a..bd8d615 100644 --- a/.gitea/workflows/helm-release.yml +++ b/.gitea/workflows/helm-release.yml @@ -7,16 +7,17 @@ on: - 'charts/hightower/**' permissions: - contents: read - packages: write + contents: write jobs: release: - name: Lint, package & push OCI - runs-on: ubuntu-latest + name: Lint, package & publish + runs-on: runners-farhoodlabs steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + fetch-depth: 0 - name: Install Helm uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0 @@ -29,13 +30,24 @@ jobs: mkdir -p .helm-packages helm package charts/hightower -d .helm-packages - - name: Log in to Gitea OCI registry - run: | - echo "${{ secrets.REGISTRY_TOKEN }}" | helm registry login git.farh.net \ - --username gitea-admin \ - --password-stdin + - name: Checkout gh-pages + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + ref: gh-pages + path: gh-pages + fetch-depth: 0 - - name: Push chart to Gitea OCI registry + - name: Update Helm repo index run: | - PACKAGE=$(ls .helm-packages/*.tgz | head -1) - helm push "$PACKAGE" oci://git.farh.net/farhoodlabs/charts + cp .helm-packages/*.tgz gh-pages/ + helm repo index gh-pages --url https://farhoodlabs.github.io/hightower + + - name: Push to gh-pages + run: | + cd gh-pages + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git add . + git diff --staged --quiet && echo "No changes to commit" && exit 0 + git commit -m "Release Helm chart $(ls *.tgz | head -1)" + git push diff --git a/CLAUDE.md b/CLAUDE.md index 2766358..f8da721 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -158,7 +158,7 @@ Comments must be **timeless** — no references to this conversation, refactorin **Config:** `Dockerfile`, `apps/worker/configs/`, `apps/worker/prompts/`, `tsconfig.base.json` (shared compiler options), `turbo.json`, `biome.json` -**CI/CD:** `.github/workflows/ci.yml` (type-check, lint, build & push images to GHCR), `.github/workflows/release.yml` (Docker Hub push + GitHub release, manual dispatch) +**CI/CD:** `.gitea/workflows/ci.yml` (type-check, lint, build & push images to GHCR), `.gitea/workflows/release.yml` (Docker Hub push + GitHub release, manual dispatch) ## Package Installation