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