diff --git a/.github/workflows/md-links-periodic.yml b/.github/workflows/md-links-periodic.yml deleted file mode 100644 index 6307884..0000000 --- a/.github/workflows/md-links-periodic.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Markdown Link Checks -on: - schedule: - - cron: "0 0 * * 0" - -jobs: - markdown-link-check-periodic: - runs-on: ubuntu-latest - name: Markdown Link Checks - steps: - - name: Check out code - uses: actions/checkout@v1 - - - name: Run markdown-link-check - uses: gaurav-nelson/github-action-markdown-link-check@v1 - with: - config-file: ".markdownlinkcheck.json" - - - name: Raise an Issue to report broken links - if: ${{ failure() }} - uses: JasonEtco/create-an-issue@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - filename: .github/ISSUE_TEMPLATE/broken-link.md diff --git a/.github/workflows/periodic.yml b/.github/workflows/periodic.yml new file mode 100644 index 0000000..643c86e --- /dev/null +++ b/.github/workflows/periodic.yml @@ -0,0 +1,27 @@ +--- +name: Periodic + +on: + schedule: + - cron: "0 0 * * 0" + +jobs: + markdown-link-check-periodic: + name: Markdown Links (all files) + runs-on: ubuntu-latest + steps: + - name: Check out the repository + uses: actions/checkout@v2 + + - name: Run markdown-link-check + uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + config-file: ".markdownlinkcheck.json" + + - name: Raise an Issue to report broken links + if: ${{ failure() }} + uses: JasonEtco/create-an-issue@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + filename: .github/ISSUE_TEMPLATE/broken-link.md