Periodic #208
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
--- | |
name: Periodic | |
on: | |
schedule: | |
- cron: "0 0 * * 0" | |
permissions: {} | |
jobs: | |
markdown-link-check-periodic: | |
name: Markdown Links (all files) | |
if: github.repository_owner == 'submariner-io' | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: Run markdown-link-check | |
uses: gaurav-nelson/github-action-markdown-link-check@d53a906aa6b22b8979d33bc86170567e619495ec | |
with: | |
config-file: ".markdownlinkcheck.json" | |
- name: Raise an Issue to report broken links | |
if: ${{ failure() }} | |
uses: peter-evans/create-issue-from-file@24452a72d85239eacf1468b0f1982a9f3fec4c94 | |
with: | |
title: Broken link detected by CI | |
content-filepath: .github/ISSUE_TEMPLATE/broken-link.md | |
labels: automated, broken link |