change permissions for Github Token to read only

This commit is contained in:
Pikachú 2024-02-06 08:00:30 +00:00
Родитель 653bc95f0d
Коммит 667f62aa33
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -14,6 +14,13 @@ jobs:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
permissions:
actions: read
contents: read
deployments: read
packages: none
pull-requests: write
security-events: write
steps:
- uses: actions/checkout@v2
with: