forked from JabRef/jabref
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 965 Bytes
/
check-links.yml
File metadata and controls
36 lines (32 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Check external href links in the documentation
on:
pull_request:
paths:
- '.github/workflows/check-links.yml'
- '.linkspector.yml'
- '**/*.md'
schedule:
# Run on the first of each month at 9:00 AM (See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07)
- cron: "0 9 1 * *"
workflow_dispatch:
concurrency:
group: "${{ github.workflow }}-${{ github.head_ref || github.ref }}"
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
jobs:
check-links:
if: github.repository == 'JabRef/jabref'
# Does not work on ubuntu-slim
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
show-progress: 'false'
- name: Run linkspector
uses: umbrelladocs/action-linkspector@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_level: any