-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gaurav Nelson
committed
Aug 27, 2019
1 parent
59abf54
commit 33f569d
Showing
3 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
on: push | ||
name: New workflow | ||
jobs: | ||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: markdown-link-check | ||
uses: ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
# GitHub Action - Markdown link check 🔗✔️ | ||
This GitHub action checks all Markdown files in your repository for broken links. (Uses [tcort/markdown-link-check](https://github.com/tcort/markdown-link-check)) | ||
|
||
## Sample workflow | ||
``` | ||
workflow "New workflow" { | ||
on = "push" | ||
resolves = ["markdown-link-check"] | ||
} | ||
## How to use | ||
1. Create a new file in your repository `.github/workflows/action.yml`. | ||
1. Copy-paste the folloing workflow in your `action.yml` file: | ||
|
||
action "markdown-link-check" { | ||
uses = "./" | ||
} | ||
``` | ||
```yml | ||
name: Check Markdown links | ||
|
||
on: push | ||
|
||
jobs: | ||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
with: | ||
fetch-depth: 1 | ||
- uses: gaurav-nelson/[email protected] | ||
``` | ||
## Test links | ||
|