GitHub Actions: Security hardening (#2882)

This commit is contained in:
Alex
2022-11-18 17:32:05 +02:00
committed by GitHub
parent 36d20a45dd
commit 988ef53972
4 changed files with 12 additions and 0 deletions

View File

@@ -14,6 +14,9 @@ on:
- 'src/pretix/static/**'
- 'src/tests/**'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
spelling:
name: Spellcheck

View File

@@ -12,6 +12,9 @@ on:
- 'doc/**'
- 'src/pretix/locale/**'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
compile:
runs-on: ubuntu-22.04

View File

@@ -12,6 +12,9 @@ on:
- 'src/pretix/locale/**'
- 'src/pretix/static/**'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
isort:
name: isort

View File

@@ -12,6 +12,9 @@ on:
- 'doc/**'
- 'src/pretix/locale/**'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test:
runs-on: ubuntu-22.04