Skip to content

Commit

Permalink
move linkspector to pr-check-link.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
drink7036290 committed Dec 7, 2024
1 parent 445adaf commit e38c393
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,15 +239,4 @@ jobs:
run: npm install -g markdownlint-cli

- name: Run markdownlint
run: markdownlint '**/*.md' --ignore node_modules

linkspector:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run linkspector
uses: umbrelladocs/action-linkspector@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_on_error: true
run: markdownlint '**/*.md' --ignore node_modules
14 changes: 14 additions & 0 deletions .github/workflows/pr-check-link.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Linkspector
on: [pull_request]
jobs:
check-links:
name: runner / linkspector
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run linkspector
uses: umbrelladocs/action-linkspector@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_on_error: true

0 comments on commit e38c393

Please sign in to comment.