--- 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@3d3c42e5aac5ba805825da76410c181273ba90b1 - name: Run markdown-link-check uses: gaurav-nelson/github-action-markdown-link-check@3c3b66f1f7d0900e37b71eca45b63ea9eedfce31 with: config-file: ".markdownlinkcheck.json" - name: Raise an Issue to report broken links if: ${{ failure() }} uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 with: title: Broken link detected by CI content-filepath: .github/ISSUE_TEMPLATE/broken-link.md labels: automated, broken link