aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-10-19 16:26:21 +0200
committerGitHub <noreply@github.com>2023-10-19 16:26:21 +0200
commit3d3ca19a3dc3cc9187c74e72924b6b1fb3da0985 (patch)
tree546684a2dea988818ff1f477adc2544031d4732e
parentff59054b7a05e048f427ab67efe7e38a1418a5ea (diff)
downloadNorthstarWiki-3d3ca19a3dc3cc9187c74e72924b6b1fb3da0985.tar.gz
NorthstarWiki-3d3ca19a3dc3cc9187c74e72924b6b1fb3da0985.zip
Run linkcheck on push and pull request (#239)
Checks whether any links in markdown files in a push or pull request are broken.
-rw-r--r--.github/.markdownlinkcheck.json7
-rw-r--r--.github/workflows/linkcheck.yml14
2 files changed, 21 insertions, 0 deletions
diff --git a/.github/.markdownlinkcheck.json b/.github/.markdownlinkcheck.json
new file mode 100644
index 0000000..7e118b9
--- /dev/null
+++ b/.github/.markdownlinkcheck.json
@@ -0,0 +1,7 @@
+{
+ "ignorePatterns": [
+ {
+ "pattern": "https://help.ea.com/en/help/pc/link-ea-and-steam/"
+ }
+ ]
+}
diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml
new file mode 100644
index 0000000..e97f01e
--- /dev/null
+++ b/.github/workflows/linkcheck.yml
@@ -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'