Skip to content

Update Image

Update Image #85

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 }}