From 31f44a7a935c312379d35485fd66e4a35d7d1c19 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 | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index bd5939bae..13470ff15 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 34895f3db..fbd744719 100644 --- a/.github/workflows/markdown-lint.yml +++ b/.github/workflows/markdown-lint.yml @@ -2,7 +2,7 @@ name: Lint Markdown on: push: - branches: ["**"] + branches: [master] pull_request: types: [opened, reopened, synchronize]