From c01a4ad103068d54ce83f8fff28905948a66994c Mon Sep 17 00:00:00 2001 From: Pierre Liaubet Date: Tue, 10 Jun 2025 00:00:45 +0200 Subject: [PATCH] Potential fix for code scanning alert no. 2: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 235a14b..cff2053 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,10 @@ name: Docker Build and Deploy +permissions: + contents: read + packages: write + pull-requests: read + on: workflow_dispatch: push: