From 61df4fc412f6fd7cad774b3c151691c2a5769075 Mon Sep 17 00:00:00 2001 From: Cedric Date: Sat, 2 Dec 2023 11:05:29 +0000 Subject: [PATCH] Prevent running validate when pushing on main Rational is as follow: - We ran validate-book on each push on the PR branch anyway - We will run release_book which is a superset of validate --- .github/workflows/validate-book-build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/validate-book-build.yml b/.github/workflows/validate-book-build.yml index adf48e27..b1bee9aa 100644 --- a/.github/workflows/validate-book-build.yml +++ b/.github/workflows/validate-book-build.yml @@ -1,5 +1,9 @@ name: Validate LaTeX Document on: [ push, pull_request ] + branches: + - '**' # All branches + - '!main' # But main as will do it anyway and more in release_book + jobs: test_building_book: runs-on: ubuntu-latest