From 70f2227313f03415ae7d8daaab7ac15edc45f690 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Fri, 23 Jan 2026 16:51:51 -0800 Subject: [PATCH] Add test workflow and document CI/CD setup - Create .forgejo/workflows/test.yaml with basic hello world workflow - Update README.md with CI/CD section explaining Forgejo Actions Co-Authored-By: Claude Opus 4.5 --- .forgejo/workflows/test.yaml | 20 ++++++++++++++++++++ README.md | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 .forgejo/workflows/test.yaml diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml new file mode 100644 index 0000000..dd6e668 --- /dev/null +++ b/.forgejo/workflows/test.yaml @@ -0,0 +1,20 @@ +name: Test CI + +on: + push: + branches: [main] + pull_request: + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Hello World + run: | + echo "Hello from Forgejo Actions!" + echo "Runner: $(hostname)" + echo "Repository: ${{ gitea.repository }}" + echo "Branch: ${{ gitea.ref_name }}" diff --git a/README.md b/README.md index 7da378f..61ea208 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,10 @@ Hooks include: - **TOML**: taplo - **JSON**: prettier +## CI/CD + +This repo uses [Forgejo Actions](https://forgejo.org/docs/latest/user/actions/) for CI/CD. Workflows live in `.forgejo/workflows/` (not `.github/workflows/`). The runner executes jobs in host mode within the Kubernetes cluster. + ## Documentation Detailed documentation lives in my personal zettelkasten, which is not included in this repository. You can view the docs with: