mirror of
https://github.com/neovim/neovim.git
synced 2026-03-29 11:52:04 +00:00
ci: set default permissions for workflows
The default workflow permissions are overly broad; setting permissions explicitly at the workflow level ensures excessive permissions are not unintentionally granted to jobs. For details, see: https://docs.zizmor.sh/audits/#excessive-permissions
This commit is contained in:
3
.github/workflows/lintcommit_dummy.yml
vendored
3
.github/workflows/lintcommit_dummy.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
branches:
|
||||
- 'release-[0-9]+.[0-9]+'
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
lint-commits:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user