From aa5cee627d4495e34888b6a1e89fdce57c374066 Mon Sep 17 00:00:00 2001 From: arpitjain099 Date: Wed, 13 May 2026 11:37:14 +0000 Subject: [PATCH] ci(linkchecker): declare contents: read lychee uses GITHUB_TOKEN to raise its github.com rate limit; the workflow does not need write access. Signed-off-by: arpitjain099 --- .github/workflows/linkchecker.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/linkchecker.yaml b/.github/workflows/linkchecker.yaml index 904684e..302db83 100644 --- a/.github/workflows/linkchecker.yaml +++ b/.github/workflows/linkchecker.yaml @@ -5,6 +5,11 @@ on: push: pull_request: +# lychee uses GITHUB_TOKEN only to raise its github.com rate limit +# (read-only API calls). +permissions: + contents: read + jobs: linkchecker: runs-on: ubuntu-22.04