Skip to content

Commit e57240b

Browse files
authored
fix(ci): fix build-docs.yml's dead workflow reference, add permissions (#179)
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 <jimisola@jimisola.com>
1 parent 2e66a4e commit e57240b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build-docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
paths:
1111
- "docs/**"
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
build:
15-
uses: reqstool/.github/.github/workflows/build-docs.yml@main
18+
uses: reqstool/.github/.github/workflows/common-build-docs.yml@main

0 commit comments

Comments
 (0)