From 8071c41e8e6eb37aa443d3058dd0880dd177ad28 Mon Sep 17 00:00:00 2001 From: codexy Date: Thu, 26 Nov 2026 15:28:40 +0900 Subject: [PATCH] ci: run checks on demand and weekly instead of every commit Heavy checks now run by hand (workflow_dispatch) and once a week. The seconds-long public text guard runs on pull requests only. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 7 ++++--- .github/workflows/public-docs.yml | 3 +-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f83110..56af906 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,9 @@ name: CI on: - push: - branches: [main] - pull_request: + # Not on every commit: run by hand when needed, plus once a week. + workflow_dispatch: + schedule: + - cron: '41 1 * * 1' permissions: contents: read jobs: diff --git a/.github/workflows/public-docs.yml b/.github/workflows/public-docs.yml index 10195f8..6c9e6b0 100644 --- a/.github/workflows/public-docs.yml +++ b/.github/workflows/public-docs.yml @@ -1,8 +1,7 @@ name: Commit hygiene on: + # Seconds-long guard for public text; runs on pull requests only. pull_request: - push: - branches: [main] permissions: contents: read concurrency: