Skip to content

Commit

Permalink
add dependabot for GHA and linkchecker
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Mar 21, 2024
1 parent d050480 commit 64e67d5
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# See https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/keeping-your-actions-up-to-date-with-dependabot

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
labels:
- "Bot"
34 changes: 34 additions & 0 deletions .github/workflows/md-link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Check Markdown links

on:
pull_request:
push:
branches:
- main

jobs:
markdown-link-check:
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Check gh-pages
if: github.ref == 'refs/heads/gh-pages'
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: 'mlc_config.json'
file-path: './README.md'
folder-path: '_docs/'

- name: Check main
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
file-path: './README.md'
8 changes: 8 additions & 0 deletions .github/workflows/mlc_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"ignorePatterns": [
{
"pattern": "://localhost"
}
],
"aliveStatusCodes": [200, 0]
}

0 comments on commit 64e67d5

Please sign in to comment.