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 <walther@technowledgy.de>
This commit is contained in:
Wolfgang Walther
2022-01-30 16:32:14 +01:00
committed by Wolfgang Walther
parent e7e102bc42
commit 43a92d4e6b
+1
View File
@@ -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