Add read-all permissions to workflow files

This commit adds "read-all" permissions to golangci-lint, codecov, and sonarqube workflow files. This change ensures that all necessary activities are allowed during the workflow processes.
This commit is contained in:
Winni Neessen 2024-03-17 19:15:34 +01:00
parent eec1b36edc
commit 7ebaf2d2b7
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D
3 changed files with 3 additions and 0 deletions

View file

@ -3,6 +3,7 @@
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
name: Codecov workflow name: Codecov workflow
permissions: read-all
on: on:
push: push:
branches: branches:

View file

@ -3,6 +3,7 @@
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
name: golangci-lint name: golangci-lint
permissions: read-all
on: on:
push: push:
tags: tags:

View file

@ -3,6 +3,7 @@
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
name: SonarQube name: SonarQube
permissions: read-all
on: on:
push: push:
branches: branches: