Skip to content

fix(ci): fix build-docs.yml's dead workflow reference, add permissions - #188

Merged
jimisola merged 1 commit into
mainfrom
fix/codeql-workflow-permissions
Aug 23, 2026
Merged

fix(ci): fix build-docs.yml's dead workflow reference, add permissions#188
jimisola merged 1 commit into
mainfrom
fix/codeql-workflow-permissions

Conversation

@jimisola

Copy link
Copy Markdown
Member

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 (confirmed via run history), 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.

Checklist

  • I have reviewed and followed the contributing guidelines.
  • I have run a local build and made sure all tests pass.
  • I have signed off the DCO (git commit -s).
  • I have read the Code of Conduct and agree to abide by it.

Test plan

YAML validated locally. A push touching docs/** on this branch is the real test — it should now actually run common-build-docs.yml instead of failing immediately on a missing workflow file. CodeQL re-scan on this PR should close the alert.

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>
@jimisola
jimisola merged commit b634f51 into main Aug 23, 2026
11 checks passed
@jimisola
jimisola deleted the fix/codeql-workflow-permissions branch August 23, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant