From 9cec67d8d140cc8ae81982947dd9766067e7669d Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Sun, 23 Aug 2026 12:25:07 +0200 Subject: [PATCH] fix(ci): fix build-docs.yml's dead workflow reference, add permissions Two issues in the same file: - It called reqstool/.github/.github/workflows/build-docs.yml, which doesn't exist -- the actual file is common-build-docs.yml, as every other repo in the org already references. This workflow has been failing on every docs-path push or PR since 2026-06-23, unrelated to any recent migration. - CodeQL flagged the missing permissions block (actions/missing-workflow-permissions). common-build-docs.yml itself only requires contents: read, so that's what the caller now grants. Signed-off-by: Jimisola Laursen --- .github/workflows/build-docs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index abb7f9f..675a55b 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -10,6 +10,9 @@ on: paths: - "docs/**" +permissions: + contents: read + jobs: build: - uses: reqstool/.github/.github/workflows/build-docs.yml@main + uses: reqstool/.github/.github/workflows/common-build-docs.yml@main