Skip to content

Commit

Permalink
Run linkcheck on push and pull request (#239)
Browse files Browse the repository at this point in the history
Checks whether any links in markdown files in a push or pull request are broken.
  • Loading branch information
GeckoEidechse authored Oct 19, 2023
1 parent ff59054 commit 3d3ca19
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/.markdownlinkcheck.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ignorePatterns": [
{
"pattern": "https://help.ea.com/en/help/pc/link-ea-and-steam/"
}
]
}
14 changes: 14 additions & 0 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Linkcheck
on: [push, pull_request]

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: md-linkcheck
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
config-file: '.github/.markdownlinkcheck.json'

0 comments on commit 3d3ca19

Please sign in to comment.