Restrict GITHUB_TOKEN permissions to contents: read

The workflow only reads the repository to lint and bundle the OpenAPI
specification. Following the principle of least privilege also silences
the CodeQL missing-workflow-permissions advisory raised on the initial
revision of this PR.
This commit is contained in:
fusagiko / takayamaki
2026-05-10 02:45:54 +00:00
parent 80dccba26c
commit 997f57850c

View File

@@ -1,4 +1,8 @@
name: OpenAPI
permissions:
contents: read
on:
merge_group:
push: