Skip to content

Commit

Permalink
Upgraded to new yml syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav Nelson committed Aug 27, 2019
1 parent 59abf54 commit 33f569d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 18 deletions.
8 changes: 0 additions & 8 deletions .github/main.workflow

This file was deleted.

9 changes: 9 additions & 0 deletions .github/workflows/push.yml
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: ./
27 changes: 17 additions & 10 deletions README.md
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/github-action-markdown-link-check@v0.2.0
```

## Test links

Expand Down

0 comments on commit 33f569d

Please sign in to comment.