Skip to content

ci(live-ebsi): pin least-privilege GITHUB_TOKEN permissions#138

Merged
luisgf merged 1 commit into
mainfrom
ci/live-ebsi-permissions
Jul 22, 2026
Merged

ci(live-ebsi): pin least-privilege GITHUB_TOKEN permissions#138
luisgf merged 1 commit into
mainfrom
ci/live-ebsi-permissions

Conversation

@luisgf

@luisgf luisgf commented Jul 22, 2026

Copy link
Copy Markdown
Owner

ci(live-ebsi): pin least-privilege GITHUB_TOKEN permissions

CodeQL alert #1 (actions/missing-workflow-permissions): live-ebsi.yml was
the only workflow without an explicit permissions block, so its token
inherited the repository-wide default.

Practical exposure was already low — the repo default is read-only, there
is no pull_request trigger, and the job only checks out, installs and runs
pytest against the live registries without touching the GitHub API. Pinned
anyway because this is the one unattended, scheduled workflow: an explicit
block keeps it read-only regardless of a later change to the default.

CI-only, the published artifact is unchanged: no CHANGELOG entry and no
release (same as #126 / PR #132).

Closes #137

CodeQL alert #1 (actions/missing-workflow-permissions): live-ebsi.yml was
the only workflow without an explicit permissions block, so its token
inherited the repository-wide default.

Practical exposure was already low — the repo default is read-only, there
is no pull_request trigger, and the job only checks out, installs and runs
pytest against the live registries without touching the GitHub API. Pinned
anyway because this is the one unattended, scheduled workflow: an explicit
block keeps it read-only regardless of a later change to the default.

CI-only, the published artifact is unchanged: no CHANGELOG entry and no
release (same as #126 / PR #132).

Closes #137
@luisgf
luisgf merged commit 00f33c8 into main Jul 22, 2026
12 checks passed
@luisgf
luisgf deleted the ci/live-ebsi-permissions branch July 22, 2026 08:35
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.

ci(live-ebsi): pin least-privilege GITHUB_TOKEN permissions (CodeQL alert #1)

1 participant