Add CI_PERMISSION sort hook. (#16200)
This commit is contained in:
@@ -75,3 +75,11 @@ repos:
|
||||
args:
|
||||
- '--keep-output'
|
||||
- '--extra-keys=metadata.kernelspec metadata.language_info.version'
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: sort-ci-permissions
|
||||
name: sort CI_PERMISSIONS.json
|
||||
entry: python3 .github/update_ci_permission.py --sort-only
|
||||
language: system
|
||||
files: ^\.github/CI_PERMISSIONS\.json$
|
||||
pass_filenames: false
|
||||
|
||||
Reference in New Issue
Block a user