mirror of
https://github.com/pre-commit/action.git
synced 2026-04-07 14:56:54 +00:00
README.md: Promote minimal permissions for security
This commit is contained in:
parent
1b06ec171f
commit
678d71e47e
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,9 @@ template to get started:
|
|||
```yaml
|
||||
name: pre-commit
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue