Skip to content

Commit 3f66961

Browse files
authored
Merge pull request #663 from Web3Auth/update-link-checker
Update linkcheck.yml to check only on a specific tag
2 parents bfa212d + 7278578 commit 3f66961

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/linkcheck.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,20 @@ name: Check External links
33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
pull_request:
8-
tags:
9-
- 'check-links'
8+
types: [labeled]
109

1110
jobs:
1211
markdown-link-check:
12+
if: ${{ contains(github.event.pull_request.labels.*.name, 'check-links') }}
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@master
16-
- uses: gaurav-nelson/github-action-markdown-link-check@v1
15+
- name: Checkout code
16+
uses: actions/checkout@v2
17+
18+
- name: Check markdown links
19+
uses: gaurav-nelson/github-action-markdown-link-check@v1
1720
with:
1821
file-extension: .mdx
1922
use-quiet-mode: yes

0 commit comments

Comments
 (0)