undo attempted reddit fix, exclude reddit and archive-type links comp… #4
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: check-links | |
on: | |
workflow_dispatch: # allow manual trigger | |
push: | |
branches: | |
- main | |
schedule: | |
# run every 12 hours | |
# * is a special character in YAML so you have to quote this string | |
- cron: '0 */12 * * *' | |
jobs: | |
check-links: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run Broken Links Crawler (landing) | |
uses: ScholliYT/Broken-Links-Crawler-Action@v3 | |
with: | |
website_url: '${{ github.server_url }}/${{ github.repository }}' | |
resolve_before_filtering: 'true' | |
exclude_url_prefix: 'mailto:,https://www.cyber.gov.au,https://cyber.gov.au,https://www.linkedin.com,https://linkedin.com,https://reddit.com,https://old.reddit.com,https://new.reddit.com,https://www.reddit.com,https://x.com,https://www.urbandictionary.com,https://archive.,https://web.archive.org/web/,https://docs.github.com/,https://resources.github.com,https://support.github.com,${{ github.server_url }}' | |
exclude_url_suffix: '.zip,https://avatars.githubusercontent.com,https://github-cloud.s3.amazonaws.com,https://github.githubassets.com,https://github-cloud.s3.amazonaws.com,https://user-images.githubusercontent.com/,https://github.blog,https://www.githubstatus.com/,https://docs.github.com,https://partners.github.com,https://skills.github.com' | |
connect_limit_per_host: 1 | |
verbose: 'true' | |
max_retry_time: 30 | |
max_retries: 5 | |
- name: Run Broken Links Crawler (MISC.md) | |
uses: ScholliYT/Broken-Links-Crawler-Action@v3 | |
with: | |
website_url: '${{ github.server_url }}/${{ github.repository }}/blob/main/MISC.md' | |
resolve_before_filtering: 'true' | |
exclude_url_prefix: 'mailto:,https://www.cyber.gov.au,https://cyber.gov.au,https://www.linkedin.com,https://linkedin.com,https://reddit.com,https://old.reddit.com,https://new.reddit.com,https://www.reddit.com,https://x.com,https://www.urbandictionary.com,https://archive.,https://web.archive.org/web/,https://docs.github.com/,https://resources.github.com,https://support.github.com,${{ github.server_url }}' | |
exclude_url_suffix: '.zip,https://avatars.githubusercontent.com,https://github-cloud.s3.amazonaws.com,https://github.githubassets.com,https://github-cloud.s3.amazonaws.com,https://user-images.githubusercontent.com/,https://github.blog,https://www.githubstatus.com/,https://docs.github.com,https://partners.github.com,https://skills.github.com' | |
connect_limit_per_host: 1 | |
verbose: 'true' | |
max_retry_time: 30 | |
max_retries: 5 | |
- name: Run Broken Links Crawler (SUCCESS.md) | |
uses: ScholliYT/Broken-Links-Crawler-Action@v3 | |
with: | |
website_url: '${{ github.server_url }}/${{ github.repository }}/blob/main/SUCCESS.md' | |
resolve_before_filtering: 'true' | |
exclude_url_prefix: 'mailto:,https://www.cyber.gov.au,https://cyber.gov.au,https://www.linkedin.com,https://linkedin.com,https://reddit.com,https://old.reddit.com,https://new.reddit.com,https://www.reddit.com,https://x.com,https://www.urbandictionary.com,https://archive.,https://web.archive.org/web/,https://docs.github.com/,https://resources.github.com,https://support.github.com,${{ github.server_url }}' | |
exclude_url_suffix: '.zip,https://avatars.githubusercontent.com,https://github-cloud.s3.amazonaws.com,https://github.githubassets.com,https://github-cloud.s3.amazonaws.com,https://user-images.githubusercontent.com/,https://github.blog,https://www.githubstatus.com/,https://docs.github.com,https://partners.github.com,https://skills.github.com' | |
connect_limit_per_host: 1 | |
verbose: 'true' | |
max_retry_time: 30 | |
max_retries: 5 |