Skip to content

Commit 52bf19b

Browse files
authored
chore: GH workflow permissions (#897)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent e82393d commit 52bf19b

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ env:
1818
PYTHON_VERSION: "3.12"
1919
POETRY_VERSION: "1.8.1"
2020

21+
permissions: {}
22+
2123
jobs:
2224
test:
2325
name: Build and test docker image

.github/workflows/python.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ env:
4141
TESTS_REPORTS_ARTIFACT: tests-reports
4242
PIPENV_VENV_IN_PROJECT: 1
4343

44+
permissions: {}
45+
4446
jobs:
4547
coding-standards:
4648
name: Linting & Coding Standards

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ env:
4242
PYTHON_VERSION_DEFAULT: "3.12"
4343
POETRY_VERSION: "1.8.1"
4444

45+
permissions: {}
46+
4547
jobs:
4648
quicktest:
4749
runs-on: ubuntu-latest
@@ -160,6 +162,8 @@ jobs:
160162
needs.release-PyPI.outputs.version &&
161163
needs.release-PyPI.outputs.tag
162164
runs-on: ubuntu-latest
165+
permissions:
166+
packages: write
163167
env:
164168
VERSION: ${{ needs.release-PyPI.outputs.version }}
165169
ARTIFACT_DOCKER_SBOM: 'docker-image-bom'

0 commit comments

Comments
 (0)