From 93a6f32c6b58b321b1c5fb0a9c9f519add4f0618 Mon Sep 17 00:00:00 2001 From: Sal <59910950+ss-o@users.noreply.github.com> Date: Sat, 26 Sep 2026 00:14:47 +0100 Subject: [PATCH] ci: adopt the organization commit-lint caller Thin caller for z-shell/.github's commit-lint suite, pinned to its current main. Refs #227. --- .github/workflows/commit-lint.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/commit-lint.yml diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml new file mode 100644 index 0000000..8bd9fbc --- /dev/null +++ b/.github/workflows/commit-lint.yml @@ -0,0 +1,27 @@ +--- +name: Commit Lint + +# Thin caller for the organization policy suite: Conventional Commit messages +# and PR title (decisions/0003), banned bot/AI-agent Co-authored-by trailers +# (AGENTS.md), branch-name shape (decisions/0019), and issue traceability on +# the pull request (decisions/0022). Runs on `edited` too, so fixing a title +# or adding the issue link re-evaluates without a push. + +on: + pull_request: + types: [opened, synchronize, reopened, edited] + branches: [main] + +permissions: + contents: read + +# No concurrency block here: the called workflow declares its own group from +# github.workflow and github.ref, which resolve to the caller's values, so a +# second declaration at this level deadlocks against it. + +jobs: + policy: + name: Policy + permissions: + contents: read + uses: z-shell/.github/.github/workflows/commit-lint.yml@6ab97b23f3e6f38dd8721b06bfb628f58f30a06a # main