mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-25 23:50:01 +03:00
build: harden main.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
parent
354ae73ffb
commit
3772150267
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
|
@ -6,6 +6,9 @@ on:
|
|||
- master
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
name: Python ${{ matrix.python-version }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user