mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
31 lines
910 B
YAML
31 lines
910 B
YAML
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT license.
|
|
|
|
name: PowerShell Daily Markdown Link Verification
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
# At 13:00 UTC every day.
|
|
- cron: '0 13 * * *'
|
|
|
|
jobs:
|
|
markdown-link-check:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'PowerShell/PowerShell'
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Check Links
|
|
uses: gaurav-nelson/github-action-markdown-link-check@v1
|
|
with:
|
|
use-quiet-mode: 'yes'
|
|
use-verbose-mode: 'yes'
|
|
config-file: .github/workflows/markdown-link/config.json
|
|
- name: Microsoft Teams Notifier
|
|
uses: skitionek/notify-microsoft-teams@master
|
|
if: failure()
|
|
with:
|
|
webhook_url: ${{ secrets.PS_BUILD_TEAMS_CHANNEL }}
|
|
overwrite: "{title: `Failure in .github/markdownLinkDaily.yml validating links. Look at ${workflow_link}`}"
|