From 26c96e397738ebfae886163ef1719043d7d324a5 Mon Sep 17 00:00:00 2001 From: ilia Date: Fri, 29 May 2026 16:19:46 -0500 Subject: [PATCH 1/6] ci: add homelab Gitea Actions workflow (ci-baseline.yml) --- .gitea/workflows/ci.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..4b98171 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,39 @@ +--- +# Homelab CI — baseline secret scan (git-ci-02) +name: CI + +on: + push: + branches: [master, main] + pull_request: + types: [opened, synchronize, reopened] + +jobs: + skip-ci-check: + runs-on: [homelab, self-hosted, linux] + outputs: + should-skip: ${{ steps.check.outputs.skip }} + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 1 + - id: check + run: | + SKIP=0 + BRANCH="${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" + MSG="${GITHUB_EVENT_HEAD_COMMIT_MESSAGE:-$(git log -1 --pretty=%B 2>/dev/null || true)}" + echo "$BRANCH" "$MSG" | grep -qi '@skipci' && SKIP=1 + echo "skip=$SKIP" >> $GITHUB_OUTPUT + + secret-scan: + needs: skip-ci-check + if: needs.skip-ci-check.outputs.should-skip != '1' + runs-on: [homelab, self-hosted, linux, heavy] + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Gitleaks + run: | + docker run --rm -v "$PWD:/repo" ghcr.io/gitleaks/gitleaks:latest \ + detect --source /repo --no-banner --redact From 4b727a25930fb5a6f9f75671d1f394094658da99 Mon Sep 17 00:00:00 2001 From: ilia Date: Fri, 29 May 2026 20:14:20 -0500 Subject: [PATCH 2/6] ci: sync workflow template (node container + host fixes) --- .gitea/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4b98171..dadb7bd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,6 +11,8 @@ on: jobs: skip-ci-check: runs-on: [homelab, self-hosted, linux] + container: + image: node:20-bookworm outputs: should-skip: ${{ steps.check.outputs.skip }} steps: From 3d94bf57422cfa912ec1f9a3b89f2fb0e58e0a9c Mon Sep 17 00:00:00 2001 From: ilia Date: Fri, 29 May 2026 20:20:00 -0500 Subject: [PATCH 3/6] ci: refresh workflow (re-run pipelines) --- .gitea/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index dadb7bd..03a93de 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,4 +1,5 @@ --- +# ci-sync: 2026-05-30T01:20:06Z # Homelab CI — baseline secret scan (git-ci-02) name: CI From 2fc82e02ecf7e3c137580be9f5de35324b21e935 Mon Sep 17 00:00:00 2001 From: ilia Date: Fri, 29 May 2026 20:25:23 -0500 Subject: [PATCH 4/6] ci: sync workflow template --- .gitea/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 03a93de..dadb7bd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,5 +1,4 @@ --- -# ci-sync: 2026-05-30T01:20:06Z # Homelab CI — baseline secret scan (git-ci-02) name: CI From 7c18e32355d12977c86522cf7cb26f6348cd8f62 Mon Sep 17 00:00:00 2001 From: ilia Date: Fri, 29 May 2026 20:27:41 -0500 Subject: [PATCH 5/6] ci: refresh workflow (re-run pipelines) --- .gitea/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index dadb7bd..09d9000 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,4 +1,5 @@ --- +# ci-sync: 2026-05-30T01:27:48Z # Homelab CI — baseline secret scan (git-ci-02) name: CI From 934a657e47e61253b38fe20f03b710b160f5d51b Mon Sep 17 00:00:00 2001 From: ilia Date: Fri, 29 May 2026 20:30:04 -0500 Subject: [PATCH 6/6] ci: refresh workflow (re-run pipelines) --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 09d9000..967367c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,5 +1,5 @@ --- -# ci-sync: 2026-05-30T01:27:48Z +# ci-sync: 2026-05-30T01:30:10Z # Homelab CI — baseline secret scan (git-ci-02) name: CI