From 253f6bd1d4333ae9d7e81f353493f1731695e5f0 Mon Sep 17 00:00:00 2001 From: radu-mocanu Date: Tue, 1 Sep 2026 14:31:04 +0300 Subject: [PATCH] ci: run checks and publish on release branches Hotfix releases are cut on release/* branches, but both workflows are scoped to main, so a PR into a release branch runs no lint or tests and merging it publishes nothing. Unlike main, release/* is not covered by a ruleset here, so the missing checks do not block the merge. They are simply absent, which is worse: a hotfix can land unverified. --- .github/workflows/cd.yml | 1 + .github/workflows/ci.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a82b82a..22a241b 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -5,6 +5,7 @@ on: push: branches: - main + - 'release/**' paths: - pyproject.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10192fb..54089b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,11 +4,13 @@ on: push: branches: - main + - 'release/**' paths-ignore: - pyproject.toml pull_request: branches: - main + - 'release/**' jobs: commit-lint: