Compare commits

..
Author SHA1 Message Date
mathiasandClaude Opus 5.5 0c78df5128 ci: run the check job on pull requests
CD / Lint / Test / Vet (pull_request) Successful in 15s
CD / Build & Import (pull_request) Skipped
CD / Deploy via GitOps (pull_request) Skipped
A PR never got a CI run: the workflow triggered only on push to main
and on tags, so the risk/medium+ PR lane merged on local task check
alone (PR #66). pull_request now runs Lint/Test/Vet on the PR head;
build is gated to push and deploy already was, so a PR builds no
image, writes nothing to infra and sees no secrets.

Closes #68

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 07:13:23 +02:00
mathias dc127a05b5 Merge pull request 'fix(tools): reject case-variant arg keys and ref-shaped branch names (#65)' (#66) from fix/65-strict-args-branch-names into main
CD / Lint / Test / Vet (push) Successful in 14s
CD / Build & Import (push) Successful in 6s
CD / Deploy via GitOps (push) Skipped
2026-10-05 05:10:51 +00:00
+7
View File
@@ -8,6 +8,12 @@ name: CD
# (Only applies to branch pushes; tag pushes always trigger.) # (Only applies to branch pushes; tag pushes always trigger.)
paths-ignore: paths-ignore:
- 'docs/**' - 'docs/**'
# gitea-mcp#68: without this a PR never got a CI run, so the risk/medium+
# PR lane merged on local `task check` alone. Only the check job runs for a
# PR -- build and deploy stay push/tag-only (no images, no infra writes,
# no secrets from a PR).
pull_request:
branches: [main]
env: env:
IMAGE: gitea-mcp IMAGE: gitea-mcp
@@ -44,6 +50,7 @@ jobs:
build: build:
name: Build & Import name: Build & Import
needs: check needs: check
if: github.event_name == 'push'
runs-on: self-hosted runs-on: self-hosted
outputs: outputs:
image-tag: ${{ steps.meta.outputs.sha-tag }} image-tag: ${{ steps.meta.outputs.sha-tag }}