build: harden ci.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex 2022-09-25 18:00:28 +02:00
parent 96bcfea26f
commit 38f0524e88
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
permissions:
contents: read # to fetch code (actions/checkout)
jobs: jobs:
inspect-code: inspect-code:
name: Code Quality name: Code Quality