Format: lin_api_ followed by about 40 alphanumeric characters. Verify the exact length against Linear's docs.
How to do it
- Add
("Linear API key", r"\blin_api_[A-Za-z0-9]{40}\b") (or your verified version) to SECRET_PATTERNS in repodx.py.
- Add
"lin_api_" to CANDIDATE_LITERALS.
- Add the key to
SecretScanTests.test_detects_provider_keys in tests/test_repodx.py, built with fake(...) so no literal key is committed.
- Run
python3 -m unittest discover and python3 repodx.py . (must stay 100/100).
Comment here to claim it. One issue per person, so more people can join. See CONTRIBUTING.md. Never paste a real key.
Format:
lin_api_followed by about 40 alphanumeric characters. Verify the exact length against Linear's docs.How to do it
("Linear API key", r"\blin_api_[A-Za-z0-9]{40}\b")(or your verified version) toSECRET_PATTERNSinrepodx.py."lin_api_"toCANDIDATE_LITERALS.SecretScanTests.test_detects_provider_keysintests/test_repodx.py, built withfake(...)so no literal key is committed.python3 -m unittest discoverandpython3 repodx.py .(must stay 100/100).Comment here to claim it. One issue per person, so more people can join. See CONTRIBUTING.md. Never paste a real key.