Merge pull request #1683 from turrisxyz/naveen/feat/set-perms-actions

Set permissions for GitHub actions
This commit is contained in:
Ayaz Salikhov
2022-04-14 16:45:34 +03:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -48,6 +48,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build-test-amd64-images:
name: Build and test amd64 Docker Images

View File

@@ -8,6 +8,9 @@ on:
- master
workflow_dispatch:
permissions:
contents: read
jobs:
run-hooks:
name: Run pre-commit hooks