Skip to content

[question] clarification on exclude rules #2026

@Borda

Description

@Borda

Hello, I'm hitting a strange (for me as a user) unexpected behaviour. I have a problematic URL that often returns 500, so I placed it in the exlide list in my toml file, but it's still showing up in the report as an error...

verbose = "info"
no_progress = true
include_verbatim = true
retry_wait_time = 3
max_concurrency = 10

exclude = [
    "https://github.com/YOUR_USERNAME/supervision.git",  # hint for forking contributors
    "http://127.0.0.1:8000",  # hint for local docs server
    "https://sam2.metademolab.com/",  # returns 403 Forbidden
    "https://snyk.io/advisor/python/supervision/badge.svg",
]

and GH actions:

      - name: 🔗 Link Checker
        uses: lycheeverse/lychee-action@v2
        with:
          lycheeVersion: v0.22.0
          args: |
            --config .github/lychee.toml
            ${{ secrets.UNIVERSE_RATELIMIT_BYPASS_KEY != '' && format('--header "x-ratelimit-bypass: {0}"', secrets.UNIVERSE_RATELIMIT_BYPASS_KEY) || '--exclude "https://universe.roboflow.com/.*"' }}
            README.md
          fail: true

and the report states

# Summary

| Status         | Count |
|----------------|-------|
| 🔍 Total       | 60    |
| ✅ Successful  | 46    |
| ⏳ Timeouts    | 0     |
| 🔀 Redirected  | 13    |
| 👻 Excluded    | 0     |
| ❓ Unknown     | 0     |
| 🚫 Errors      | 1     |
| ⛔ Unsupported | 0     |

## Errors per input

### Errors in README.md

* [500] <https://snyk.io/advisor/python/supervision/badge.svg> | Rejected status code (this depends on your "accept" configuration): Internal Server Error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions