Merge pull request #2158 from turrisxyz/setup-permissions

Set permissions for GitHub actions
This commit is contained in:
Dirk Wetter 2022-04-24 18:03:10 +02:00 committed by GitHub
commit 4d7357a64e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,9 @@
--- ---
name: Codespell name: Codespell
on: [push, pull_request] on: [push, pull_request]
permissions:
contents: read
jobs: jobs:
codespell: codespell:
name: Check for spelling errors name: Check for spelling errors

View File

@ -12,6 +12,9 @@ env:
BUILD_VERSION: "3.1dev" BUILD_VERSION: "3.1dev"
DOCKER_CLI_EXPERIMENTAL: enabled DOCKER_CLI_EXPERIMENTAL: enabled
permissions:
contents: read
jobs: jobs:
deploy: deploy:

View File

@ -24,6 +24,9 @@ on:
- 'LICENSE' - 'LICENSE'
- 'Dockerfile' - 'Dockerfile'
permissions:
contents: read
jobs: jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}