Skip to content

Add Detailed Description for Check Broken URLs in CONTRIBUTING.md and Improve Markdown in 01 and 02 #89

Add Detailed Description for Check Broken URLs in CONTRIBUTING.md and Improve Markdown in 01 and 02

Add Detailed Description for Check Broken URLs in CONTRIBUTING.md and Improve Markdown in 01 and 02 #89

name: Validate Documentation Links
on:
pull_request_target:
branches:
- main
paths:
- '**.md'
- '**.ipynb'
push:
branches:
- main
permissions:
contents: read
pull-requests: write
jobs:
check-broken-paths:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Check broken Paths
uses: john0isaac/[email protected]
with:
command: check_broken_paths
directory: ./
guide-url: 'https://github.com/microsoft/Phi-3CookBook/blob/main/CONTRIBUTING.md'
github-token: ${{ secrets.GITHUB_TOKEN }}
check-urls-locale:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Check URLs Country Locale
uses: john0isaac/[email protected]
with:
command: check_urls_locale
directory: ./
guide-url: 'https://github.com/microsoft/Phi-3CookBook/blob/main/CONTRIBUTING.md'
github-token: ${{ secrets.GITHUB_TOKEN }}
check-broken-urls:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Check broken URLs
uses: john0isaac/[email protected]
with:
command: check_broken_urls
directory: ./
guide-url: 'https://github.com/microsoft/Phi-3CookBook/blob/main/CONTRIBUTING.md'
github-token: ${{ secrets.GITHUB_TOKEN }}