From f438ffb524c54296fe86b0dd0b127496e5c4a184 Mon Sep 17 00:00:00 2001 From: Damyan Yordanov Date: Fri, 8 Mar 2024 15:05:29 +0100 Subject: [PATCH] Fix actions' permissions (#2) --- .github/workflows/publish-docker.yml | 4 ++++ .github/workflows/release-drafter.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index c9c4e04..4a6c8c7 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -11,6 +11,10 @@ on: - v* pull_request: +permissions: + contents: read + packages: write + jobs: publish-docker: runs-on: ubuntu-latest diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 96ed33f..86935ac 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -5,6 +5,10 @@ on: branches: - main +permissions: + contents: write + pull-requests: write + jobs: release-drafter: name: Release Drafter