From 08adca75472fce21492843666189f6eac0c61423 Mon Sep 17 00:00:00 2001 From: Igor Lobanov Date: Mon, 28 Sep 2026 14:19:59 +0200 Subject: [PATCH] CI: run push workflows on master only Restrict the push trigger to master in build-deploy and markdown-lint workflows. pull_request stays the only source of PR checks, so same-repo PRs no longer run each workflow twice per push (push run + PR run), which showed up as 6 checks for same-repo PRs vs 2 for fork PRs. Deploys now run once per master push; per-branch preview deploys from topic branches and v* tag builds are dropped. --- .github/workflows/build-deploy.yml | 4 +--- .github/workflows/markdown-lint.yml | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index b303fcb38..0823eb317 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -7,9 +7,7 @@ env: on: push: - branches: ["**"] - tags: - - v* + branches: [master] pull_request: types: [opened, reopened, synchronize] workflow_dispatch: diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml index d6b2f8fd7..fbd744719 100644 --- a/.github/workflows/markdown-lint.yml +++ b/.github/workflows/markdown-lint.yml @@ -2,6 +2,7 @@ name: Lint Markdown on: push: + branches: [master] pull_request: types: [opened, reopened, synchronize]