Repository navigation
ci: set read-only token permissions on the check workflow - #38
Merged
Merged
Conversation
check.yml declared no permissions block, which CodeQL flags as actions/missing-workflow-permissions (alerts #1-#5, one per job). The repo default is already read, so this pins that in the file rather than changing behaviour. pull-requests: read covers dorny/paths-filter, which lists a PR's changed files through the API.
CameronBrooks11
added a commit
that referenced
this pull request
Nov 13, 2026
chore: bump version to 0.4.0 Prepares v0.4.0: the version constant becomes 0.4.0, and the CHANGELOG's Unreleased section becomes 0.4.0. User-facing change since v0.3.1: #41 (pull --depth follows --category into subcategories, #21). CI action updates since then: #38, #39, #40. The tag is pushed after this merges.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CodeQL's first run on this repo raised 5 medium
actions/missing-workflow-permissionsalerts (#1-#5), one per job in.github/workflows/check.yml, because the workflow declares nopermissions:block.The repo's default workflow token is already
read(GET repos/CameronBrooks11/wikisync/actions/permissions/workflow→"default_workflow_permissions":"read"), so this pins that in the file rather than changing behaviour.pull-requests: readcoversdorny/paths-filter, which lists a PR's changed files through the API.This PR's own run exercises the
pull_requestpath ofpaths-filterunder the new permissions; the alerts should close on the next CodeQL run after merge.