mirror of
https://github.com/neovim/neovim.git
synced 2026-04-27 01:34:16 +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:
2
.github/workflows/response.yml
vendored
2
.github/workflows/response.yml
vendored
@@ -5,6 +5,8 @@ on:
|
||||
workflow_dispatch:
|
||||
issue_comment:
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
close:
|
||||
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
|
||||
|
||||
Reference in New Issue
Block a user