From 43a92d4e6b78f18650fbaf111f9b2c28472b4ae2 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 30 Jan 2022 13:57:32 +0100 Subject: [PATCH] ci: Only run linkcheck in pull requests to main branch Avoids running linkcheck on back branches, where links are outdated anyway. Signed-off-by: Wolfgang Walther --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4f4c76349..b03dadad1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,6 +31,7 @@ jobs: linkcheck: name: Run linkcheck + if: github.base_ref == 'main' runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.4.0