diff --git a/.github/workflows/dead-link-checker.yml b/.github/workflows/dead-link-checker.yml index 8c2f8ef48..8f1e2a5f7 100644 --- a/.github/workflows/dead-link-checker.yml +++ b/.github/workflows/dead-link-checker.yml @@ -1,12 +1,18 @@ -on: - pull_request +name: Link checker +on: + pull_request: + branches: [master,dev-*] + push: + branches: [master,dev-*] + schedule: + # Run everyday at 9:00 AM (See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07) + - cron: "0 5 * * *" jobs: CheckDeadLinks: runs-on: ubuntu-latest timeout-minutes: 30 - if: (github.repository == 'WeDataSphere/Visualis') steps: - uses: actions/checkout@v3 - uses: gaurav-nelson/github-action-markdown-link-check@v1 @@ -14,4 +20,7 @@ jobs: use-quiet-mode: 'no' use-verbose-mode: 'yes' folder-path: '../' - config-file: '.github/workflows/dlc.json' \ No newline at end of file + config-file: '.github/workflows/dlc.json' + + +