mirror of
https://github.com/pre-commit/action.git
synced 2026-04-11 16:24:18 +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
|
```yaml
|
||||||
name: pre-commit
|
name: pre-commit
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue