Skip to content
Myr

[actions] set per-job permissions in the `nvm install` workflow

Before adoption: this commit came in with the history the project adopted, so no landing records it.

CodeQL (actions/missing-workflow-permissions) flagged the matrix, test, and finisher jobs of nvm-install-test.yml for not declaring permissions. Every other test workflow already sets least-privilege permissions per job; add them here to match: `contents: read` for the matrix and test jobs, `contents: none` for the no-op finisher.

authored by Jordan Harband · committed by Jordan Harband · parent c4d9239 · Browse files · 1 file+6 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:.github/workflows/nvm-install-test.yml+6 added