We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66c7954 commit b64fae1Copy full SHA for b64fae1
.github/main.workflow
.github/workflows/pull_request.yml
@@ -1,14 +1,17 @@
1
name: Hugo Link Check
2
on:
3
pull_request:
4
- types: [opened, synchronized]
+ branches:
5
+ - main
6
+
7
jobs:
- filter-to-pr-open-synced:
8
+ broken-link-check:
9
runs-on: ubuntu-latest
10
+ name: Check for broken links
11
steps:
- - uses: actions/checkout@v2
- - name: linkcheck
- uses: marccampbell/hugo-linkcheck-action@v0.1.2
12
- env:
13
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14
- HUGO_FINAL_URL: https://help.replicated.com
+ - name: Checkout code
+ uses: actions/checkout@v4
+ with:
15
+ fetch-depth: 1
16
+ - name: Check for broken Links
17
+ uses: marojor/hugo-broken-link-checker@v1.1.0
0 commit comments