Skip to content

Commit

Permalink
Put check links workflow into own file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdewar committed May 28, 2024
1 parent 1d5a45d commit 4169b6e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 20 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Check links in Markdown files
on:
schedule:
- cron: "0 0 * * 1" # midnight every Monday
push:
branches: [main]
pull_request:
workflow_dispatch:

jobs:
check-links:
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ on:
workflow_dispatch:

jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
name: Check links in markdown files
with:
use-quiet-mode: "yes"
use-verbose-mode: "yes"

test:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Check links in Markdown files
on:
schedule:
- cron: "0 0 * * 1" # midnight every Monday
push:
branches: [main]
pull_request:
workflow_dispatch:

jobs:
check-links:
Expand Down
10 changes: 0 additions & 10 deletions {{ cookiecutter.project_slug }}/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ on:
workflow_dispatch:

jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
name: Check links in markdown files
with:
use-quiet-mode: "yes"
use-verbose-mode: "yes"

test:
runs-on: ${{ matrix.os }}
strategy:
Expand Down

0 comments on commit 4169b6e

Please sign in to comment.