1- # name: link checker
2- # on:
3- # pull_request:
4- # # pull_request_target:
5- # # types: [labeled]
6- # push:
1+ name : link checker
2+ on :
3+ pull_request :
4+ # pull_request_target:
5+ # types: [labeled]
6+ push :
77
8- # # Declare default permissions as read only.
9- # permissions: read-all
10-
11- # jobs:
12- # lint:
13- # if: "${{ github.event_name == 'push' || github.event.action != 'labeled' || github.event.label.name == 'tests: run' }}"
14- # name: lint
15- # runs-on: ubuntu-latest
16- # concurrency:
17- # group: ${{ github.workflow }}-${{ github.ref }}
18- # cancel-in-progress: true
19- # permissions:
20- # contents: "read"
21- # steps:
22- # - uses: actions/checkout@v2
23- # - uses: JustinBeckwith/linkinator-action@v1
24- # with:
25- # # linksToSkip: ^(?:(?!.*\.com).)*$
26- # paths: "**/*.md"
27-
28- name : Check Markdown links
29-
30- on : push
8+ # Declare default permissions as read only.
9+ permissions : read-all
3110
3211jobs :
33- markdown-link-check :
12+ lint :
13+ if : " ${{ github.event_name == 'push' || github.event.action != 'labeled' || github.event.label.name == 'tests: run' }}"
14+ name : lint
3415 runs-on : ubuntu-latest
16+ concurrency :
17+ group : ${{ github.workflow }}-${{ github.ref }}
18+ cancel-in-progress : true
19+ permissions :
20+ contents : " read"
3521 steps :
36- - uses : actions/checkout@v4
37- - uses : tcort/github-action-markdown-link-check@v1
38- with :
39- use-quiet-mode : ' yes'
40- use-verbose-mode : ' yes'
41- config-file : ' mlc_config.json'
42- folder-path : ' .'
43- max-depth : -1
22+ - uses : actions/checkout@v2
23+ - uses : JustinBeckwith/linkinator-action@v1
24+ with :
25+ # linksToSkip: ^(?:(?!.*\.com).)*$
26+ paths : " **/*.md"
27+
28+ # name: Check Markdown links
29+
30+ # on: push
31+
32+ # jobs:
33+ # markdown-link-check:
34+ # runs-on: ubuntu-latest
35+ # steps:
36+ # - uses: actions/checkout@v4
37+ # - uses: tcort/github-action-markdown-link-check@v1
38+ # with:
39+ # use-quiet-mode: 'yes'
40+ # use-verbose-mode: 'yes'
41+ # config-file: 'mlc_config.json'
42+ # folder-path: '.'
43+ # max-depth: -1
0 commit comments