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:
committed by
Wolfgang Walther
parent
e7e102bc42
commit
43a92d4e6b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user